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.
data/sig/client.rbs CHANGED
@@ -150,6 +150,14 @@ module Aws
150
150
  edge_location: ::String,
151
151
  transport_attachment_id: ::String,
152
152
  ?routing_policy_label: ::String,
153
+ ?nat_gateway_support: ("ENABLE" | "DISABLE"),
154
+ ?nat_gateway_rules: Array[
155
+ {
156
+ rule_number: ::Integer,
157
+ match_source_cidr: ::String,
158
+ nat_cidr: ::String
159
+ }
160
+ ],
153
161
  options: {
154
162
  protocol: ("GRE" | "NO_ENCAP")?
155
163
  },
@@ -283,6 +291,15 @@ module Aws
283
291
  direct_connect_gateway_arn: ::String,
284
292
  ?routing_policy_label: ::String,
285
293
  edge_locations: Array[::String],
294
+ ?nat_gateway_support: ("ENABLE" | "DISABLE"),
295
+ ?nat_system_route_support: bool,
296
+ ?nat_gateway_rules: Array[
297
+ {
298
+ rule_number: ::Integer,
299
+ match_source_cidr: ::String,
300
+ nat_cidr: ::String
301
+ }
302
+ ],
286
303
  ?tags: Array[
287
304
  {
288
305
  key: ::String?,
@@ -364,6 +381,15 @@ module Aws
364
381
  core_network_id: ::String,
365
382
  vpn_connection_arn: ::String,
366
383
  ?routing_policy_label: ::String,
384
+ ?nat_gateway_support: ("ENABLE" | "DISABLE"),
385
+ ?nat_system_route_support: bool,
386
+ ?nat_gateway_rules: Array[
387
+ {
388
+ rule_number: ::Integer,
389
+ match_source_cidr: ::String,
390
+ nat_cidr: ::String
391
+ }
392
+ ],
367
393
  ?tags: Array[
368
394
  {
369
395
  key: ::String?,
@@ -427,6 +453,14 @@ module Aws
427
453
  security_group_referencing_support: bool?
428
454
  },
429
455
  ?routing_policy_label: ::String,
456
+ ?nat_gateway_support: ("ENABLE" | "DISABLE"),
457
+ ?nat_gateway_rules: Array[
458
+ {
459
+ rule_number: ::Integer,
460
+ match_source_cidr: ::String,
461
+ nat_cidr: ::String
462
+ }
463
+ ],
430
464
  ?tags: Array[
431
465
  {
432
466
  key: ::String?,
@@ -868,9 +902,11 @@ module Aws
868
902
  include ::Seahorse::Client::_ResponseSuccess[Types::GetNetworkRoutesResponse]
869
903
  def route_table_arn: () -> ::String
870
904
  def core_network_segment_edge: () -> Types::CoreNetworkSegmentEdgeIdentifier
905
+ def core_network_network_function_group: () -> Types::CoreNetworkNetworkFunctionGroupIdentifier
871
906
  def route_table_type: () -> ("TRANSIT_GATEWAY_ROUTE_TABLE" | "CORE_NETWORK_SEGMENT" | "NETWORK_FUNCTION_GROUP")
872
907
  def route_table_timestamp: () -> ::Time
873
908
  def network_routes: () -> ::Array[Types::NetworkRoute]
909
+ def next_token: () -> ::String
874
910
  end
875
911
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#get_network_routes-instance_method
876
912
  def get_network_routes: (
@@ -894,8 +930,10 @@ module Aws
894
930
  ?supernet_of_matches: Array[::String],
895
931
  ?prefix_list_ids: Array[::String],
896
932
  ?states: Array[("ACTIVE" | "BLACKHOLE")],
897
- ?types: Array[("PROPAGATED" | "STATIC")],
898
- ?destination_filters: Hash[::String, Array[::String]]
933
+ ?types: Array[("PROPAGATED" | "STATIC" | "SYSTEM")],
934
+ ?destination_filters: Hash[::String, Array[::String]],
935
+ ?max_results: ::Integer,
936
+ ?next_token: ::String
899
937
  ) -> _GetNetworkRoutesResponseSuccess
900
938
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNetworkRoutesResponseSuccess
901
939
 
@@ -1021,6 +1059,21 @@ module Aws
1021
1059
  ) -> _GetVpcAttachmentResponseSuccess
1022
1060
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVpcAttachmentResponseSuccess
1023
1061
 
1062
+ interface _ListAttachmentNatConfigurationsResponseSuccess
1063
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAttachmentNatConfigurationsResponse]
1064
+ def attachment_nat_configurations: () -> ::Array[Types::AttachmentNatConfiguration]
1065
+ def next_token: () -> ::String
1066
+ end
1067
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#list_attachment_nat_configurations-instance_method
1068
+ def list_attachment_nat_configurations: (
1069
+ ?core_network_id: ::String,
1070
+ ?attachment_id: ::String,
1071
+ ?filters: Hash[::String, Array[::String]],
1072
+ ?max_results: ::Integer,
1073
+ ?next_token: ::String
1074
+ ) -> _ListAttachmentNatConfigurationsResponseSuccess
1075
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAttachmentNatConfigurationsResponseSuccess
1076
+
1024
1077
  interface _ListAttachmentRoutingPolicyAssociationsResponseSuccess
1025
1078
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAttachmentRoutingPolicyAssociationsResponse]
1026
1079
  def attachment_routing_policy_associations: () -> ::Array[Types::AttachmentRoutingPolicyAssociationSummary]
@@ -1103,6 +1156,10 @@ module Aws
1103
1156
  segment_name: ::String,
1104
1157
  edge_location: ::String,
1105
1158
  ?next_hop_filters: Hash[::String, Array[::String]],
1159
+ ?exact_prefix_matches: Array[::String],
1160
+ ?longest_prefix_matches: Array[::String],
1161
+ ?subnet_of_matches: Array[::String],
1162
+ ?supernet_of_matches: Array[::String],
1106
1163
  ?local_preference_matches: Array[::String],
1107
1164
  ?exact_as_path_matches: Array[::String],
1108
1165
  ?med_matches: Array[::String],
@@ -1301,6 +1358,29 @@ module Aws
1301
1358
  ) -> _UntagResourceResponseSuccess
1302
1359
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
1303
1360
 
1361
+ interface _UpdateAttachmentNatConfigurationResponseSuccess
1362
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAttachmentNatConfigurationResponse]
1363
+ def attachment_id: () -> ::String
1364
+ def nat_gateway_support: () -> ("ENABLED" | "ENABLING" | "DISABLED" | "DISABLING" | "PENDING_ATTACHMENT_ACCEPTANCE")
1365
+ def nat_system_route_support: () -> bool
1366
+ def nat_gateway_rules: () -> ::Array[Types::NatRule]
1367
+ end
1368
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#update_attachment_nat_configuration-instance_method
1369
+ def update_attachment_nat_configuration: (
1370
+ attachment_id: ::String,
1371
+ ?nat_gateway_support: ("ENABLE" | "DISABLE"),
1372
+ ?nat_system_route_support: bool,
1373
+ ?nat_gateway_rules: Array[
1374
+ {
1375
+ rule_number: ::Integer,
1376
+ match_source_cidr: ::String,
1377
+ nat_cidr: ::String
1378
+ }
1379
+ ],
1380
+ ?client_token: ::String
1381
+ ) -> _UpdateAttachmentNatConfigurationResponseSuccess
1382
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAttachmentNatConfigurationResponseSuccess
1383
+
1304
1384
  interface _UpdateConnectionResponseSuccess
1305
1385
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectionResponse]
1306
1386
  def connection: () -> Types::Connection
data/sig/types.rbs CHANGED
@@ -99,6 +99,8 @@ module Aws::NetworkManager
99
99
  attr_accessor attachment_policy_rule_number: ::Integer
100
100
  attr_accessor segment_name: ::String
101
101
  attr_accessor network_function_group_name: ::String
102
+ attr_accessor nat_gateway_support: ("ENABLED" | "ENABLING" | "DISABLED" | "DISABLING" | "PENDING_ATTACHMENT_ACCEPTANCE")
103
+ attr_accessor nat_system_route_support: bool
102
104
  attr_accessor tags: ::Array[Types::Tag]
103
105
  attr_accessor proposed_segment_change: Types::ProposedSegmentChange
104
106
  attr_accessor proposed_network_function_group_change: Types::ProposedNetworkFunctionGroupChange
@@ -109,13 +111,21 @@ module Aws::NetworkManager
109
111
  end
110
112
 
111
113
  class AttachmentError
112
- attr_accessor code: ("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")
114
+ attr_accessor code: ("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")
113
115
  attr_accessor message: ::String
114
116
  attr_accessor resource_arn: ::String
115
117
  attr_accessor request_id: ::String
116
118
  SENSITIVE: []
117
119
  end
118
120
 
121
+ class AttachmentNatConfiguration
122
+ attr_accessor attachment_id: ::String
123
+ attr_accessor nat_gateway_support: ("ENABLED" | "ENABLING" | "DISABLED" | "DISABLING" | "PENDING_ATTACHMENT_ACCEPTANCE")
124
+ attr_accessor nat_system_route_support: bool
125
+ attr_accessor nat_gateway_rules: ::Array[Types::NatRule]
126
+ SENSITIVE: []
127
+ end
128
+
119
129
  class AttachmentRoutingPolicyAssociationSummary
120
130
  attr_accessor attachment_id: ::String
121
131
  attr_accessor pending_routing_policies: ::Array[::String]
@@ -195,7 +205,7 @@ module Aws::NetworkManager
195
205
  end
196
206
 
197
207
  class ConnectPeerError
198
- attr_accessor code: ("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")
208
+ attr_accessor code: ("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")
199
209
  attr_accessor message: ::String
200
210
  attr_accessor resource_arn: ::String
201
211
  attr_accessor request_id: ::String
@@ -399,6 +409,8 @@ module Aws::NetworkManager
399
409
  attr_accessor edge_location: ::String
400
410
  attr_accessor transport_attachment_id: ::String
401
411
  attr_accessor routing_policy_label: ::String
412
+ attr_accessor nat_gateway_support: ("ENABLE" | "DISABLE")
413
+ attr_accessor nat_gateway_rules: ::Array[Types::NatRuleRequest]
402
414
  attr_accessor options: Types::ConnectAttachmentOptions
403
415
  attr_accessor tags: ::Array[Types::Tag]
404
416
  attr_accessor client_token: ::String
@@ -496,6 +508,9 @@ module Aws::NetworkManager
496
508
  attr_accessor direct_connect_gateway_arn: ::String
497
509
  attr_accessor routing_policy_label: ::String
498
510
  attr_accessor edge_locations: ::Array[::String]
511
+ attr_accessor nat_gateway_support: ("ENABLE" | "DISABLE")
512
+ attr_accessor nat_system_route_support: bool
513
+ attr_accessor nat_gateway_rules: ::Array[Types::NatRuleRequest]
499
514
  attr_accessor tags: ::Array[Types::Tag]
500
515
  attr_accessor client_token: ::String
501
516
  SENSITIVE: []
@@ -550,6 +565,9 @@ module Aws::NetworkManager
550
565
  attr_accessor core_network_id: ::String
551
566
  attr_accessor vpn_connection_arn: ::String
552
567
  attr_accessor routing_policy_label: ::String
568
+ attr_accessor nat_gateway_support: ("ENABLE" | "DISABLE")
569
+ attr_accessor nat_system_route_support: bool
570
+ attr_accessor nat_gateway_rules: ::Array[Types::NatRuleRequest]
553
571
  attr_accessor tags: ::Array[Types::Tag]
554
572
  attr_accessor client_token: ::String
555
573
  SENSITIVE: []
@@ -593,6 +611,8 @@ module Aws::NetworkManager
593
611
  attr_accessor subnet_arns: ::Array[::String]
594
612
  attr_accessor options: Types::VpcOptions
595
613
  attr_accessor routing_policy_label: ::String
614
+ attr_accessor nat_gateway_support: ("ENABLE" | "DISABLE")
615
+ attr_accessor nat_gateway_rules: ::Array[Types::NatRuleRequest]
596
616
  attr_accessor tags: ::Array[Types::Tag]
597
617
  attr_accessor client_token: ::String
598
618
  SENSITIVE: []
@@ -1076,17 +1096,21 @@ module Aws::NetworkManager
1076
1096
  attr_accessor supernet_of_matches: ::Array[::String]
1077
1097
  attr_accessor prefix_list_ids: ::Array[::String]
1078
1098
  attr_accessor states: ::Array[("ACTIVE" | "BLACKHOLE")]
1079
- attr_accessor types: ::Array[("PROPAGATED" | "STATIC")]
1099
+ attr_accessor types: ::Array[("PROPAGATED" | "STATIC" | "SYSTEM")]
1080
1100
  attr_accessor destination_filters: ::Hash[::String, ::Array[::String]]
1101
+ attr_accessor max_results: ::Integer
1102
+ attr_accessor next_token: ::String
1081
1103
  SENSITIVE: []
1082
1104
  end
1083
1105
 
1084
1106
  class GetNetworkRoutesResponse
1085
1107
  attr_accessor route_table_arn: ::String
1086
1108
  attr_accessor core_network_segment_edge: Types::CoreNetworkSegmentEdgeIdentifier
1109
+ attr_accessor core_network_network_function_group: Types::CoreNetworkNetworkFunctionGroupIdentifier
1087
1110
  attr_accessor route_table_type: ("TRANSIT_GATEWAY_ROUTE_TABLE" | "CORE_NETWORK_SEGMENT" | "NETWORK_FUNCTION_GROUP")
1088
1111
  attr_accessor route_table_timestamp: ::Time
1089
1112
  attr_accessor network_routes: ::Array[Types::NetworkRoute]
1113
+ attr_accessor next_token: ::String
1090
1114
  SENSITIVE: []
1091
1115
  end
1092
1116
 
@@ -1251,6 +1275,21 @@ module Aws::NetworkManager
1251
1275
  SENSITIVE: []
1252
1276
  end
1253
1277
 
1278
+ class ListAttachmentNatConfigurationsRequest
1279
+ attr_accessor core_network_id: ::String
1280
+ attr_accessor attachment_id: ::String
1281
+ attr_accessor filters: ::Hash[::String, ::Array[::String]]
1282
+ attr_accessor max_results: ::Integer
1283
+ attr_accessor next_token: ::String
1284
+ SENSITIVE: []
1285
+ end
1286
+
1287
+ class ListAttachmentNatConfigurationsResponse
1288
+ attr_accessor attachment_nat_configurations: ::Array[Types::AttachmentNatConfiguration]
1289
+ attr_accessor next_token: ::String
1290
+ SENSITIVE: []
1291
+ end
1292
+
1254
1293
  class ListAttachmentRoutingPolicyAssociationsRequest
1255
1294
  attr_accessor core_network_id: ::String
1256
1295
  attr_accessor attachment_id: ::String
@@ -1327,6 +1366,10 @@ module Aws::NetworkManager
1327
1366
  attr_accessor segment_name: ::String
1328
1367
  attr_accessor edge_location: ::String
1329
1368
  attr_accessor next_hop_filters: ::Hash[::String, ::Array[::String]]
1369
+ attr_accessor exact_prefix_matches: ::Array[::String]
1370
+ attr_accessor longest_prefix_matches: ::Array[::String]
1371
+ attr_accessor subnet_of_matches: ::Array[::String]
1372
+ attr_accessor supernet_of_matches: ::Array[::String]
1330
1373
  attr_accessor local_preference_matches: ::Array[::String]
1331
1374
  attr_accessor exact_as_path_matches: ::Array[::String]
1332
1375
  attr_accessor med_matches: ::Array[::String]
@@ -1399,6 +1442,21 @@ module Aws::NetworkManager
1399
1442
  SENSITIVE: []
1400
1443
  end
1401
1444
 
1445
+ class NatRule
1446
+ attr_accessor rule_number: ::Integer
1447
+ attr_accessor match_source_cidr: ::String
1448
+ attr_accessor nat_cidr: ::String
1449
+ attr_accessor state: ("CREATING" | "MODIFYING" | "DELETING" | "ACTIVATED" | "ACTIVATING" | "DEACTIVATED" | "DEACTIVATING" | "FAILED" | "PENDING_ATTACHMENT_ACCEPTANCE")
1450
+ SENSITIVE: []
1451
+ end
1452
+
1453
+ class NatRuleRequest
1454
+ attr_accessor rule_number: ::Integer
1455
+ attr_accessor match_source_cidr: ::String
1456
+ attr_accessor nat_cidr: ::String
1457
+ SENSITIVE: []
1458
+ end
1459
+
1402
1460
  class NetworkFunctionGroup
1403
1461
  attr_accessor name: ::String
1404
1462
  SENSITIVE: []
@@ -1440,7 +1498,7 @@ module Aws::NetworkManager
1440
1498
  attr_accessor destinations: ::Array[Types::NetworkRouteDestination]
1441
1499
  attr_accessor prefix_list_id: ::String
1442
1500
  attr_accessor state: ("ACTIVE" | "BLACKHOLE")
1443
- attr_accessor type: ("PROPAGATED" | "STATIC")
1501
+ attr_accessor type: ("PROPAGATED" | "STATIC" | "SYSTEM")
1444
1502
  SENSITIVE: []
1445
1503
  end
1446
1504
 
@@ -1499,7 +1557,7 @@ module Aws::NetworkManager
1499
1557
  end
1500
1558
 
1501
1559
  class PeeringError
1502
- attr_accessor code: ("TRANSIT_GATEWAY_NOT_FOUND" | "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED" | "MISSING_PERMISSIONS" | "INTERNAL_ERROR" | "EDGE_LOCATION_PEER_DUPLICATE" | "INVALID_TRANSIT_GATEWAY_STATE")
1560
+ attr_accessor code: ("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")
1503
1561
  attr_accessor message: ::String
1504
1562
  attr_accessor resource_arn: ::String
1505
1563
  attr_accessor request_id: ::String
@@ -1825,6 +1883,23 @@ module Aws::NetworkManager
1825
1883
  class UntagResourceResponse < Aws::EmptyStructure
1826
1884
  end
1827
1885
 
1886
+ class UpdateAttachmentNatConfigurationRequest
1887
+ attr_accessor attachment_id: ::String
1888
+ attr_accessor nat_gateway_support: ("ENABLE" | "DISABLE")
1889
+ attr_accessor nat_system_route_support: bool
1890
+ attr_accessor nat_gateway_rules: ::Array[Types::NatRuleRequest]
1891
+ attr_accessor client_token: ::String
1892
+ SENSITIVE: []
1893
+ end
1894
+
1895
+ class UpdateAttachmentNatConfigurationResponse
1896
+ attr_accessor attachment_id: ::String
1897
+ attr_accessor nat_gateway_support: ("ENABLED" | "ENABLING" | "DISABLED" | "DISABLING" | "PENDING_ATTACHMENT_ACCEPTANCE")
1898
+ attr_accessor nat_system_route_support: bool
1899
+ attr_accessor nat_gateway_rules: ::Array[Types::NatRule]
1900
+ SENSITIVE: []
1901
+ end
1902
+
1828
1903
  class UpdateConnectionRequest
1829
1904
  attr_accessor global_network_id: ::String
1830
1905
  attr_accessor connection_id: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-networkmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.87.0
4
+ version: 1.88.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services