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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-networkmanager/client.rb +384 -27
- data/lib/aws-sdk-networkmanager/client_api.rb +122 -0
- data/lib/aws-sdk-networkmanager/types.rb +455 -10
- data/lib/aws-sdk-networkmanager.rb +1 -1
- data/sig/client.rbs +82 -2
- data/sig/types.rbs +80 -5
- metadata +1 -1
|
@@ -293,6 +293,19 @@ module Aws::NetworkManager
|
|
|
293
293
|
# The name of the network function group.
|
|
294
294
|
# @return [String]
|
|
295
295
|
#
|
|
296
|
+
# @!attribute [rw] nat_gateway_support
|
|
297
|
+
# The state of NAT gateway support on the attachment. This is returned
|
|
298
|
+
# only to the core network owner for attachment types that support
|
|
299
|
+
# NAT.
|
|
300
|
+
# @return [String]
|
|
301
|
+
#
|
|
302
|
+
# @!attribute [rw] nat_system_route_support
|
|
303
|
+
# Indicates whether the core network installs system routes for the
|
|
304
|
+
# NAT CIDR blocks of the attachment's NAT rules. This is returned
|
|
305
|
+
# only to the core network owner for attachment types that support
|
|
306
|
+
# NAT.
|
|
307
|
+
# @return [Boolean]
|
|
308
|
+
#
|
|
296
309
|
# @!attribute [rw] tags
|
|
297
310
|
# The tags associated with the attachment.
|
|
298
311
|
# @return [Array<Types::Tag>]
|
|
@@ -333,6 +346,8 @@ module Aws::NetworkManager
|
|
|
333
346
|
:attachment_policy_rule_number,
|
|
334
347
|
:segment_name,
|
|
335
348
|
:network_function_group_name,
|
|
349
|
+
:nat_gateway_support,
|
|
350
|
+
:nat_system_route_support,
|
|
336
351
|
:tags,
|
|
337
352
|
:proposed_segment_change,
|
|
338
353
|
:proposed_network_function_group_change,
|
|
@@ -372,6 +387,36 @@ module Aws::NetworkManager
|
|
|
372
387
|
include Aws::Structure
|
|
373
388
|
end
|
|
374
389
|
|
|
390
|
+
# Describes the NAT configuration of a core network attachment.
|
|
391
|
+
#
|
|
392
|
+
# @!attribute [rw] attachment_id
|
|
393
|
+
# The ID of the attachment.
|
|
394
|
+
# @return [String]
|
|
395
|
+
#
|
|
396
|
+
# @!attribute [rw] nat_gateway_support
|
|
397
|
+
# The state of NAT gateway support on the attachment.
|
|
398
|
+
# @return [String]
|
|
399
|
+
#
|
|
400
|
+
# @!attribute [rw] nat_system_route_support
|
|
401
|
+
# Indicates whether the core network installs system routes for the
|
|
402
|
+
# NAT CIDR blocks of the attachment's NAT rules.
|
|
403
|
+
# @return [Boolean]
|
|
404
|
+
#
|
|
405
|
+
# @!attribute [rw] nat_gateway_rules
|
|
406
|
+
# The NAT rules of the attachment.
|
|
407
|
+
# @return [Array<Types::NatRule>]
|
|
408
|
+
#
|
|
409
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AttachmentNatConfiguration AWS API Documentation
|
|
410
|
+
#
|
|
411
|
+
class AttachmentNatConfiguration < Struct.new(
|
|
412
|
+
:attachment_id,
|
|
413
|
+
:nat_gateway_support,
|
|
414
|
+
:nat_system_route_support,
|
|
415
|
+
:nat_gateway_rules)
|
|
416
|
+
SENSITIVE = []
|
|
417
|
+
include Aws::Structure
|
|
418
|
+
end
|
|
419
|
+
|
|
375
420
|
# Summary information about routing policy associations for an
|
|
376
421
|
# attachment.
|
|
377
422
|
#
|
|
@@ -997,8 +1042,8 @@ module Aws::NetworkManager
|
|
|
997
1042
|
# @return [String]
|
|
998
1043
|
#
|
|
999
1044
|
# @!attribute [rw] routing_policy_association_details
|
|
1000
|
-
# The names of the routing policies and other association details in
|
|
1001
|
-
#
|
|
1045
|
+
# The names of the routing policies and other association details in a
|
|
1046
|
+
# core network change event.
|
|
1002
1047
|
# @return [Array<Types::RoutingPolicyAssociationDetail>]
|
|
1003
1048
|
#
|
|
1004
1049
|
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CoreNetworkChangeEventValues AWS API Documentation
|
|
@@ -1071,8 +1116,8 @@ module Aws::NetworkManager
|
|
|
1071
1116
|
# @return [Boolean]
|
|
1072
1117
|
#
|
|
1073
1118
|
# @!attribute [rw] routing_policy_direction
|
|
1074
|
-
# The routing policy direction (inbound/outbound) in
|
|
1075
|
-
# change
|
|
1119
|
+
# The routing policy direction (inbound/outbound) in the core network
|
|
1120
|
+
# change values.
|
|
1076
1121
|
# @return [String]
|
|
1077
1122
|
#
|
|
1078
1123
|
# @!attribute [rw] routing_policy
|
|
@@ -1471,6 +1516,20 @@ module Aws::NetworkManager
|
|
|
1471
1516
|
# traffic routing decisions.
|
|
1472
1517
|
# @return [String]
|
|
1473
1518
|
#
|
|
1519
|
+
# @!attribute [rw] nat_gateway_support
|
|
1520
|
+
# Specifies whether to enable NAT gateway support on the Connect
|
|
1521
|
+
# attachment. NAT is supported only on Connect attachments that use
|
|
1522
|
+
# the GRE tunnel protocol. Tunnel-less Connect attachments aren't
|
|
1523
|
+
# supported. To enable NAT gateway support, you must also specify at
|
|
1524
|
+
# least one NAT rule. If you don't specify a value, NAT gateway
|
|
1525
|
+
# support is disabled. Only the core network owner can configure NAT
|
|
1526
|
+
# on an attachment.
|
|
1527
|
+
# @return [String]
|
|
1528
|
+
#
|
|
1529
|
+
# @!attribute [rw] nat_gateway_rules
|
|
1530
|
+
# The NAT rules for the Connect attachment, up to 50 rules.
|
|
1531
|
+
# @return [Array<Types::NatRuleRequest>]
|
|
1532
|
+
#
|
|
1474
1533
|
# @!attribute [rw] options
|
|
1475
1534
|
# Options for creating an attachment.
|
|
1476
1535
|
# @return [Types::ConnectAttachmentOptions]
|
|
@@ -1493,6 +1552,8 @@ module Aws::NetworkManager
|
|
|
1493
1552
|
:edge_location,
|
|
1494
1553
|
:transport_attachment_id,
|
|
1495
1554
|
:routing_policy_label,
|
|
1555
|
+
:nat_gateway_support,
|
|
1556
|
+
:nat_gateway_rules,
|
|
1496
1557
|
:options,
|
|
1497
1558
|
:tags,
|
|
1498
1559
|
:client_token)
|
|
@@ -1831,6 +1892,26 @@ module Aws::NetworkManager
|
|
|
1831
1892
|
# gateway attachment is associated with.
|
|
1832
1893
|
# @return [Array<String>]
|
|
1833
1894
|
#
|
|
1895
|
+
# @!attribute [rw] nat_gateway_support
|
|
1896
|
+
# Specifies whether to enable NAT gateway support on the Direct
|
|
1897
|
+
# Connect gateway attachment. To enable NAT gateway support, you must
|
|
1898
|
+
# also specify at least one NAT rule. If you don't specify a value,
|
|
1899
|
+
# NAT gateway support is disabled. Only the core network owner can
|
|
1900
|
+
# configure NAT on an attachment.
|
|
1901
|
+
# @return [String]
|
|
1902
|
+
#
|
|
1903
|
+
# @!attribute [rw] nat_system_route_support
|
|
1904
|
+
# Specifies whether the core network installs system routes for the
|
|
1905
|
+
# NAT CIDR blocks of the attachment's NAT rules. System routes have a
|
|
1906
|
+
# route type of `SYSTEM`. NAT is applied to traffic whether or not
|
|
1907
|
+
# this option is enabled. The default is `true`.
|
|
1908
|
+
# @return [Boolean]
|
|
1909
|
+
#
|
|
1910
|
+
# @!attribute [rw] nat_gateway_rules
|
|
1911
|
+
# The NAT rules for the Direct Connect gateway attachment, up to 50
|
|
1912
|
+
# rules.
|
|
1913
|
+
# @return [Array<Types::NatRuleRequest>]
|
|
1914
|
+
#
|
|
1834
1915
|
# @!attribute [rw] tags
|
|
1835
1916
|
# The key value tags to apply to the Direct Connect gateway attachment
|
|
1836
1917
|
# during creation.
|
|
@@ -1850,6 +1931,9 @@ module Aws::NetworkManager
|
|
|
1850
1931
|
:direct_connect_gateway_arn,
|
|
1851
1932
|
:routing_policy_label,
|
|
1852
1933
|
:edge_locations,
|
|
1934
|
+
:nat_gateway_support,
|
|
1935
|
+
:nat_system_route_support,
|
|
1936
|
+
:nat_gateway_rules,
|
|
1853
1937
|
:tags,
|
|
1854
1938
|
:client_token)
|
|
1855
1939
|
SENSITIVE = []
|
|
@@ -2025,6 +2109,28 @@ module Aws::NetworkManager
|
|
|
2025
2109
|
# for traffic routing decisions.
|
|
2026
2110
|
# @return [String]
|
|
2027
2111
|
#
|
|
2112
|
+
# @!attribute [rw] nat_gateway_support
|
|
2113
|
+
# Specifies whether to enable NAT gateway support on the Site-to-Site
|
|
2114
|
+
# VPN attachment. To enable NAT gateway support, you must also specify
|
|
2115
|
+
# at least one NAT rule. If you don't specify a value, NAT gateway
|
|
2116
|
+
# support is disabled. Only the core network owner can configure NAT
|
|
2117
|
+
# on an attachment.
|
|
2118
|
+
# @return [String]
|
|
2119
|
+
#
|
|
2120
|
+
# @!attribute [rw] nat_system_route_support
|
|
2121
|
+
# Specifies whether the core network installs system routes for the
|
|
2122
|
+
# NAT CIDR blocks of the attachment's NAT rules. System routes have a
|
|
2123
|
+
# route type of `SYSTEM`. NAT is applied to traffic whether or not
|
|
2124
|
+
# this option is enabled. The default is `true` for VPN connections
|
|
2125
|
+
# that use BGP and `false` for VPN connections that use static
|
|
2126
|
+
# routing. If the VPN connection uses static routing, you must specify
|
|
2127
|
+
# `false` or omit this parameter.
|
|
2128
|
+
# @return [Boolean]
|
|
2129
|
+
#
|
|
2130
|
+
# @!attribute [rw] nat_gateway_rules
|
|
2131
|
+
# The NAT rules for the Site-to-Site VPN attachment, up to 50 rules.
|
|
2132
|
+
# @return [Array<Types::NatRuleRequest>]
|
|
2133
|
+
#
|
|
2028
2134
|
# @!attribute [rw] tags
|
|
2029
2135
|
# The tags associated with the request.
|
|
2030
2136
|
# @return [Array<Types::Tag>]
|
|
@@ -2042,6 +2148,9 @@ module Aws::NetworkManager
|
|
|
2042
2148
|
:core_network_id,
|
|
2043
2149
|
:vpn_connection_arn,
|
|
2044
2150
|
:routing_policy_label,
|
|
2151
|
+
:nat_gateway_support,
|
|
2152
|
+
:nat_system_route_support,
|
|
2153
|
+
:nat_gateway_rules,
|
|
2045
2154
|
:tags,
|
|
2046
2155
|
:client_token)
|
|
2047
2156
|
SENSITIVE = []
|
|
@@ -2175,6 +2284,18 @@ module Aws::NetworkManager
|
|
|
2175
2284
|
# routing decisions.
|
|
2176
2285
|
# @return [String]
|
|
2177
2286
|
#
|
|
2287
|
+
# @!attribute [rw] nat_gateway_support
|
|
2288
|
+
# Specifies whether to enable NAT gateway support on the VPC
|
|
2289
|
+
# attachment. To enable NAT gateway support, you must also specify at
|
|
2290
|
+
# least one NAT rule. If you don't specify a value, NAT gateway
|
|
2291
|
+
# support is disabled. Only the core network owner can configure NAT
|
|
2292
|
+
# on an attachment.
|
|
2293
|
+
# @return [String]
|
|
2294
|
+
#
|
|
2295
|
+
# @!attribute [rw] nat_gateway_rules
|
|
2296
|
+
# The NAT rules for the VPC attachment, up to 50 rules.
|
|
2297
|
+
# @return [Array<Types::NatRuleRequest>]
|
|
2298
|
+
#
|
|
2178
2299
|
# @!attribute [rw] tags
|
|
2179
2300
|
# The key-value tags associated with the request.
|
|
2180
2301
|
# @return [Array<Types::Tag>]
|
|
@@ -2194,6 +2315,8 @@ module Aws::NetworkManager
|
|
|
2194
2315
|
:subnet_arns,
|
|
2195
2316
|
:options,
|
|
2196
2317
|
:routing_policy_label,
|
|
2318
|
+
:nat_gateway_support,
|
|
2319
|
+
:nat_gateway_rules,
|
|
2197
2320
|
:tags,
|
|
2198
2321
|
:client_token)
|
|
2199
2322
|
SENSITIVE = []
|
|
@@ -3751,6 +3874,14 @@ module Aws::NetworkManager
|
|
|
3751
3874
|
# TRANSIT\_GATEWAY\_ATTACHMENT\_ID, RESOURCE\_ID, or RESOURCE\_TYPE.
|
|
3752
3875
|
# @return [Hash<String,Array<String>>]
|
|
3753
3876
|
#
|
|
3877
|
+
# @!attribute [rw] max_results
|
|
3878
|
+
# The maximum number of results to return.
|
|
3879
|
+
# @return [Integer]
|
|
3880
|
+
#
|
|
3881
|
+
# @!attribute [rw] next_token
|
|
3882
|
+
# The token for the next page of results.
|
|
3883
|
+
# @return [String]
|
|
3884
|
+
#
|
|
3754
3885
|
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkRoutesRequest AWS API Documentation
|
|
3755
3886
|
#
|
|
3756
3887
|
class GetNetworkRoutesRequest < Struct.new(
|
|
@@ -3763,7 +3894,9 @@ module Aws::NetworkManager
|
|
|
3763
3894
|
:prefix_list_ids,
|
|
3764
3895
|
:states,
|
|
3765
3896
|
:types,
|
|
3766
|
-
:destination_filters
|
|
3897
|
+
:destination_filters,
|
|
3898
|
+
:max_results,
|
|
3899
|
+
:next_token)
|
|
3767
3900
|
SENSITIVE = []
|
|
3768
3901
|
include Aws::Structure
|
|
3769
3902
|
end
|
|
@@ -3776,6 +3909,12 @@ module Aws::NetworkManager
|
|
|
3776
3909
|
# Describes a core network segment edge.
|
|
3777
3910
|
# @return [Types::CoreNetworkSegmentEdgeIdentifier]
|
|
3778
3911
|
#
|
|
3912
|
+
# @!attribute [rw] core_network_network_function_group
|
|
3913
|
+
# Describes the network function group route table that the routes are
|
|
3914
|
+
# from. This field is present only when you specify
|
|
3915
|
+
# `CoreNetworkNetworkFunctionGroup` in `RouteTableIdentifier`.
|
|
3916
|
+
# @return [Types::CoreNetworkNetworkFunctionGroupIdentifier]
|
|
3917
|
+
#
|
|
3779
3918
|
# @!attribute [rw] route_table_type
|
|
3780
3919
|
# The route table type.
|
|
3781
3920
|
# @return [String]
|
|
@@ -3788,14 +3927,20 @@ module Aws::NetworkManager
|
|
|
3788
3927
|
# The network routes.
|
|
3789
3928
|
# @return [Array<Types::NetworkRoute>]
|
|
3790
3929
|
#
|
|
3930
|
+
# @!attribute [rw] next_token
|
|
3931
|
+
# The token for the next page of results.
|
|
3932
|
+
# @return [String]
|
|
3933
|
+
#
|
|
3791
3934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkRoutesResponse AWS API Documentation
|
|
3792
3935
|
#
|
|
3793
3936
|
class GetNetworkRoutesResponse < Struct.new(
|
|
3794
3937
|
:route_table_arn,
|
|
3795
3938
|
:core_network_segment_edge,
|
|
3939
|
+
:core_network_network_function_group,
|
|
3796
3940
|
:route_table_type,
|
|
3797
3941
|
:route_table_timestamp,
|
|
3798
|
-
:network_routes
|
|
3942
|
+
:network_routes,
|
|
3943
|
+
:next_token)
|
|
3799
3944
|
SENSITIVE = []
|
|
3800
3945
|
include Aws::Structure
|
|
3801
3946
|
end
|
|
@@ -4311,6 +4456,78 @@ module Aws::NetworkManager
|
|
|
4311
4456
|
include Aws::Structure
|
|
4312
4457
|
end
|
|
4313
4458
|
|
|
4459
|
+
# @!attribute [rw] core_network_id
|
|
4460
|
+
# The ID of a core network. Returns the NAT configurations of
|
|
4461
|
+
# attachments in the core network that support NAT.
|
|
4462
|
+
# @return [String]
|
|
4463
|
+
#
|
|
4464
|
+
# @!attribute [rw] attachment_id
|
|
4465
|
+
# The ID of an attachment. Returns the NAT configuration of the
|
|
4466
|
+
# specified attachment. If you specify both an attachment ID and a
|
|
4467
|
+
# core network ID, the attachment ID is used.
|
|
4468
|
+
# @return [String]
|
|
4469
|
+
#
|
|
4470
|
+
# @!attribute [rw] filters
|
|
4471
|
+
# The filters to apply to the results. Values for the same filter are
|
|
4472
|
+
# joined with OR, and different filters are joined with AND. You can
|
|
4473
|
+
# specify up to 10 filter values in total. The following filters are
|
|
4474
|
+
# supported:
|
|
4475
|
+
#
|
|
4476
|
+
# * `nat-gateway-support`: The state of NAT gateway support on the
|
|
4477
|
+
# attachment, for example `ENABLED`.
|
|
4478
|
+
#
|
|
4479
|
+
# * `nat-system-route-support`: Whether system routes are installed
|
|
4480
|
+
# for the attachment, `true` or `false`.
|
|
4481
|
+
#
|
|
4482
|
+
# * `rule-number`: The rule number of a NAT rule.
|
|
4483
|
+
#
|
|
4484
|
+
# * `match-source-cidr`: The source CIDR block of a NAT rule. The
|
|
4485
|
+
# value must exactly match the CIDR block of the rule.
|
|
4486
|
+
#
|
|
4487
|
+
# * `nat-cidr`: The NAT CIDR block of a NAT rule. The value must
|
|
4488
|
+
# exactly match the CIDR block of the rule.
|
|
4489
|
+
#
|
|
4490
|
+
# * `nat-rule-state`: The state of a NAT rule, for example
|
|
4491
|
+
# `ACTIVATED`.
|
|
4492
|
+
# @return [Hash<String,Array<String>>]
|
|
4493
|
+
#
|
|
4494
|
+
# @!attribute [rw] max_results
|
|
4495
|
+
# The maximum number of results to return.
|
|
4496
|
+
# @return [Integer]
|
|
4497
|
+
#
|
|
4498
|
+
# @!attribute [rw] next_token
|
|
4499
|
+
# The token for the next page of results.
|
|
4500
|
+
# @return [String]
|
|
4501
|
+
#
|
|
4502
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListAttachmentNatConfigurationsRequest AWS API Documentation
|
|
4503
|
+
#
|
|
4504
|
+
class ListAttachmentNatConfigurationsRequest < Struct.new(
|
|
4505
|
+
:core_network_id,
|
|
4506
|
+
:attachment_id,
|
|
4507
|
+
:filters,
|
|
4508
|
+
:max_results,
|
|
4509
|
+
:next_token)
|
|
4510
|
+
SENSITIVE = []
|
|
4511
|
+
include Aws::Structure
|
|
4512
|
+
end
|
|
4513
|
+
|
|
4514
|
+
# @!attribute [rw] attachment_nat_configurations
|
|
4515
|
+
# The NAT configurations of the attachments.
|
|
4516
|
+
# @return [Array<Types::AttachmentNatConfiguration>]
|
|
4517
|
+
#
|
|
4518
|
+
# @!attribute [rw] next_token
|
|
4519
|
+
# The token for the next page of results.
|
|
4520
|
+
# @return [String]
|
|
4521
|
+
#
|
|
4522
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListAttachmentNatConfigurationsResponse AWS API Documentation
|
|
4523
|
+
#
|
|
4524
|
+
class ListAttachmentNatConfigurationsResponse < Struct.new(
|
|
4525
|
+
:attachment_nat_configurations,
|
|
4526
|
+
:next_token)
|
|
4527
|
+
SENSITIVE = []
|
|
4528
|
+
include Aws::Structure
|
|
4529
|
+
end
|
|
4530
|
+
|
|
4314
4531
|
# @!attribute [rw] core_network_id
|
|
4315
4532
|
# The ID of the core network to list attachment routing policy
|
|
4316
4533
|
# associations for.
|
|
@@ -4551,9 +4768,57 @@ module Aws::NetworkManager
|
|
|
4551
4768
|
# @return [String]
|
|
4552
4769
|
#
|
|
4553
4770
|
# @!attribute [rw] next_hop_filters
|
|
4554
|
-
# Filters to apply based on next hop information.
|
|
4771
|
+
# Filters to apply based on next hop information. Each filter value
|
|
4772
|
+
# must exactly match the corresponding next hop value. Values for the
|
|
4773
|
+
# same filter are joined with OR, and different filters are joined
|
|
4774
|
+
# with AND. The following filters are supported:
|
|
4775
|
+
#
|
|
4776
|
+
# * `core-network-attachment-id`: The ID of the core network
|
|
4777
|
+
# attachment for the next hop, for example
|
|
4778
|
+
# `attachment-0123456789abcdef0`.
|
|
4779
|
+
#
|
|
4780
|
+
# * `segment-name`: The name of the segment for the next hop.
|
|
4781
|
+
#
|
|
4782
|
+
# * `edge-location`: The edge location for the next hop, for example
|
|
4783
|
+
# `us-east-1`.
|
|
4784
|
+
#
|
|
4785
|
+
# * `resource-id`: The ID of the resource for the next hop.
|
|
4786
|
+
#
|
|
4787
|
+
# * `resource-type`: The type of resource for the next hop. The
|
|
4788
|
+
# possible values are `vpc`, `vpn`, `connect-peer`,
|
|
4789
|
+
# `direct-connect-gateway`, `transit-gateway-route-table`,
|
|
4790
|
+
# `attachment`, and `blackhole`.
|
|
4791
|
+
#
|
|
4792
|
+
# * `ip-address`: The IP address of the next hop. For a Site-to-Site
|
|
4793
|
+
# VPN next hop, this is the outside IP address of the AWS side of
|
|
4794
|
+
# the VPN tunnel. For a Connect peer next hop, this is the core
|
|
4795
|
+
# network BGP address of the Connect peer. The value must be a
|
|
4796
|
+
# single IPv4 or IPv6 address.
|
|
4797
|
+
#
|
|
4798
|
+
# You can specify up to 10 filter values in total across
|
|
4799
|
+
# `NextHopFilters` and the other match parameters in the request. Each
|
|
4800
|
+
# filter value can be up to 256 characters.
|
|
4555
4801
|
# @return [Hash<String,Array<String>>]
|
|
4556
4802
|
#
|
|
4803
|
+
# @!attribute [rw] exact_prefix_matches
|
|
4804
|
+
# Exact prefix values to match when filtering routing information.
|
|
4805
|
+
# @return [Array<String>]
|
|
4806
|
+
#
|
|
4807
|
+
# @!attribute [rw] longest_prefix_matches
|
|
4808
|
+
# Filters routing information based on the longest prefix that matches
|
|
4809
|
+
# each provided IP address.
|
|
4810
|
+
# @return [Array<String>]
|
|
4811
|
+
#
|
|
4812
|
+
# @!attribute [rw] subnet_of_matches
|
|
4813
|
+
# Prefix values to filter routing information whose prefix is a subnet
|
|
4814
|
+
# of the prefixes provided.
|
|
4815
|
+
# @return [Array<String>]
|
|
4816
|
+
#
|
|
4817
|
+
# @!attribute [rw] supernet_of_matches
|
|
4818
|
+
# Prefix values to filter routing information whose prefix is a
|
|
4819
|
+
# supernet of the prefixes provided.
|
|
4820
|
+
# @return [Array<String>]
|
|
4821
|
+
#
|
|
4557
4822
|
# @!attribute [rw] local_preference_matches
|
|
4558
4823
|
# Local preference values to match when filtering routing information.
|
|
4559
4824
|
# @return [Array<String>]
|
|
@@ -4587,6 +4852,10 @@ module Aws::NetworkManager
|
|
|
4587
4852
|
:segment_name,
|
|
4588
4853
|
:edge_location,
|
|
4589
4854
|
:next_hop_filters,
|
|
4855
|
+
:exact_prefix_matches,
|
|
4856
|
+
:longest_prefix_matches,
|
|
4857
|
+
:subnet_of_matches,
|
|
4858
|
+
:supernet_of_matches,
|
|
4590
4859
|
:local_preference_matches,
|
|
4591
4860
|
:exact_as_path_matches,
|
|
4592
4861
|
:med_matches,
|
|
@@ -4784,6 +5053,96 @@ module Aws::NetworkManager
|
|
|
4784
5053
|
include Aws::Structure
|
|
4785
5054
|
end
|
|
4786
5055
|
|
|
5056
|
+
# Describes a NAT rule of an attachment.
|
|
5057
|
+
#
|
|
5058
|
+
# @!attribute [rw] rule_number
|
|
5059
|
+
# The rule number. Rule numbers identify the rules of an attachment
|
|
5060
|
+
# and don't set the order in which rules are evaluated.
|
|
5061
|
+
# @return [Integer]
|
|
5062
|
+
#
|
|
5063
|
+
# @!attribute [rw] match_source_cidr
|
|
5064
|
+
# The source CIDR block that the rule matches for traffic from the
|
|
5065
|
+
# attachment.
|
|
5066
|
+
# @return [String]
|
|
5067
|
+
#
|
|
5068
|
+
# @!attribute [rw] nat_cidr
|
|
5069
|
+
# The CIDR block that matching source addresses are translated to.
|
|
5070
|
+
# @return [String]
|
|
5071
|
+
#
|
|
5072
|
+
# @!attribute [rw] state
|
|
5073
|
+
# The state of the NAT rule. The possible values are the following:
|
|
5074
|
+
#
|
|
5075
|
+
# * `CREATING`: The rule is being created.
|
|
5076
|
+
#
|
|
5077
|
+
# * `MODIFYING`: The rule is being modified.
|
|
5078
|
+
#
|
|
5079
|
+
# * `DELETING`: The rule is being deleted.
|
|
5080
|
+
#
|
|
5081
|
+
# * `ACTIVATING`: NAT gateway support is being enabled, and the rule
|
|
5082
|
+
# is being applied.
|
|
5083
|
+
#
|
|
5084
|
+
# * `ACTIVATED`: NAT gateway support is enabled, and the rule is
|
|
5085
|
+
# applied.
|
|
5086
|
+
#
|
|
5087
|
+
# * `DEACTIVATING`: NAT gateway support is being disabled, and the
|
|
5088
|
+
# rule is being removed from use.
|
|
5089
|
+
#
|
|
5090
|
+
# * `DEACTIVATED`: NAT gateway support is disabled, and the rule
|
|
5091
|
+
# isn't applied.
|
|
5092
|
+
#
|
|
5093
|
+
# * `FAILED`: The attachment failed to be created, and the rule isn't
|
|
5094
|
+
# applied.
|
|
5095
|
+
#
|
|
5096
|
+
# * `PENDING_ATTACHMENT_ACCEPTANCE`: The attachment is pending
|
|
5097
|
+
# acceptance. The rule is applied after the attachment is accepted.
|
|
5098
|
+
# @return [String]
|
|
5099
|
+
#
|
|
5100
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/NatRule AWS API Documentation
|
|
5101
|
+
#
|
|
5102
|
+
class NatRule < Struct.new(
|
|
5103
|
+
:rule_number,
|
|
5104
|
+
:match_source_cidr,
|
|
5105
|
+
:nat_cidr,
|
|
5106
|
+
:state)
|
|
5107
|
+
SENSITIVE = []
|
|
5108
|
+
include Aws::Structure
|
|
5109
|
+
end
|
|
5110
|
+
|
|
5111
|
+
# Describes a NAT rule to configure on an attachment. Source addresses
|
|
5112
|
+
# in the source CIDR block of traffic from the attachment are translated
|
|
5113
|
+
# to the same host addresses in the NAT CIDR block. Traffic to an
|
|
5114
|
+
# address in the NAT CIDR block is translated back to the matching
|
|
5115
|
+
# address in the source CIDR block.
|
|
5116
|
+
#
|
|
5117
|
+
# @!attribute [rw] rule_number
|
|
5118
|
+
# The rule number, from 1 to 32766. Each rule number must be unique
|
|
5119
|
+
# for the attachment.
|
|
5120
|
+
# @return [Integer]
|
|
5121
|
+
#
|
|
5122
|
+
# @!attribute [rw] match_source_cidr
|
|
5123
|
+
# The IPv4 CIDR block to match against the source address of traffic
|
|
5124
|
+
# from the attachment. The CIDR block can't overlap with the
|
|
5125
|
+
# multicast range (224.0.0.0/4).
|
|
5126
|
+
# @return [String]
|
|
5127
|
+
#
|
|
5128
|
+
# @!attribute [rw] nat_cidr
|
|
5129
|
+
# The IPv4 CIDR block to translate matching source addresses to. The
|
|
5130
|
+
# prefix length must be the same as the prefix length of
|
|
5131
|
+
# `MatchSourceCidr`. The CIDR block must be within a private (RFC
|
|
5132
|
+
# 1918) or shared address space (RFC 6598) range. The CIDR blocks of
|
|
5133
|
+
# the NAT rules of an attachment can't overlap with each other.
|
|
5134
|
+
# @return [String]
|
|
5135
|
+
#
|
|
5136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/NatRuleRequest AWS API Documentation
|
|
5137
|
+
#
|
|
5138
|
+
class NatRuleRequest < Struct.new(
|
|
5139
|
+
:rule_number,
|
|
5140
|
+
:match_source_cidr,
|
|
5141
|
+
:nat_cidr)
|
|
5142
|
+
SENSITIVE = []
|
|
5143
|
+
include Aws::Structure
|
|
5144
|
+
end
|
|
5145
|
+
|
|
4787
5146
|
# Describes a network function group for service insertion.
|
|
4788
5147
|
#
|
|
4789
5148
|
# @!attribute [rw] name
|
|
@@ -4983,7 +5342,9 @@ module Aws::NetworkManager
|
|
|
4983
5342
|
# @return [String]
|
|
4984
5343
|
#
|
|
4985
5344
|
# @!attribute [rw] type
|
|
4986
|
-
# The route type. The possible values are `
|
|
5345
|
+
# The route type. The possible values are `PROPAGATED`, `STATIC`, and
|
|
5346
|
+
# `SYSTEM`. A `SYSTEM` route is installed by the core network for the
|
|
5347
|
+
# NAT CIDR block of an attachment's NAT rule.
|
|
4987
5348
|
# @return [String]
|
|
4988
5349
|
#
|
|
4989
5350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/NetworkRoute AWS API Documentation
|
|
@@ -5197,7 +5558,7 @@ module Aws::NetworkManager
|
|
|
5197
5558
|
# @return [Time]
|
|
5198
5559
|
#
|
|
5199
5560
|
# @!attribute [rw] last_modification_errors
|
|
5200
|
-
# Describes the error associated with the
|
|
5561
|
+
# Describes the error associated with the peering request.
|
|
5201
5562
|
# @return [Array<Types::PeeringError>]
|
|
5202
5563
|
#
|
|
5203
5564
|
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/Peering AWS API Documentation
|
|
@@ -5270,7 +5631,7 @@ module Aws::NetworkManager
|
|
|
5270
5631
|
# Information about a prefix list association with a core network.
|
|
5271
5632
|
#
|
|
5272
5633
|
# @!attribute [rw] core_network_id
|
|
5273
|
-
# The core network
|
|
5634
|
+
# The ID of the core network in the association.
|
|
5274
5635
|
# @return [String]
|
|
5275
5636
|
#
|
|
5276
5637
|
# @!attribute [rw] prefix_list_arn
|
|
@@ -6344,6 +6705,90 @@ module Aws::NetworkManager
|
|
|
6344
6705
|
#
|
|
6345
6706
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
|
6346
6707
|
|
|
6708
|
+
# @!attribute [rw] attachment_id
|
|
6709
|
+
# The ID of the attachment to update the NAT configuration for.
|
|
6710
|
+
# @return [String]
|
|
6711
|
+
#
|
|
6712
|
+
# @!attribute [rw] nat_gateway_support
|
|
6713
|
+
# Specifies whether to enable or disable NAT gateway support on the
|
|
6714
|
+
# attachment. When you disable NAT gateway support, the attachment
|
|
6715
|
+
# keeps its NAT rules but doesn't apply them. To enable NAT gateway
|
|
6716
|
+
# support, the attachment must have at least one NAT rule, either
|
|
6717
|
+
# specified in this request or already configured on the attachment.
|
|
6718
|
+
# If you omit this parameter, NAT gateway support is unchanged.
|
|
6719
|
+
# @return [String]
|
|
6720
|
+
#
|
|
6721
|
+
# @!attribute [rw] nat_system_route_support
|
|
6722
|
+
# Specifies whether the core network installs system routes for the
|
|
6723
|
+
# NAT CIDR blocks of the attachment's NAT rules. System routes have a
|
|
6724
|
+
# route type of `SYSTEM`. NAT is applied to traffic whether or not
|
|
6725
|
+
# this option is enabled. If you omit this parameter, the current
|
|
6726
|
+
# value is unchanged.
|
|
6727
|
+
# @return [Boolean]
|
|
6728
|
+
#
|
|
6729
|
+
# @!attribute [rw] nat_gateway_rules
|
|
6730
|
+
# The complete set of NAT rules for the attachment, up to 50 rules.
|
|
6731
|
+
# The rules that you specify replace the existing rules of the
|
|
6732
|
+
# attachment, matched by rule number. Existing rules that aren't
|
|
6733
|
+
# included in the request are deleted. To delete all NAT rules,
|
|
6734
|
+
# specify an empty list. You can delete all NAT rules only when NAT
|
|
6735
|
+
# gateway support is disabled, or when you disable it in the same
|
|
6736
|
+
# request. If you omit this parameter, the existing rules are
|
|
6737
|
+
# unchanged.
|
|
6738
|
+
# @return [Array<Types::NatRuleRequest>]
|
|
6739
|
+
#
|
|
6740
|
+
# @!attribute [rw] client_token
|
|
6741
|
+
# The client token associated with the request.
|
|
6742
|
+
#
|
|
6743
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
6744
|
+
# not need to pass this option.
|
|
6745
|
+
# @return [String]
|
|
6746
|
+
#
|
|
6747
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateAttachmentNatConfigurationRequest AWS API Documentation
|
|
6748
|
+
#
|
|
6749
|
+
class UpdateAttachmentNatConfigurationRequest < Struct.new(
|
|
6750
|
+
:attachment_id,
|
|
6751
|
+
:nat_gateway_support,
|
|
6752
|
+
:nat_system_route_support,
|
|
6753
|
+
:nat_gateway_rules,
|
|
6754
|
+
:client_token)
|
|
6755
|
+
SENSITIVE = []
|
|
6756
|
+
include Aws::Structure
|
|
6757
|
+
end
|
|
6758
|
+
|
|
6759
|
+
# @!attribute [rw] attachment_id
|
|
6760
|
+
# The ID of the attachment.
|
|
6761
|
+
# @return [String]
|
|
6762
|
+
#
|
|
6763
|
+
# @!attribute [rw] nat_gateway_support
|
|
6764
|
+
# The state of NAT gateway support on the attachment. The transitional
|
|
6765
|
+
# states `ENABLING` and `DISABLING` change to `ENABLED` or `DISABLED`
|
|
6766
|
+
# after the update is applied. The state is
|
|
6767
|
+
# `PENDING_ATTACHMENT_ACCEPTANCE` when NAT gateway support is enabled
|
|
6768
|
+
# on an attachment that is pending acceptance.
|
|
6769
|
+
# @return [String]
|
|
6770
|
+
#
|
|
6771
|
+
# @!attribute [rw] nat_system_route_support
|
|
6772
|
+
# Indicates whether the core network installs system routes for the
|
|
6773
|
+
# NAT CIDR blocks of the attachment's NAT rules.
|
|
6774
|
+
# @return [Boolean]
|
|
6775
|
+
#
|
|
6776
|
+
# @!attribute [rw] nat_gateway_rules
|
|
6777
|
+
# The NAT rules of the attachment, including rules that are being
|
|
6778
|
+
# deleted.
|
|
6779
|
+
# @return [Array<Types::NatRule>]
|
|
6780
|
+
#
|
|
6781
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateAttachmentNatConfigurationResponse AWS API Documentation
|
|
6782
|
+
#
|
|
6783
|
+
class UpdateAttachmentNatConfigurationResponse < Struct.new(
|
|
6784
|
+
:attachment_id,
|
|
6785
|
+
:nat_gateway_support,
|
|
6786
|
+
:nat_system_route_support,
|
|
6787
|
+
:nat_gateway_rules)
|
|
6788
|
+
SENSITIVE = []
|
|
6789
|
+
include Aws::Structure
|
|
6790
|
+
end
|
|
6791
|
+
|
|
6347
6792
|
# @!attribute [rw] global_network_id
|
|
6348
6793
|
# The ID of the global network.
|
|
6349
6794
|
# @return [String]
|