aws-sdk-networkmanager 1.87.0 → 1.88.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.
@@ -514,6 +514,8 @@ module Aws::NetworkManager
514
514
  # resp.attachment.attachment_policy_rule_number #=> Integer
515
515
  # resp.attachment.segment_name #=> String
516
516
  # resp.attachment.network_function_group_name #=> String
517
+ # resp.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
518
+ # resp.attachment.nat_system_route_support #=> Boolean
517
519
  # resp.attachment.tags #=> Array
518
520
  # resp.attachment.tags[0].key #=> String
519
521
  # resp.attachment.tags[0].value #=> String
@@ -530,7 +532,7 @@ module Aws::NetworkManager
530
532
  # resp.attachment.created_at #=> Time
531
533
  # resp.attachment.updated_at #=> Time
532
534
  # resp.attachment.last_modification_errors #=> Array
533
- # resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
535
+ # resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
534
536
  # resp.attachment.last_modification_errors[0].message #=> String
535
537
  # resp.attachment.last_modification_errors[0].resource_arn #=> String
536
538
  # resp.attachment.last_modification_errors[0].request_id #=> String
@@ -770,6 +772,18 @@ module Aws::NetworkManager
770
772
  # The routing policy label to apply to the Connect attachment for
771
773
  # traffic routing decisions.
772
774
  #
775
+ # @option params [String] :nat_gateway_support
776
+ # Specifies whether to enable NAT gateway support on the Connect
777
+ # attachment. NAT is supported only on Connect attachments that use the
778
+ # GRE tunnel protocol. Tunnel-less Connect attachments aren't
779
+ # supported. To enable NAT gateway support, you must also specify at
780
+ # least one NAT rule. If you don't specify a value, NAT gateway support
781
+ # is disabled. Only the core network owner can configure NAT on an
782
+ # attachment.
783
+ #
784
+ # @option params [Array<Types::NatRuleRequest>] :nat_gateway_rules
785
+ # The NAT rules for the Connect attachment, up to 50 rules.
786
+ #
773
787
  # @option params [required, Types::ConnectAttachmentOptions] :options
774
788
  # Options for creating an attachment.
775
789
  #
@@ -793,6 +807,14 @@ module Aws::NetworkManager
793
807
  # edge_location: "ExternalRegionCode", # required
794
808
  # transport_attachment_id: "AttachmentId", # required
795
809
  # routing_policy_label: "ConstrainedString",
810
+ # nat_gateway_support: "ENABLE", # accepts ENABLE, DISABLE
811
+ # nat_gateway_rules: [
812
+ # {
813
+ # rule_number: 1, # required
814
+ # match_source_cidr: "IPAddress", # required
815
+ # nat_cidr: "IPAddress", # required
816
+ # },
817
+ # ],
796
818
  # options: { # required
797
819
  # protocol: "GRE", # accepts GRE, NO_ENCAP
798
820
  # },
@@ -820,6 +842,8 @@ module Aws::NetworkManager
820
842
  # resp.connect_attachment.attachment.attachment_policy_rule_number #=> Integer
821
843
  # resp.connect_attachment.attachment.segment_name #=> String
822
844
  # resp.connect_attachment.attachment.network_function_group_name #=> String
845
+ # resp.connect_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
846
+ # resp.connect_attachment.attachment.nat_system_route_support #=> Boolean
823
847
  # resp.connect_attachment.attachment.tags #=> Array
824
848
  # resp.connect_attachment.attachment.tags[0].key #=> String
825
849
  # resp.connect_attachment.attachment.tags[0].value #=> String
@@ -836,7 +860,7 @@ module Aws::NetworkManager
836
860
  # resp.connect_attachment.attachment.created_at #=> Time
837
861
  # resp.connect_attachment.attachment.updated_at #=> Time
838
862
  # resp.connect_attachment.attachment.last_modification_errors #=> Array
839
- # resp.connect_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
863
+ # resp.connect_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
840
864
  # resp.connect_attachment.attachment.last_modification_errors[0].message #=> String
841
865
  # resp.connect_attachment.attachment.last_modification_errors[0].resource_arn #=> String
842
866
  # resp.connect_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -934,7 +958,7 @@ module Aws::NetworkManager
934
958
  # resp.connect_peer.tags[0].value #=> String
935
959
  # resp.connect_peer.subnet_arn #=> String
936
960
  # resp.connect_peer.last_modification_errors #=> Array
937
- # resp.connect_peer.last_modification_errors[0].code #=> String, one of "EDGE_LOCATION_NO_FREE_IPS", "EDGE_LOCATION_PEER_DUPLICATE", "SUBNET_NOT_FOUND", "IP_OUTSIDE_SUBNET_CIDR_RANGE", "INVALID_INSIDE_CIDR_BLOCK", "NO_ASSOCIATED_CIDR_BLOCK"
961
+ # resp.connect_peer.last_modification_errors[0].code #=> String, one of "EDGE_LOCATION_NO_FREE_IPS", "EDGE_LOCATION_PEER_DUPLICATE", "SUBNET_NOT_FOUND", "IP_OUTSIDE_SUBNET_CIDR_RANGE", "INVALID_INSIDE_CIDR_BLOCK", "NO_ASSOCIATED_CIDR_BLOCK", "CREATION_FAILED", "DELETION_FAILED"
938
962
  # resp.connect_peer.last_modification_errors[0].message #=> String
939
963
  # resp.connect_peer.last_modification_errors[0].resource_arn #=> String
940
964
  # resp.connect_peer.last_modification_errors[0].request_id #=> String
@@ -1273,6 +1297,23 @@ module Aws::NetworkManager
1273
1297
  # One or more core network edge locations that the Direct Connect
1274
1298
  # gateway attachment is associated with.
1275
1299
  #
1300
+ # @option params [String] :nat_gateway_support
1301
+ # Specifies whether to enable NAT gateway support on the Direct Connect
1302
+ # gateway attachment. To enable NAT gateway support, you must also
1303
+ # specify at least one NAT rule. If you don't specify a value, NAT
1304
+ # gateway support is disabled. Only the core network owner can configure
1305
+ # NAT on an attachment.
1306
+ #
1307
+ # @option params [Boolean] :nat_system_route_support
1308
+ # Specifies whether the core network installs system routes for the NAT
1309
+ # CIDR blocks of the attachment's NAT rules. System routes have a route
1310
+ # type of `SYSTEM`. NAT is applied to traffic whether or not this option
1311
+ # is enabled. The default is `true`.
1312
+ #
1313
+ # @option params [Array<Types::NatRuleRequest>] :nat_gateway_rules
1314
+ # The NAT rules for the Direct Connect gateway attachment, up to 50
1315
+ # rules.
1316
+ #
1276
1317
  # @option params [Array<Types::Tag>] :tags
1277
1318
  # The key value tags to apply to the Direct Connect gateway attachment
1278
1319
  # during creation.
@@ -1294,6 +1335,15 @@ module Aws::NetworkManager
1294
1335
  # direct_connect_gateway_arn: "DirectConnectGatewayArn", # required
1295
1336
  # routing_policy_label: "ConstrainedString",
1296
1337
  # edge_locations: ["ExternalRegionCode"], # required
1338
+ # nat_gateway_support: "ENABLE", # accepts ENABLE, DISABLE
1339
+ # nat_system_route_support: false,
1340
+ # nat_gateway_rules: [
1341
+ # {
1342
+ # rule_number: 1, # required
1343
+ # match_source_cidr: "IPAddress", # required
1344
+ # nat_cidr: "IPAddress", # required
1345
+ # },
1346
+ # ],
1297
1347
  # tags: [
1298
1348
  # {
1299
1349
  # key: "TagKey",
@@ -1318,6 +1368,8 @@ module Aws::NetworkManager
1318
1368
  # resp.direct_connect_gateway_attachment.attachment.attachment_policy_rule_number #=> Integer
1319
1369
  # resp.direct_connect_gateway_attachment.attachment.segment_name #=> String
1320
1370
  # resp.direct_connect_gateway_attachment.attachment.network_function_group_name #=> String
1371
+ # resp.direct_connect_gateway_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
1372
+ # resp.direct_connect_gateway_attachment.attachment.nat_system_route_support #=> Boolean
1321
1373
  # resp.direct_connect_gateway_attachment.attachment.tags #=> Array
1322
1374
  # resp.direct_connect_gateway_attachment.attachment.tags[0].key #=> String
1323
1375
  # resp.direct_connect_gateway_attachment.attachment.tags[0].value #=> String
@@ -1334,7 +1386,7 @@ module Aws::NetworkManager
1334
1386
  # resp.direct_connect_gateway_attachment.attachment.created_at #=> Time
1335
1387
  # resp.direct_connect_gateway_attachment.attachment.updated_at #=> Time
1336
1388
  # resp.direct_connect_gateway_attachment.attachment.last_modification_errors #=> Array
1337
- # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
1389
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
1338
1390
  # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].message #=> String
1339
1391
  # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].resource_arn #=> String
1340
1392
  # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -1560,6 +1612,25 @@ module Aws::NetworkManager
1560
1612
  # The routing policy label to apply to the Site-to-Site VPN attachment
1561
1613
  # for traffic routing decisions.
1562
1614
  #
1615
+ # @option params [String] :nat_gateway_support
1616
+ # Specifies whether to enable NAT gateway support on the Site-to-Site
1617
+ # VPN attachment. To enable NAT gateway support, you must also specify
1618
+ # at least one NAT rule. If you don't specify a value, NAT gateway
1619
+ # support is disabled. Only the core network owner can configure NAT on
1620
+ # an attachment.
1621
+ #
1622
+ # @option params [Boolean] :nat_system_route_support
1623
+ # Specifies whether the core network installs system routes for the NAT
1624
+ # CIDR blocks of the attachment's NAT rules. System routes have a route
1625
+ # type of `SYSTEM`. NAT is applied to traffic whether or not this option
1626
+ # is enabled. The default is `true` for VPN connections that use BGP and
1627
+ # `false` for VPN connections that use static routing. If the VPN
1628
+ # connection uses static routing, you must specify `false` or omit this
1629
+ # parameter.
1630
+ #
1631
+ # @option params [Array<Types::NatRuleRequest>] :nat_gateway_rules
1632
+ # The NAT rules for the Site-to-Site VPN attachment, up to 50 rules.
1633
+ #
1563
1634
  # @option params [Array<Types::Tag>] :tags
1564
1635
  # The tags associated with the request.
1565
1636
  #
@@ -1579,6 +1650,15 @@ module Aws::NetworkManager
1579
1650
  # core_network_id: "CoreNetworkId", # required
1580
1651
  # vpn_connection_arn: "VpnConnectionArn", # required
1581
1652
  # routing_policy_label: "ConstrainedString",
1653
+ # nat_gateway_support: "ENABLE", # accepts ENABLE, DISABLE
1654
+ # nat_system_route_support: false,
1655
+ # nat_gateway_rules: [
1656
+ # {
1657
+ # rule_number: 1, # required
1658
+ # match_source_cidr: "IPAddress", # required
1659
+ # nat_cidr: "IPAddress", # required
1660
+ # },
1661
+ # ],
1582
1662
  # tags: [
1583
1663
  # {
1584
1664
  # key: "TagKey",
@@ -1603,6 +1683,8 @@ module Aws::NetworkManager
1603
1683
  # resp.site_to_site_vpn_attachment.attachment.attachment_policy_rule_number #=> Integer
1604
1684
  # resp.site_to_site_vpn_attachment.attachment.segment_name #=> String
1605
1685
  # resp.site_to_site_vpn_attachment.attachment.network_function_group_name #=> String
1686
+ # resp.site_to_site_vpn_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
1687
+ # resp.site_to_site_vpn_attachment.attachment.nat_system_route_support #=> Boolean
1606
1688
  # resp.site_to_site_vpn_attachment.attachment.tags #=> Array
1607
1689
  # resp.site_to_site_vpn_attachment.attachment.tags[0].key #=> String
1608
1690
  # resp.site_to_site_vpn_attachment.attachment.tags[0].value #=> String
@@ -1619,7 +1701,7 @@ module Aws::NetworkManager
1619
1701
  # resp.site_to_site_vpn_attachment.attachment.created_at #=> Time
1620
1702
  # resp.site_to_site_vpn_attachment.attachment.updated_at #=> Time
1621
1703
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors #=> Array
1622
- # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
1704
+ # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
1623
1705
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].message #=> String
1624
1706
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].resource_arn #=> String
1625
1707
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -1684,7 +1766,7 @@ module Aws::NetworkManager
1684
1766
  # resp.transit_gateway_peering.peering.tags[0].value #=> String
1685
1767
  # resp.transit_gateway_peering.peering.created_at #=> Time
1686
1768
  # resp.transit_gateway_peering.peering.last_modification_errors #=> Array
1687
- # resp.transit_gateway_peering.peering.last_modification_errors[0].code #=> String, one of "TRANSIT_GATEWAY_NOT_FOUND", "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", "MISSING_PERMISSIONS", "INTERNAL_ERROR", "EDGE_LOCATION_PEER_DUPLICATE", "INVALID_TRANSIT_GATEWAY_STATE"
1769
+ # resp.transit_gateway_peering.peering.last_modification_errors[0].code #=> String, one of "TRANSIT_GATEWAY_NOT_FOUND", "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", "MISSING_PERMISSIONS", "INTERNAL_ERROR", "EDGE_LOCATION_PEER_DUPLICATE", "INVALID_TRANSIT_GATEWAY_STATE", "TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED", "CREATION_FAILED", "DELETION_FAILED"
1688
1770
  # resp.transit_gateway_peering.peering.last_modification_errors[0].message #=> String
1689
1771
  # resp.transit_gateway_peering.peering.last_modification_errors[0].resource_arn #=> String
1690
1772
  # resp.transit_gateway_peering.peering.last_modification_errors[0].request_id #=> String
@@ -1758,6 +1840,8 @@ module Aws::NetworkManager
1758
1840
  # resp.transit_gateway_route_table_attachment.attachment.attachment_policy_rule_number #=> Integer
1759
1841
  # resp.transit_gateway_route_table_attachment.attachment.segment_name #=> String
1760
1842
  # resp.transit_gateway_route_table_attachment.attachment.network_function_group_name #=> String
1843
+ # resp.transit_gateway_route_table_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
1844
+ # resp.transit_gateway_route_table_attachment.attachment.nat_system_route_support #=> Boolean
1761
1845
  # resp.transit_gateway_route_table_attachment.attachment.tags #=> Array
1762
1846
  # resp.transit_gateway_route_table_attachment.attachment.tags[0].key #=> String
1763
1847
  # resp.transit_gateway_route_table_attachment.attachment.tags[0].value #=> String
@@ -1774,7 +1858,7 @@ module Aws::NetworkManager
1774
1858
  # resp.transit_gateway_route_table_attachment.attachment.created_at #=> Time
1775
1859
  # resp.transit_gateway_route_table_attachment.attachment.updated_at #=> Time
1776
1860
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors #=> Array
1777
- # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
1861
+ # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
1778
1862
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].message #=> String
1779
1863
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].resource_arn #=> String
1780
1864
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -1808,6 +1892,15 @@ module Aws::NetworkManager
1808
1892
  # The routing policy label to apply to the VPC attachment for traffic
1809
1893
  # routing decisions.
1810
1894
  #
1895
+ # @option params [String] :nat_gateway_support
1896
+ # Specifies whether to enable NAT gateway support on the VPC attachment.
1897
+ # To enable NAT gateway support, you must also specify at least one NAT
1898
+ # rule. If you don't specify a value, NAT gateway support is disabled.
1899
+ # Only the core network owner can configure NAT on an attachment.
1900
+ #
1901
+ # @option params [Array<Types::NatRuleRequest>] :nat_gateway_rules
1902
+ # The NAT rules for the VPC attachment, up to 50 rules.
1903
+ #
1811
1904
  # @option params [Array<Types::Tag>] :tags
1812
1905
  # The key-value tags associated with the request.
1813
1906
  #
@@ -1834,6 +1927,14 @@ module Aws::NetworkManager
1834
1927
  # security_group_referencing_support: false,
1835
1928
  # },
1836
1929
  # routing_policy_label: "ConstrainedString",
1930
+ # nat_gateway_support: "ENABLE", # accepts ENABLE, DISABLE
1931
+ # nat_gateway_rules: [
1932
+ # {
1933
+ # rule_number: 1, # required
1934
+ # match_source_cidr: "IPAddress", # required
1935
+ # nat_cidr: "IPAddress", # required
1936
+ # },
1937
+ # ],
1837
1938
  # tags: [
1838
1939
  # {
1839
1940
  # key: "TagKey",
@@ -1858,6 +1959,8 @@ module Aws::NetworkManager
1858
1959
  # resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
1859
1960
  # resp.vpc_attachment.attachment.segment_name #=> String
1860
1961
  # resp.vpc_attachment.attachment.network_function_group_name #=> String
1962
+ # resp.vpc_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
1963
+ # resp.vpc_attachment.attachment.nat_system_route_support #=> Boolean
1861
1964
  # resp.vpc_attachment.attachment.tags #=> Array
1862
1965
  # resp.vpc_attachment.attachment.tags[0].key #=> String
1863
1966
  # resp.vpc_attachment.attachment.tags[0].value #=> String
@@ -1874,7 +1977,7 @@ module Aws::NetworkManager
1874
1977
  # resp.vpc_attachment.attachment.created_at #=> Time
1875
1978
  # resp.vpc_attachment.attachment.updated_at #=> Time
1876
1979
  # resp.vpc_attachment.attachment.last_modification_errors #=> Array
1877
- # resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
1980
+ # resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
1878
1981
  # resp.vpc_attachment.attachment.last_modification_errors[0].message #=> String
1879
1982
  # resp.vpc_attachment.attachment.last_modification_errors[0].resource_arn #=> String
1880
1983
  # resp.vpc_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -1924,6 +2027,8 @@ module Aws::NetworkManager
1924
2027
  # resp.attachment.attachment_policy_rule_number #=> Integer
1925
2028
  # resp.attachment.segment_name #=> String
1926
2029
  # resp.attachment.network_function_group_name #=> String
2030
+ # resp.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
2031
+ # resp.attachment.nat_system_route_support #=> Boolean
1927
2032
  # resp.attachment.tags #=> Array
1928
2033
  # resp.attachment.tags[0].key #=> String
1929
2034
  # resp.attachment.tags[0].value #=> String
@@ -1940,7 +2045,7 @@ module Aws::NetworkManager
1940
2045
  # resp.attachment.created_at #=> Time
1941
2046
  # resp.attachment.updated_at #=> Time
1942
2047
  # resp.attachment.last_modification_errors #=> Array
1943
- # resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
2048
+ # resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
1944
2049
  # resp.attachment.last_modification_errors[0].message #=> String
1945
2050
  # resp.attachment.last_modification_errors[0].resource_arn #=> String
1946
2051
  # resp.attachment.last_modification_errors[0].request_id #=> String
@@ -1992,7 +2097,7 @@ module Aws::NetworkManager
1992
2097
  # resp.connect_peer.tags[0].value #=> String
1993
2098
  # resp.connect_peer.subnet_arn #=> String
1994
2099
  # resp.connect_peer.last_modification_errors #=> Array
1995
- # resp.connect_peer.last_modification_errors[0].code #=> String, one of "EDGE_LOCATION_NO_FREE_IPS", "EDGE_LOCATION_PEER_DUPLICATE", "SUBNET_NOT_FOUND", "IP_OUTSIDE_SUBNET_CIDR_RANGE", "INVALID_INSIDE_CIDR_BLOCK", "NO_ASSOCIATED_CIDR_BLOCK"
2100
+ # resp.connect_peer.last_modification_errors[0].code #=> String, one of "EDGE_LOCATION_NO_FREE_IPS", "EDGE_LOCATION_PEER_DUPLICATE", "SUBNET_NOT_FOUND", "IP_OUTSIDE_SUBNET_CIDR_RANGE", "INVALID_INSIDE_CIDR_BLOCK", "NO_ASSOCIATED_CIDR_BLOCK", "CREATION_FAILED", "DELETION_FAILED"
1996
2101
  # resp.connect_peer.last_modification_errors[0].message #=> String
1997
2102
  # resp.connect_peer.last_modification_errors[0].resource_arn #=> String
1998
2103
  # resp.connect_peer.last_modification_errors[0].request_id #=> String
@@ -2348,7 +2453,7 @@ module Aws::NetworkManager
2348
2453
  # resp.peering.tags[0].value #=> String
2349
2454
  # resp.peering.created_at #=> Time
2350
2455
  # resp.peering.last_modification_errors #=> Array
2351
- # resp.peering.last_modification_errors[0].code #=> String, one of "TRANSIT_GATEWAY_NOT_FOUND", "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", "MISSING_PERMISSIONS", "INTERNAL_ERROR", "EDGE_LOCATION_PEER_DUPLICATE", "INVALID_TRANSIT_GATEWAY_STATE"
2456
+ # resp.peering.last_modification_errors[0].code #=> String, one of "TRANSIT_GATEWAY_NOT_FOUND", "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", "MISSING_PERMISSIONS", "INTERNAL_ERROR", "EDGE_LOCATION_PEER_DUPLICATE", "INVALID_TRANSIT_GATEWAY_STATE", "TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED", "CREATION_FAILED", "DELETION_FAILED"
2352
2457
  # resp.peering.last_modification_errors[0].message #=> String
2353
2458
  # resp.peering.last_modification_errors[0].resource_arn #=> String
2354
2459
  # resp.peering.last_modification_errors[0].request_id #=> String
@@ -2724,6 +2829,8 @@ module Aws::NetworkManager
2724
2829
  # resp.connect_attachment.attachment.attachment_policy_rule_number #=> Integer
2725
2830
  # resp.connect_attachment.attachment.segment_name #=> String
2726
2831
  # resp.connect_attachment.attachment.network_function_group_name #=> String
2832
+ # resp.connect_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
2833
+ # resp.connect_attachment.attachment.nat_system_route_support #=> Boolean
2727
2834
  # resp.connect_attachment.attachment.tags #=> Array
2728
2835
  # resp.connect_attachment.attachment.tags[0].key #=> String
2729
2836
  # resp.connect_attachment.attachment.tags[0].value #=> String
@@ -2740,7 +2847,7 @@ module Aws::NetworkManager
2740
2847
  # resp.connect_attachment.attachment.created_at #=> Time
2741
2848
  # resp.connect_attachment.attachment.updated_at #=> Time
2742
2849
  # resp.connect_attachment.attachment.last_modification_errors #=> Array
2743
- # resp.connect_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
2850
+ # resp.connect_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
2744
2851
  # resp.connect_attachment.attachment.last_modification_errors[0].message #=> String
2745
2852
  # resp.connect_attachment.attachment.last_modification_errors[0].resource_arn #=> String
2746
2853
  # resp.connect_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -2794,7 +2901,7 @@ module Aws::NetworkManager
2794
2901
  # resp.connect_peer.tags[0].value #=> String
2795
2902
  # resp.connect_peer.subnet_arn #=> String
2796
2903
  # resp.connect_peer.last_modification_errors #=> Array
2797
- # resp.connect_peer.last_modification_errors[0].code #=> String, one of "EDGE_LOCATION_NO_FREE_IPS", "EDGE_LOCATION_PEER_DUPLICATE", "SUBNET_NOT_FOUND", "IP_OUTSIDE_SUBNET_CIDR_RANGE", "INVALID_INSIDE_CIDR_BLOCK", "NO_ASSOCIATED_CIDR_BLOCK"
2904
+ # resp.connect_peer.last_modification_errors[0].code #=> String, one of "EDGE_LOCATION_NO_FREE_IPS", "EDGE_LOCATION_PEER_DUPLICATE", "SUBNET_NOT_FOUND", "IP_OUTSIDE_SUBNET_CIDR_RANGE", "INVALID_INSIDE_CIDR_BLOCK", "NO_ASSOCIATED_CIDR_BLOCK", "CREATION_FAILED", "DELETION_FAILED"
2798
2905
  # resp.connect_peer.last_modification_errors[0].message #=> String
2799
2906
  # resp.connect_peer.last_modification_errors[0].resource_arn #=> String
2800
2907
  # resp.connect_peer.last_modification_errors[0].request_id #=> String
@@ -3354,6 +3461,8 @@ module Aws::NetworkManager
3354
3461
  # resp.direct_connect_gateway_attachment.attachment.attachment_policy_rule_number #=> Integer
3355
3462
  # resp.direct_connect_gateway_attachment.attachment.segment_name #=> String
3356
3463
  # resp.direct_connect_gateway_attachment.attachment.network_function_group_name #=> String
3464
+ # resp.direct_connect_gateway_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
3465
+ # resp.direct_connect_gateway_attachment.attachment.nat_system_route_support #=> Boolean
3357
3466
  # resp.direct_connect_gateway_attachment.attachment.tags #=> Array
3358
3467
  # resp.direct_connect_gateway_attachment.attachment.tags[0].key #=> String
3359
3468
  # resp.direct_connect_gateway_attachment.attachment.tags[0].value #=> String
@@ -3370,7 +3479,7 @@ module Aws::NetworkManager
3370
3479
  # resp.direct_connect_gateway_attachment.attachment.created_at #=> Time
3371
3480
  # resp.direct_connect_gateway_attachment.attachment.updated_at #=> Time
3372
3481
  # resp.direct_connect_gateway_attachment.attachment.last_modification_errors #=> Array
3373
- # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
3482
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
3374
3483
  # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].message #=> String
3375
3484
  # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].resource_arn #=> String
3376
3485
  # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -3864,13 +3973,23 @@ module Aws::NetworkManager
3864
3973
  # Filter by route table destination. Possible Values:
3865
3974
  # TRANSIT\_GATEWAY\_ATTACHMENT\_ID, RESOURCE\_ID, or RESOURCE\_TYPE.
3866
3975
  #
3976
+ # @option params [Integer] :max_results
3977
+ # The maximum number of results to return.
3978
+ #
3979
+ # @option params [String] :next_token
3980
+ # The token for the next page of results.
3981
+ #
3867
3982
  # @return [Types::GetNetworkRoutesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3868
3983
  #
3869
3984
  # * {Types::GetNetworkRoutesResponse#route_table_arn #route_table_arn} => String
3870
3985
  # * {Types::GetNetworkRoutesResponse#core_network_segment_edge #core_network_segment_edge} => Types::CoreNetworkSegmentEdgeIdentifier
3986
+ # * {Types::GetNetworkRoutesResponse#core_network_network_function_group #core_network_network_function_group} => Types::CoreNetworkNetworkFunctionGroupIdentifier
3871
3987
  # * {Types::GetNetworkRoutesResponse#route_table_type #route_table_type} => String
3872
3988
  # * {Types::GetNetworkRoutesResponse#route_table_timestamp #route_table_timestamp} => Time
3873
3989
  # * {Types::GetNetworkRoutesResponse#network_routes #network_routes} => Array&lt;Types::NetworkRoute&gt;
3990
+ # * {Types::GetNetworkRoutesResponse#next_token #next_token} => String
3991
+ #
3992
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3874
3993
  #
3875
3994
  # @example Request syntax with placeholder values
3876
3995
  #
@@ -3895,10 +4014,12 @@ module Aws::NetworkManager
3895
4014
  # supernet_of_matches: ["ConstrainedString"],
3896
4015
  # prefix_list_ids: ["ConstrainedString"],
3897
4016
  # states: ["ACTIVE"], # accepts ACTIVE, BLACKHOLE
3898
- # types: ["PROPAGATED"], # accepts PROPAGATED, STATIC
4017
+ # types: ["PROPAGATED"], # accepts PROPAGATED, STATIC, SYSTEM
3899
4018
  # destination_filters: {
3900
4019
  # "FilterName" => ["FilterValue"],
3901
4020
  # },
4021
+ # max_results: 1,
4022
+ # next_token: "NextToken",
3902
4023
  # })
3903
4024
  #
3904
4025
  # @example Response structure
@@ -3907,6 +4028,9 @@ module Aws::NetworkManager
3907
4028
  # resp.core_network_segment_edge.core_network_id #=> String
3908
4029
  # resp.core_network_segment_edge.segment_name #=> String
3909
4030
  # resp.core_network_segment_edge.edge_location #=> String
4031
+ # resp.core_network_network_function_group.core_network_id #=> String
4032
+ # resp.core_network_network_function_group.network_function_group_name #=> String
4033
+ # resp.core_network_network_function_group.edge_location #=> String
3910
4034
  # resp.route_table_type #=> String, one of "TRANSIT_GATEWAY_ROUTE_TABLE", "CORE_NETWORK_SEGMENT", "NETWORK_FUNCTION_GROUP"
3911
4035
  # resp.route_table_timestamp #=> Time
3912
4036
  # resp.network_routes #=> Array
@@ -3921,7 +4045,8 @@ module Aws::NetworkManager
3921
4045
  # resp.network_routes[0].destinations[0].resource_id #=> String
3922
4046
  # resp.network_routes[0].prefix_list_id #=> String
3923
4047
  # resp.network_routes[0].state #=> String, one of "ACTIVE", "BLACKHOLE"
3924
- # resp.network_routes[0].type #=> String, one of "PROPAGATED", "STATIC"
4048
+ # resp.network_routes[0].type #=> String, one of "PROPAGATED", "STATIC", "SYSTEM"
4049
+ # resp.next_token #=> String
3925
4050
  #
3926
4051
  # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkRoutes AWS API Documentation
3927
4052
  #
@@ -4141,6 +4266,8 @@ module Aws::NetworkManager
4141
4266
  # resp.site_to_site_vpn_attachment.attachment.attachment_policy_rule_number #=> Integer
4142
4267
  # resp.site_to_site_vpn_attachment.attachment.segment_name #=> String
4143
4268
  # resp.site_to_site_vpn_attachment.attachment.network_function_group_name #=> String
4269
+ # resp.site_to_site_vpn_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
4270
+ # resp.site_to_site_vpn_attachment.attachment.nat_system_route_support #=> Boolean
4144
4271
  # resp.site_to_site_vpn_attachment.attachment.tags #=> Array
4145
4272
  # resp.site_to_site_vpn_attachment.attachment.tags[0].key #=> String
4146
4273
  # resp.site_to_site_vpn_attachment.attachment.tags[0].value #=> String
@@ -4157,7 +4284,7 @@ module Aws::NetworkManager
4157
4284
  # resp.site_to_site_vpn_attachment.attachment.created_at #=> Time
4158
4285
  # resp.site_to_site_vpn_attachment.attachment.updated_at #=> Time
4159
4286
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors #=> Array
4160
- # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
4287
+ # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
4161
4288
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].message #=> String
4162
4289
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].resource_arn #=> String
4163
4290
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -4308,7 +4435,7 @@ module Aws::NetworkManager
4308
4435
  # resp.transit_gateway_peering.peering.tags[0].value #=> String
4309
4436
  # resp.transit_gateway_peering.peering.created_at #=> Time
4310
4437
  # resp.transit_gateway_peering.peering.last_modification_errors #=> Array
4311
- # resp.transit_gateway_peering.peering.last_modification_errors[0].code #=> String, one of "TRANSIT_GATEWAY_NOT_FOUND", "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", "MISSING_PERMISSIONS", "INTERNAL_ERROR", "EDGE_LOCATION_PEER_DUPLICATE", "INVALID_TRANSIT_GATEWAY_STATE"
4438
+ # resp.transit_gateway_peering.peering.last_modification_errors[0].code #=> String, one of "TRANSIT_GATEWAY_NOT_FOUND", "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", "MISSING_PERMISSIONS", "INTERNAL_ERROR", "EDGE_LOCATION_PEER_DUPLICATE", "INVALID_TRANSIT_GATEWAY_STATE", "TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED", "CREATION_FAILED", "DELETION_FAILED"
4312
4439
  # resp.transit_gateway_peering.peering.last_modification_errors[0].message #=> String
4313
4440
  # resp.transit_gateway_peering.peering.last_modification_errors[0].resource_arn #=> String
4314
4441
  # resp.transit_gateway_peering.peering.last_modification_errors[0].request_id #=> String
@@ -4405,6 +4532,8 @@ module Aws::NetworkManager
4405
4532
  # resp.transit_gateway_route_table_attachment.attachment.attachment_policy_rule_number #=> Integer
4406
4533
  # resp.transit_gateway_route_table_attachment.attachment.segment_name #=> String
4407
4534
  # resp.transit_gateway_route_table_attachment.attachment.network_function_group_name #=> String
4535
+ # resp.transit_gateway_route_table_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
4536
+ # resp.transit_gateway_route_table_attachment.attachment.nat_system_route_support #=> Boolean
4408
4537
  # resp.transit_gateway_route_table_attachment.attachment.tags #=> Array
4409
4538
  # resp.transit_gateway_route_table_attachment.attachment.tags[0].key #=> String
4410
4539
  # resp.transit_gateway_route_table_attachment.attachment.tags[0].value #=> String
@@ -4421,7 +4550,7 @@ module Aws::NetworkManager
4421
4550
  # resp.transit_gateway_route_table_attachment.attachment.created_at #=> Time
4422
4551
  # resp.transit_gateway_route_table_attachment.attachment.updated_at #=> Time
4423
4552
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors #=> Array
4424
- # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
4553
+ # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
4425
4554
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].message #=> String
4426
4555
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].resource_arn #=> String
4427
4556
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -4467,6 +4596,8 @@ module Aws::NetworkManager
4467
4596
  # resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
4468
4597
  # resp.vpc_attachment.attachment.segment_name #=> String
4469
4598
  # resp.vpc_attachment.attachment.network_function_group_name #=> String
4599
+ # resp.vpc_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
4600
+ # resp.vpc_attachment.attachment.nat_system_route_support #=> Boolean
4470
4601
  # resp.vpc_attachment.attachment.tags #=> Array
4471
4602
  # resp.vpc_attachment.attachment.tags[0].key #=> String
4472
4603
  # resp.vpc_attachment.attachment.tags[0].value #=> String
@@ -4483,7 +4614,7 @@ module Aws::NetworkManager
4483
4614
  # resp.vpc_attachment.attachment.created_at #=> Time
4484
4615
  # resp.vpc_attachment.attachment.updated_at #=> Time
4485
4616
  # resp.vpc_attachment.attachment.last_modification_errors #=> Array
4486
- # resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
4617
+ # resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
4487
4618
  # resp.vpc_attachment.attachment.last_modification_errors[0].message #=> String
4488
4619
  # resp.vpc_attachment.attachment.last_modification_errors[0].resource_arn #=> String
4489
4620
  # resp.vpc_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -4503,6 +4634,88 @@ module Aws::NetworkManager
4503
4634
  req.send_request(options)
4504
4635
  end
4505
4636
 
4637
+ # Returns the NAT configurations of core network attachments. You must
4638
+ # specify either a core network ID or an attachment ID. Only the core
4639
+ # network owner can list NAT configurations.
4640
+ #
4641
+ # @option params [String] :core_network_id
4642
+ # The ID of a core network. Returns the NAT configurations of
4643
+ # attachments in the core network that support NAT.
4644
+ #
4645
+ # @option params [String] :attachment_id
4646
+ # The ID of an attachment. Returns the NAT configuration of the
4647
+ # specified attachment. If you specify both an attachment ID and a core
4648
+ # network ID, the attachment ID is used.
4649
+ #
4650
+ # @option params [Hash<String,Array>] :filters
4651
+ # The filters to apply to the results. Values for the same filter are
4652
+ # joined with OR, and different filters are joined with AND. You can
4653
+ # specify up to 10 filter values in total. The following filters are
4654
+ # supported:
4655
+ #
4656
+ # * `nat-gateway-support`: The state of NAT gateway support on the
4657
+ # attachment, for example `ENABLED`.
4658
+ #
4659
+ # * `nat-system-route-support`: Whether system routes are installed for
4660
+ # the attachment, `true` or `false`.
4661
+ #
4662
+ # * `rule-number`: The rule number of a NAT rule.
4663
+ #
4664
+ # * `match-source-cidr`: The source CIDR block of a NAT rule. The value
4665
+ # must exactly match the CIDR block of the rule.
4666
+ #
4667
+ # * `nat-cidr`: The NAT CIDR block of a NAT rule. The value must exactly
4668
+ # match the CIDR block of the rule.
4669
+ #
4670
+ # * `nat-rule-state`: The state of a NAT rule, for example `ACTIVATED`.
4671
+ #
4672
+ # @option params [Integer] :max_results
4673
+ # The maximum number of results to return.
4674
+ #
4675
+ # @option params [String] :next_token
4676
+ # The token for the next page of results.
4677
+ #
4678
+ # @return [Types::ListAttachmentNatConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4679
+ #
4680
+ # * {Types::ListAttachmentNatConfigurationsResponse#attachment_nat_configurations #attachment_nat_configurations} => Array&lt;Types::AttachmentNatConfiguration&gt;
4681
+ # * {Types::ListAttachmentNatConfigurationsResponse#next_token #next_token} => String
4682
+ #
4683
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4684
+ #
4685
+ # @example Request syntax with placeholder values
4686
+ #
4687
+ # resp = client.list_attachment_nat_configurations({
4688
+ # core_network_id: "CoreNetworkId",
4689
+ # attachment_id: "AttachmentId",
4690
+ # filters: {
4691
+ # "FilterName" => ["FilterValue"],
4692
+ # },
4693
+ # max_results: 1,
4694
+ # next_token: "NextToken",
4695
+ # })
4696
+ #
4697
+ # @example Response structure
4698
+ #
4699
+ # resp.attachment_nat_configurations #=> Array
4700
+ # resp.attachment_nat_configurations[0].attachment_id #=> String
4701
+ # resp.attachment_nat_configurations[0].nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
4702
+ # resp.attachment_nat_configurations[0].nat_system_route_support #=> Boolean
4703
+ # resp.attachment_nat_configurations[0].nat_gateway_rules #=> Array
4704
+ # resp.attachment_nat_configurations[0].nat_gateway_rules[0].rule_number #=> Integer
4705
+ # resp.attachment_nat_configurations[0].nat_gateway_rules[0].match_source_cidr #=> String
4706
+ # resp.attachment_nat_configurations[0].nat_gateway_rules[0].nat_cidr #=> String
4707
+ # resp.attachment_nat_configurations[0].nat_gateway_rules[0].state #=> String, one of "CREATING", "MODIFYING", "DELETING", "ACTIVATED", "ACTIVATING", "DEACTIVATED", "DEACTIVATING", "FAILED", "PENDING_ATTACHMENT_ACCEPTANCE"
4708
+ # resp.next_token #=> String
4709
+ #
4710
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListAttachmentNatConfigurations AWS API Documentation
4711
+ #
4712
+ # @overload list_attachment_nat_configurations(params = {})
4713
+ # @param [Hash] params ({})
4714
+ def list_attachment_nat_configurations(params = {}, options = {})
4715
+ req = build_request(:list_attachment_nat_configurations, params)
4716
+ req.send_request(options)
4717
+ end
4718
+
4506
4719
  # Lists the routing policy associations for attachments in a core
4507
4720
  # network.
4508
4721
  #
@@ -4610,6 +4823,8 @@ module Aws::NetworkManager
4610
4823
  # resp.attachments[0].attachment_policy_rule_number #=> Integer
4611
4824
  # resp.attachments[0].segment_name #=> String
4612
4825
  # resp.attachments[0].network_function_group_name #=> String
4826
+ # resp.attachments[0].nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
4827
+ # resp.attachments[0].nat_system_route_support #=> Boolean
4613
4828
  # resp.attachments[0].tags #=> Array
4614
4829
  # resp.attachments[0].tags[0].key #=> String
4615
4830
  # resp.attachments[0].tags[0].value #=> String
@@ -4626,7 +4841,7 @@ module Aws::NetworkManager
4626
4841
  # resp.attachments[0].created_at #=> Time
4627
4842
  # resp.attachments[0].updated_at #=> Time
4628
4843
  # resp.attachments[0].last_modification_errors #=> Array
4629
- # resp.attachments[0].last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
4844
+ # resp.attachments[0].last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
4630
4845
  # resp.attachments[0].last_modification_errors[0].message #=> String
4631
4846
  # resp.attachments[0].last_modification_errors[0].resource_arn #=> String
4632
4847
  # resp.attachments[0].last_modification_errors[0].request_id #=> String
@@ -4801,7 +5016,49 @@ module Aws::NetworkManager
4801
5016
  # The edge location to filter routing information by.
4802
5017
  #
4803
5018
  # @option params [Hash<String,Array>] :next_hop_filters
4804
- # Filters to apply based on next hop information.
5019
+ # Filters to apply based on next hop information. Each filter value must
5020
+ # exactly match the corresponding next hop value. Values for the same
5021
+ # filter are joined with OR, and different filters are joined with AND.
5022
+ # The following filters are supported:
5023
+ #
5024
+ # * `core-network-attachment-id`: The ID of the core network attachment
5025
+ # for the next hop, for example `attachment-0123456789abcdef0`.
5026
+ #
5027
+ # * `segment-name`: The name of the segment for the next hop.
5028
+ #
5029
+ # * `edge-location`: The edge location for the next hop, for example
5030
+ # `us-east-1`.
5031
+ #
5032
+ # * `resource-id`: The ID of the resource for the next hop.
5033
+ #
5034
+ # * `resource-type`: The type of resource for the next hop. The possible
5035
+ # values are `vpc`, `vpn`, `connect-peer`, `direct-connect-gateway`,
5036
+ # `transit-gateway-route-table`, `attachment`, and `blackhole`.
5037
+ #
5038
+ # * `ip-address`: The IP address of the next hop. For a Site-to-Site VPN
5039
+ # next hop, this is the outside IP address of the AWS side of the VPN
5040
+ # tunnel. For a Connect peer next hop, this is the core network BGP
5041
+ # address of the Connect peer. The value must be a single IPv4 or IPv6
5042
+ # address.
5043
+ #
5044
+ # You can specify up to 10 filter values in total across
5045
+ # `NextHopFilters` and the other match parameters in the request. Each
5046
+ # filter value can be up to 256 characters.
5047
+ #
5048
+ # @option params [Array<String>] :exact_prefix_matches
5049
+ # Exact prefix values to match when filtering routing information.
5050
+ #
5051
+ # @option params [Array<String>] :longest_prefix_matches
5052
+ # Filters routing information based on the longest prefix that matches
5053
+ # each provided IP address.
5054
+ #
5055
+ # @option params [Array<String>] :subnet_of_matches
5056
+ # Prefix values to filter routing information whose prefix is a subnet
5057
+ # of the prefixes provided.
5058
+ #
5059
+ # @option params [Array<String>] :supernet_of_matches
5060
+ # Prefix values to filter routing information whose prefix is a supernet
5061
+ # of the prefixes provided.
4805
5062
  #
4806
5063
  # @option params [Array<String>] :local_preference_matches
4807
5064
  # Local preference values to match when filtering routing information.
@@ -4839,6 +5096,10 @@ module Aws::NetworkManager
4839
5096
  # next_hop_filters: {
4840
5097
  # "FilterName" => ["FilterValue"],
4841
5098
  # },
5099
+ # exact_prefix_matches: ["ConstrainedString"],
5100
+ # longest_prefix_matches: ["ConstrainedString"],
5101
+ # subnet_of_matches: ["ConstrainedString"],
5102
+ # supernet_of_matches: ["ConstrainedString"],
4842
5103
  # local_preference_matches: ["ConstrainedString"],
4843
5104
  # exact_as_path_matches: ["ConstrainedString"],
4844
5105
  # med_matches: ["ConstrainedString"],
@@ -5013,7 +5274,7 @@ module Aws::NetworkManager
5013
5274
  # resp.peerings[0].tags[0].value #=> String
5014
5275
  # resp.peerings[0].created_at #=> Time
5015
5276
  # resp.peerings[0].last_modification_errors #=> Array
5016
- # resp.peerings[0].last_modification_errors[0].code #=> String, one of "TRANSIT_GATEWAY_NOT_FOUND", "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", "MISSING_PERMISSIONS", "INTERNAL_ERROR", "EDGE_LOCATION_PEER_DUPLICATE", "INVALID_TRANSIT_GATEWAY_STATE"
5277
+ # resp.peerings[0].last_modification_errors[0].code #=> String, one of "TRANSIT_GATEWAY_NOT_FOUND", "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", "MISSING_PERMISSIONS", "INTERNAL_ERROR", "EDGE_LOCATION_PEER_DUPLICATE", "INVALID_TRANSIT_GATEWAY_STATE", "TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED", "CREATION_FAILED", "DELETION_FAILED"
5017
5278
  # resp.peerings[0].last_modification_errors[0].message #=> String
5018
5279
  # resp.peerings[0].last_modification_errors[0].resource_arn #=> String
5019
5280
  # resp.peerings[0].last_modification_errors[0].request_id #=> String
@@ -5277,6 +5538,8 @@ module Aws::NetworkManager
5277
5538
  # resp.attachment.attachment_policy_rule_number #=> Integer
5278
5539
  # resp.attachment.segment_name #=> String
5279
5540
  # resp.attachment.network_function_group_name #=> String
5541
+ # resp.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
5542
+ # resp.attachment.nat_system_route_support #=> Boolean
5280
5543
  # resp.attachment.tags #=> Array
5281
5544
  # resp.attachment.tags[0].key #=> String
5282
5545
  # resp.attachment.tags[0].value #=> String
@@ -5293,7 +5556,7 @@ module Aws::NetworkManager
5293
5556
  # resp.attachment.created_at #=> Time
5294
5557
  # resp.attachment.updated_at #=> Time
5295
5558
  # resp.attachment.last_modification_errors #=> Array
5296
- # resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
5559
+ # resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
5297
5560
  # resp.attachment.last_modification_errors[0].message #=> String
5298
5561
  # resp.attachment.last_modification_errors[0].resource_arn #=> String
5299
5562
  # resp.attachment.last_modification_errors[0].request_id #=> String
@@ -5574,6 +5837,96 @@ module Aws::NetworkManager
5574
5837
  req.send_request(options)
5575
5838
  end
5576
5839
 
5840
+ # Updates the NAT configuration of a core network attachment. You can
5841
+ # enable or disable NAT gateway support, specify whether the core
5842
+ # network installs system routes for the NAT CIDR blocks, and replace
5843
+ # the NAT rules of the attachment. Specify at least one of
5844
+ # `NatGatewaySupport`, `NatSystemRouteSupport`, or `NatGatewayRules`.
5845
+ #
5846
+ # Only the core network owner can update the NAT configuration of an
5847
+ # attachment. The attachment must be in the `AVAILABLE`,
5848
+ # `PENDING_ATTACHMENT_ACCEPTANCE`, or `PENDING_TAG_ACCEPTANCE` state.
5849
+ # Changes are applied asynchronously, and the attachment is in the
5850
+ # `UPDATING` state while they are applied. If the attachment is pending
5851
+ # acceptance, the NAT configuration is stored and is applied after the
5852
+ # attachment is accepted.
5853
+ #
5854
+ # @option params [required, String] :attachment_id
5855
+ # The ID of the attachment to update the NAT configuration for.
5856
+ #
5857
+ # @option params [String] :nat_gateway_support
5858
+ # Specifies whether to enable or disable NAT gateway support on the
5859
+ # attachment. When you disable NAT gateway support, the attachment keeps
5860
+ # its NAT rules but doesn't apply them. To enable NAT gateway support,
5861
+ # the attachment must have at least one NAT rule, either specified in
5862
+ # this request or already configured on the attachment. If you omit this
5863
+ # parameter, NAT gateway support is unchanged.
5864
+ #
5865
+ # @option params [Boolean] :nat_system_route_support
5866
+ # Specifies whether the core network installs system routes for the NAT
5867
+ # CIDR blocks of the attachment's NAT rules. System routes have a route
5868
+ # type of `SYSTEM`. NAT is applied to traffic whether or not this option
5869
+ # is enabled. If you omit this parameter, the current value is
5870
+ # unchanged.
5871
+ #
5872
+ # @option params [Array<Types::NatRuleRequest>] :nat_gateway_rules
5873
+ # The complete set of NAT rules for the attachment, up to 50 rules. The
5874
+ # rules that you specify replace the existing rules of the attachment,
5875
+ # matched by rule number. Existing rules that aren't included in the
5876
+ # request are deleted. To delete all NAT rules, specify an empty list.
5877
+ # You can delete all NAT rules only when NAT gateway support is
5878
+ # disabled, or when you disable it in the same request. If you omit this
5879
+ # parameter, the existing rules are unchanged.
5880
+ #
5881
+ # @option params [String] :client_token
5882
+ # The client token associated with the request.
5883
+ #
5884
+ # **A suitable default value is auto-generated.** You should normally
5885
+ # not need to pass this option.**
5886
+ #
5887
+ # @return [Types::UpdateAttachmentNatConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5888
+ #
5889
+ # * {Types::UpdateAttachmentNatConfigurationResponse#attachment_id #attachment_id} => String
5890
+ # * {Types::UpdateAttachmentNatConfigurationResponse#nat_gateway_support #nat_gateway_support} => String
5891
+ # * {Types::UpdateAttachmentNatConfigurationResponse#nat_system_route_support #nat_system_route_support} => Boolean
5892
+ # * {Types::UpdateAttachmentNatConfigurationResponse#nat_gateway_rules #nat_gateway_rules} => Array&lt;Types::NatRule&gt;
5893
+ #
5894
+ # @example Request syntax with placeholder values
5895
+ #
5896
+ # resp = client.update_attachment_nat_configuration({
5897
+ # attachment_id: "AttachmentId", # required
5898
+ # nat_gateway_support: "ENABLE", # accepts ENABLE, DISABLE
5899
+ # nat_system_route_support: false,
5900
+ # nat_gateway_rules: [
5901
+ # {
5902
+ # rule_number: 1, # required
5903
+ # match_source_cidr: "IPAddress", # required
5904
+ # nat_cidr: "IPAddress", # required
5905
+ # },
5906
+ # ],
5907
+ # client_token: "ClientToken",
5908
+ # })
5909
+ #
5910
+ # @example Response structure
5911
+ #
5912
+ # resp.attachment_id #=> String
5913
+ # resp.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
5914
+ # resp.nat_system_route_support #=> Boolean
5915
+ # resp.nat_gateway_rules #=> Array
5916
+ # resp.nat_gateway_rules[0].rule_number #=> Integer
5917
+ # resp.nat_gateway_rules[0].match_source_cidr #=> String
5918
+ # resp.nat_gateway_rules[0].nat_cidr #=> String
5919
+ # resp.nat_gateway_rules[0].state #=> String, one of "CREATING", "MODIFYING", "DELETING", "ACTIVATED", "ACTIVATING", "DEACTIVATED", "DEACTIVATING", "FAILED", "PENDING_ATTACHMENT_ACCEPTANCE"
5920
+ #
5921
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateAttachmentNatConfiguration AWS API Documentation
5922
+ #
5923
+ # @overload update_attachment_nat_configuration(params = {})
5924
+ # @param [Hash] params ({})
5925
+ def update_attachment_nat_configuration(params = {}, options = {})
5926
+ req = build_request(:update_attachment_nat_configuration, params)
5927
+ req.send_request(options)
5928
+ end
5929
+
5577
5930
  # Updates the information for an existing connection. To remove
5578
5931
  # information for any of the parameters, specify an empty string.
5579
5932
  #
@@ -5830,6 +6183,8 @@ module Aws::NetworkManager
5830
6183
  # resp.direct_connect_gateway_attachment.attachment.attachment_policy_rule_number #=> Integer
5831
6184
  # resp.direct_connect_gateway_attachment.attachment.segment_name #=> String
5832
6185
  # resp.direct_connect_gateway_attachment.attachment.network_function_group_name #=> String
6186
+ # resp.direct_connect_gateway_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
6187
+ # resp.direct_connect_gateway_attachment.attachment.nat_system_route_support #=> Boolean
5833
6188
  # resp.direct_connect_gateway_attachment.attachment.tags #=> Array
5834
6189
  # resp.direct_connect_gateway_attachment.attachment.tags[0].key #=> String
5835
6190
  # resp.direct_connect_gateway_attachment.attachment.tags[0].value #=> String
@@ -5846,7 +6201,7 @@ module Aws::NetworkManager
5846
6201
  # resp.direct_connect_gateway_attachment.attachment.created_at #=> Time
5847
6202
  # resp.direct_connect_gateway_attachment.attachment.updated_at #=> Time
5848
6203
  # resp.direct_connect_gateway_attachment.attachment.last_modification_errors #=> Array
5849
- # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
6204
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
5850
6205
  # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].message #=> String
5851
6206
  # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].resource_arn #=> String
5852
6207
  # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -6126,6 +6481,8 @@ module Aws::NetworkManager
6126
6481
  # resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
6127
6482
  # resp.vpc_attachment.attachment.segment_name #=> String
6128
6483
  # resp.vpc_attachment.attachment.network_function_group_name #=> String
6484
+ # resp.vpc_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
6485
+ # resp.vpc_attachment.attachment.nat_system_route_support #=> Boolean
6129
6486
  # resp.vpc_attachment.attachment.tags #=> Array
6130
6487
  # resp.vpc_attachment.attachment.tags[0].key #=> String
6131
6488
  # resp.vpc_attachment.attachment.tags[0].value #=> String
@@ -6142,7 +6499,7 @@ module Aws::NetworkManager
6142
6499
  # resp.vpc_attachment.attachment.created_at #=> Time
6143
6500
  # resp.vpc_attachment.attachment.updated_at #=> Time
6144
6501
  # resp.vpc_attachment.attachment.last_modification_errors #=> Array
6145
- # resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPC_UNSUPPORTED_FEATURES"
6502
+ # resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
6146
6503
  # resp.vpc_attachment.attachment.last_modification_errors[0].message #=> String
6147
6504
  # resp.vpc_attachment.attachment.last_modification_errors[0].resource_arn #=> String
6148
6505
  # resp.vpc_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -6180,7 +6537,7 @@ module Aws::NetworkManager
6180
6537
  tracer: tracer
6181
6538
  )
6182
6539
  context[:gem_name] = 'aws-sdk-networkmanager'
6183
- context[:gem_version] = '1.87.0'
6540
+ context[:gem_version] = '1.88.0'
6184
6541
  Seahorse::Client::Request.new(handlers, context)
6185
6542
  end
6186
6543