aws-sdk-networkmanager 1.23.0 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eca7f84a02553aac23dcb8e38ea71f31a34be966ea2b4b713e28e1436f0c929d
4
- data.tar.gz: 5d45ce2d120234158ef99dd414778f01d9029fb55175699223422424e6c932e2
3
+ metadata.gz: e79e1f713f0e45de9644ef8d181c3e21158973f28f97fbfba8dbff96e446dfda
4
+ data.tar.gz: 836b4aca2718c91332d48c1e7b30c526f73a9caff36b250c65f2c1818e3bc17e
5
5
  SHA512:
6
- metadata.gz: 7906d7dddff6f28faa859e06da3d578e6a6f6ce6e24ac727bd3aa4970fb32e82896bdd5f0f26b8ef295c212c20b4956bf75d5420648555d177b15d9cbec34cce
7
- data.tar.gz: 3fb6d2f4f7fe758617a17c22b211b05ce7ae3d34a4e2af1575a65f18312d6c9dbdc6c3d23065ec0c431ed0b495074b11c36d06eb02221d5aee065100a86a9e4e
6
+ metadata.gz: 17ad64e120d9405c4dd8f5a13154e1dc3637f361df858937f70be16c1d363d8c0ad4cd041c7ed77396b2db4aae7602b67a5d1d9e8dc344e11eec523c924ee4b6
7
+ data.tar.gz: 12ea3a1ba09476cd87e373d92ad8a7c4e0ef06cea985914ed25855d3d84c452af297e21248b348ab474c5715318daea3d983c4bab09ea8681b2381d625386865
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.24.0 (2022-07-12)
5
+ ------------------
6
+
7
+ * Feature - This release adds general availability API support for AWS Cloud WAN.
8
+
4
9
  1.23.0 (2022-05-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.23.0
1
+ 1.24.0
@@ -375,7 +375,7 @@ module Aws::NetworkManager
375
375
  # resp.attachment.core_network_arn #=> String
376
376
  # resp.attachment.attachment_id #=> String
377
377
  # resp.attachment.owner_account_id #=> String
378
- # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
378
+ # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
379
379
  # resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
380
380
  # resp.attachment.edge_location #=> String
381
381
  # resp.attachment.resource_arn #=> String
@@ -663,7 +663,7 @@ module Aws::NetworkManager
663
663
  # resp.connect_attachment.attachment.core_network_arn #=> String
664
664
  # resp.connect_attachment.attachment.attachment_id #=> String
665
665
  # resp.connect_attachment.attachment.owner_account_id #=> String
666
- # resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
666
+ # resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
667
667
  # resp.connect_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
668
668
  # resp.connect_attachment.attachment.edge_location #=> String
669
669
  # resp.connect_attachment.attachment.resource_arn #=> String
@@ -1265,7 +1265,7 @@ module Aws::NetworkManager
1265
1265
  # resp.site_to_site_vpn_attachment.attachment.core_network_arn #=> String
1266
1266
  # resp.site_to_site_vpn_attachment.attachment.attachment_id #=> String
1267
1267
  # resp.site_to_site_vpn_attachment.attachment.owner_account_id #=> String
1268
- # resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
1268
+ # resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
1269
1269
  # resp.site_to_site_vpn_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
1270
1270
  # resp.site_to_site_vpn_attachment.attachment.edge_location #=> String
1271
1271
  # resp.site_to_site_vpn_attachment.attachment.resource_arn #=> String
@@ -1292,6 +1292,135 @@ module Aws::NetworkManager
1292
1292
  req.send_request(options)
1293
1293
  end
1294
1294
 
1295
+ # Creates a transit gateway peering connection.
1296
+ #
1297
+ # @option params [required, String] :core_network_id
1298
+ # The ID of a core network.
1299
+ #
1300
+ # @option params [required, String] :transit_gateway_arn
1301
+ # The ARN of the transit gateway for the peering request.
1302
+ #
1303
+ # @option params [Array<Types::Tag>] :tags
1304
+ # The list of key-value tags associated with the request.
1305
+ #
1306
+ # @option params [String] :client_token
1307
+ # The client token associated with the request.
1308
+ #
1309
+ # **A suitable default value is auto-generated.** You should normally
1310
+ # not need to pass this option.**
1311
+ #
1312
+ # @return [Types::CreateTransitGatewayPeeringResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1313
+ #
1314
+ # * {Types::CreateTransitGatewayPeeringResponse#transit_gateway_peering #transit_gateway_peering} => Types::TransitGatewayPeering
1315
+ #
1316
+ # @example Request syntax with placeholder values
1317
+ #
1318
+ # resp = client.create_transit_gateway_peering({
1319
+ # core_network_id: "CoreNetworkId", # required
1320
+ # transit_gateway_arn: "TransitGatewayArn", # required
1321
+ # tags: [
1322
+ # {
1323
+ # key: "TagKey",
1324
+ # value: "TagValue",
1325
+ # },
1326
+ # ],
1327
+ # client_token: "ClientToken",
1328
+ # })
1329
+ #
1330
+ # @example Response structure
1331
+ #
1332
+ # resp.transit_gateway_peering.peering.core_network_id #=> String
1333
+ # resp.transit_gateway_peering.peering.core_network_arn #=> String
1334
+ # resp.transit_gateway_peering.peering.peering_id #=> String
1335
+ # resp.transit_gateway_peering.peering.owner_account_id #=> String
1336
+ # resp.transit_gateway_peering.peering.peering_type #=> String, one of "TRANSIT_GATEWAY"
1337
+ # resp.transit_gateway_peering.peering.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
1338
+ # resp.transit_gateway_peering.peering.edge_location #=> String
1339
+ # resp.transit_gateway_peering.peering.resource_arn #=> String
1340
+ # resp.transit_gateway_peering.peering.tags #=> Array
1341
+ # resp.transit_gateway_peering.peering.tags[0].key #=> String
1342
+ # resp.transit_gateway_peering.peering.tags[0].value #=> String
1343
+ # resp.transit_gateway_peering.peering.created_at #=> Time
1344
+ # resp.transit_gateway_peering.transit_gateway_arn #=> String
1345
+ #
1346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateTransitGatewayPeering AWS API Documentation
1347
+ #
1348
+ # @overload create_transit_gateway_peering(params = {})
1349
+ # @param [Hash] params ({})
1350
+ def create_transit_gateway_peering(params = {}, options = {})
1351
+ req = build_request(:create_transit_gateway_peering, params)
1352
+ req.send_request(options)
1353
+ end
1354
+
1355
+ # Creates a transit gateway route table attachment.
1356
+ #
1357
+ # @option params [required, String] :peering_id
1358
+ # The ID of the peer for the
1359
+ #
1360
+ # @option params [required, String] :transit_gateway_route_table_arn
1361
+ # The ARN of the transit gateway route table for the attachment request.
1362
+ #
1363
+ # @option params [Array<Types::Tag>] :tags
1364
+ # The list of key-value tags associated with the request.
1365
+ #
1366
+ # @option params [String] :client_token
1367
+ # The client token associated with the request.
1368
+ #
1369
+ # **A suitable default value is auto-generated.** You should normally
1370
+ # not need to pass this option.**
1371
+ #
1372
+ # @return [Types::CreateTransitGatewayRouteTableAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1373
+ #
1374
+ # * {Types::CreateTransitGatewayRouteTableAttachmentResponse#transit_gateway_route_table_attachment #transit_gateway_route_table_attachment} => Types::TransitGatewayRouteTableAttachment
1375
+ #
1376
+ # @example Request syntax with placeholder values
1377
+ #
1378
+ # resp = client.create_transit_gateway_route_table_attachment({
1379
+ # peering_id: "PeeringId", # required
1380
+ # transit_gateway_route_table_arn: "TransitGatewayRouteTableArn", # required
1381
+ # tags: [
1382
+ # {
1383
+ # key: "TagKey",
1384
+ # value: "TagValue",
1385
+ # },
1386
+ # ],
1387
+ # client_token: "ClientToken",
1388
+ # })
1389
+ #
1390
+ # @example Response structure
1391
+ #
1392
+ # resp.transit_gateway_route_table_attachment.attachment.core_network_id #=> String
1393
+ # resp.transit_gateway_route_table_attachment.attachment.core_network_arn #=> String
1394
+ # resp.transit_gateway_route_table_attachment.attachment.attachment_id #=> String
1395
+ # resp.transit_gateway_route_table_attachment.attachment.owner_account_id #=> String
1396
+ # resp.transit_gateway_route_table_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
1397
+ # resp.transit_gateway_route_table_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
1398
+ # resp.transit_gateway_route_table_attachment.attachment.edge_location #=> String
1399
+ # resp.transit_gateway_route_table_attachment.attachment.resource_arn #=> String
1400
+ # resp.transit_gateway_route_table_attachment.attachment.attachment_policy_rule_number #=> Integer
1401
+ # resp.transit_gateway_route_table_attachment.attachment.segment_name #=> String
1402
+ # resp.transit_gateway_route_table_attachment.attachment.tags #=> Array
1403
+ # resp.transit_gateway_route_table_attachment.attachment.tags[0].key #=> String
1404
+ # resp.transit_gateway_route_table_attachment.attachment.tags[0].value #=> String
1405
+ # resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.tags #=> Array
1406
+ # resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.tags[0].key #=> String
1407
+ # resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.tags[0].value #=> String
1408
+ # resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
1409
+ # resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.segment_name #=> String
1410
+ # resp.transit_gateway_route_table_attachment.attachment.created_at #=> Time
1411
+ # resp.transit_gateway_route_table_attachment.attachment.updated_at #=> Time
1412
+ # resp.transit_gateway_route_table_attachment.peering_id #=> String
1413
+ # resp.transit_gateway_route_table_attachment.transit_gateway_route_table_arn #=> String
1414
+ #
1415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateTransitGatewayRouteTableAttachment AWS API Documentation
1416
+ #
1417
+ # @overload create_transit_gateway_route_table_attachment(params = {})
1418
+ # @param [Hash] params ({})
1419
+ def create_transit_gateway_route_table_attachment(params = {}, options = {})
1420
+ req = build_request(:create_transit_gateway_route_table_attachment, params)
1421
+ req.send_request(options)
1422
+ end
1423
+
1295
1424
  # Creates a VPC attachment on an edge location of a core network.
1296
1425
  #
1297
1426
  # @option params [required, String] :core_network_id
@@ -1343,7 +1472,7 @@ module Aws::NetworkManager
1343
1472
  # resp.vpc_attachment.attachment.core_network_arn #=> String
1344
1473
  # resp.vpc_attachment.attachment.attachment_id #=> String
1345
1474
  # resp.vpc_attachment.attachment.owner_account_id #=> String
1346
- # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
1475
+ # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
1347
1476
  # resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
1348
1477
  # resp.vpc_attachment.attachment.edge_location #=> String
1349
1478
  # resp.vpc_attachment.attachment.resource_arn #=> String
@@ -1393,7 +1522,7 @@ module Aws::NetworkManager
1393
1522
  # resp.attachment.core_network_arn #=> String
1394
1523
  # resp.attachment.attachment_id #=> String
1395
1524
  # resp.attachment.owner_account_id #=> String
1396
- # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
1525
+ # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
1397
1526
  # resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
1398
1527
  # resp.attachment.edge_location #=> String
1399
1528
  # resp.attachment.resource_arn #=> String
@@ -1734,6 +1863,45 @@ module Aws::NetworkManager
1734
1863
  req.send_request(options)
1735
1864
  end
1736
1865
 
1866
+ # Deletes an existing peering connection.
1867
+ #
1868
+ # @option params [required, String] :peering_id
1869
+ # The ID of the peering connection to delete.
1870
+ #
1871
+ # @return [Types::DeletePeeringResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1872
+ #
1873
+ # * {Types::DeletePeeringResponse#peering #peering} => Types::Peering
1874
+ #
1875
+ # @example Request syntax with placeholder values
1876
+ #
1877
+ # resp = client.delete_peering({
1878
+ # peering_id: "PeeringId", # required
1879
+ # })
1880
+ #
1881
+ # @example Response structure
1882
+ #
1883
+ # resp.peering.core_network_id #=> String
1884
+ # resp.peering.core_network_arn #=> String
1885
+ # resp.peering.peering_id #=> String
1886
+ # resp.peering.owner_account_id #=> String
1887
+ # resp.peering.peering_type #=> String, one of "TRANSIT_GATEWAY"
1888
+ # resp.peering.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
1889
+ # resp.peering.edge_location #=> String
1890
+ # resp.peering.resource_arn #=> String
1891
+ # resp.peering.tags #=> Array
1892
+ # resp.peering.tags[0].key #=> String
1893
+ # resp.peering.tags[0].value #=> String
1894
+ # resp.peering.created_at #=> Time
1895
+ #
1896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeletePeering AWS API Documentation
1897
+ #
1898
+ # @overload delete_peering(params = {})
1899
+ # @param [Hash] params ({})
1900
+ def delete_peering(params = {}, options = {})
1901
+ req = build_request(:delete_peering, params)
1902
+ req.send_request(options)
1903
+ end
1904
+
1737
1905
  # Deletes a resource policy for the specified resource. This revokes the
1738
1906
  # access of the principals specified in the resource policy.
1739
1907
  #
@@ -2086,7 +2254,7 @@ module Aws::NetworkManager
2086
2254
  # resp.connect_attachment.attachment.core_network_arn #=> String
2087
2255
  # resp.connect_attachment.attachment.attachment_id #=> String
2088
2256
  # resp.connect_attachment.attachment.owner_account_id #=> String
2089
- # resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
2257
+ # resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
2090
2258
  # resp.connect_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
2091
2259
  # resp.connect_attachment.attachment.edge_location #=> String
2092
2260
  # resp.connect_attachment.attachment.resource_arn #=> String
@@ -2318,6 +2486,59 @@ module Aws::NetworkManager
2318
2486
  req.send_request(options)
2319
2487
  end
2320
2488
 
2489
+ # Returns information about a core network change event.
2490
+ #
2491
+ # @option params [required, String] :core_network_id
2492
+ # The ID of a core network.
2493
+ #
2494
+ # @option params [required, Integer] :policy_version_id
2495
+ # The ID of the policy version.
2496
+ #
2497
+ # @option params [Integer] :max_results
2498
+ # The maximum number of results to return.
2499
+ #
2500
+ # @option params [String] :next_token
2501
+ # The token for the next page of results.
2502
+ #
2503
+ # @return [Types::GetCoreNetworkChangeEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2504
+ #
2505
+ # * {Types::GetCoreNetworkChangeEventsResponse#core_network_change_events #core_network_change_events} => Array&lt;Types::CoreNetworkChangeEvent&gt;
2506
+ # * {Types::GetCoreNetworkChangeEventsResponse#next_token #next_token} => String
2507
+ #
2508
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2509
+ #
2510
+ # @example Request syntax with placeholder values
2511
+ #
2512
+ # resp = client.get_core_network_change_events({
2513
+ # core_network_id: "CoreNetworkId", # required
2514
+ # policy_version_id: 1, # required
2515
+ # max_results: 1,
2516
+ # next_token: "NextToken",
2517
+ # })
2518
+ #
2519
+ # @example Response structure
2520
+ #
2521
+ # resp.core_network_change_events #=> Array
2522
+ # resp.core_network_change_events[0].type #=> String, one of "CORE_NETWORK_SEGMENT", "CORE_NETWORK_EDGE", "ATTACHMENT_MAPPING", "ATTACHMENT_ROUTE_PROPAGATION", "ATTACHMENT_ROUTE_STATIC", "CORE_NETWORK_CONFIGURATION", "SEGMENTS_CONFIGURATION", "SEGMENT_ACTIONS_CONFIGURATION", "ATTACHMENT_POLICIES_CONFIGURATION"
2523
+ # resp.core_network_change_events[0].action #=> String, one of "ADD", "MODIFY", "REMOVE"
2524
+ # resp.core_network_change_events[0].identifier_path #=> String
2525
+ # resp.core_network_change_events[0].event_time #=> Time
2526
+ # resp.core_network_change_events[0].status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "COMPLETE", "FAILED"
2527
+ # resp.core_network_change_events[0].values.edge_location #=> String
2528
+ # resp.core_network_change_events[0].values.segment_name #=> String
2529
+ # resp.core_network_change_events[0].values.attachment_id #=> String
2530
+ # resp.core_network_change_events[0].values.cidr #=> String
2531
+ # resp.next_token #=> String
2532
+ #
2533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkChangeEvents AWS API Documentation
2534
+ #
2535
+ # @overload get_core_network_change_events(params = {})
2536
+ # @param [Hash] params ({})
2537
+ def get_core_network_change_events(params = {}, options = {})
2538
+ req = build_request(:get_core_network_change_events, params)
2539
+ req.send_request(options)
2540
+ end
2541
+
2321
2542
  # Returns a change set between the LIVE core network policy and a
2322
2543
  # submitted policy.
2323
2544
  #
@@ -2352,7 +2573,7 @@ module Aws::NetworkManager
2352
2573
  # @example Response structure
2353
2574
  #
2354
2575
  # resp.core_network_changes #=> Array
2355
- # resp.core_network_changes[0].type #=> String, one of "CORE_NETWORK_SEGMENT", "CORE_NETWORK_EDGE", "ATTACHMENT_MAPPING", "ATTACHMENT_ROUTE_PROPAGATION", "ATTACHMENT_ROUTE_STATIC"
2576
+ # resp.core_network_changes[0].type #=> String, one of "CORE_NETWORK_SEGMENT", "CORE_NETWORK_EDGE", "ATTACHMENT_MAPPING", "ATTACHMENT_ROUTE_PROPAGATION", "ATTACHMENT_ROUTE_STATIC", "CORE_NETWORK_CONFIGURATION", "SEGMENTS_CONFIGURATION", "SEGMENT_ACTIONS_CONFIGURATION", "ATTACHMENT_POLICIES_CONFIGURATION"
2356
2577
  # resp.core_network_changes[0].action #=> String, one of "ADD", "MODIFY", "REMOVE"
2357
2578
  # resp.core_network_changes[0].identifier #=> String
2358
2579
  # resp.core_network_changes[0].previous_values.segment_name #=> String
@@ -2375,6 +2596,7 @@ module Aws::NetworkManager
2375
2596
  # resp.core_network_changes[0].new_values.inside_cidr_blocks[0] #=> String
2376
2597
  # resp.core_network_changes[0].new_values.shared_segments #=> Array
2377
2598
  # resp.core_network_changes[0].new_values.shared_segments[0] #=> String
2599
+ # resp.core_network_changes[0].identifier_path #=> String
2378
2600
  # resp.next_token #=> String
2379
2601
  #
2380
2602
  # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkChangeSet AWS API Documentation
@@ -2386,7 +2608,7 @@ module Aws::NetworkManager
2386
2608
  req.send_request(options)
2387
2609
  end
2388
2610
 
2389
- # Gets details about a core network policy. You can get details about
2611
+ # Returns details about a core network policy. You can get details about
2390
2612
  # your current live policy or any previous policy version.
2391
2613
  #
2392
2614
  # @option params [required, String] :core_network_id
@@ -3314,7 +3536,7 @@ module Aws::NetworkManager
3314
3536
  # resp.site_to_site_vpn_attachment.attachment.core_network_arn #=> String
3315
3537
  # resp.site_to_site_vpn_attachment.attachment.attachment_id #=> String
3316
3538
  # resp.site_to_site_vpn_attachment.attachment.owner_account_id #=> String
3317
- # resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
3539
+ # resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
3318
3540
  # resp.site_to_site_vpn_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
3319
3541
  # resp.site_to_site_vpn_attachment.attachment.edge_location #=> String
3320
3542
  # resp.site_to_site_vpn_attachment.attachment.resource_arn #=> String
@@ -3447,6 +3669,46 @@ module Aws::NetworkManager
3447
3669
  req.send_request(options)
3448
3670
  end
3449
3671
 
3672
+ # Returns information about a transit gateway peer.
3673
+ #
3674
+ # @option params [required, String] :peering_id
3675
+ # The ID of the peering request.
3676
+ #
3677
+ # @return [Types::GetTransitGatewayPeeringResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3678
+ #
3679
+ # * {Types::GetTransitGatewayPeeringResponse#transit_gateway_peering #transit_gateway_peering} => Types::TransitGatewayPeering
3680
+ #
3681
+ # @example Request syntax with placeholder values
3682
+ #
3683
+ # resp = client.get_transit_gateway_peering({
3684
+ # peering_id: "PeeringId", # required
3685
+ # })
3686
+ #
3687
+ # @example Response structure
3688
+ #
3689
+ # resp.transit_gateway_peering.peering.core_network_id #=> String
3690
+ # resp.transit_gateway_peering.peering.core_network_arn #=> String
3691
+ # resp.transit_gateway_peering.peering.peering_id #=> String
3692
+ # resp.transit_gateway_peering.peering.owner_account_id #=> String
3693
+ # resp.transit_gateway_peering.peering.peering_type #=> String, one of "TRANSIT_GATEWAY"
3694
+ # resp.transit_gateway_peering.peering.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
3695
+ # resp.transit_gateway_peering.peering.edge_location #=> String
3696
+ # resp.transit_gateway_peering.peering.resource_arn #=> String
3697
+ # resp.transit_gateway_peering.peering.tags #=> Array
3698
+ # resp.transit_gateway_peering.peering.tags[0].key #=> String
3699
+ # resp.transit_gateway_peering.peering.tags[0].value #=> String
3700
+ # resp.transit_gateway_peering.peering.created_at #=> Time
3701
+ # resp.transit_gateway_peering.transit_gateway_arn #=> String
3702
+ #
3703
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayPeering AWS API Documentation
3704
+ #
3705
+ # @overload get_transit_gateway_peering(params = {})
3706
+ # @param [Hash] params ({})
3707
+ def get_transit_gateway_peering(params = {}, options = {})
3708
+ req = build_request(:get_transit_gateway_peering, params)
3709
+ req.send_request(options)
3710
+ end
3711
+
3450
3712
  # Gets information about the transit gateway registrations in a
3451
3713
  # specified global network.
3452
3714
  #
@@ -3497,6 +3759,55 @@ module Aws::NetworkManager
3497
3759
  req.send_request(options)
3498
3760
  end
3499
3761
 
3762
+ # Returns information about a transit gateway route table attachment.
3763
+ #
3764
+ # @option params [required, String] :attachment_id
3765
+ # The ID of the transit gateway route table attachment.
3766
+ #
3767
+ # @return [Types::GetTransitGatewayRouteTableAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3768
+ #
3769
+ # * {Types::GetTransitGatewayRouteTableAttachmentResponse#transit_gateway_route_table_attachment #transit_gateway_route_table_attachment} => Types::TransitGatewayRouteTableAttachment
3770
+ #
3771
+ # @example Request syntax with placeholder values
3772
+ #
3773
+ # resp = client.get_transit_gateway_route_table_attachment({
3774
+ # attachment_id: "AttachmentId", # required
3775
+ # })
3776
+ #
3777
+ # @example Response structure
3778
+ #
3779
+ # resp.transit_gateway_route_table_attachment.attachment.core_network_id #=> String
3780
+ # resp.transit_gateway_route_table_attachment.attachment.core_network_arn #=> String
3781
+ # resp.transit_gateway_route_table_attachment.attachment.attachment_id #=> String
3782
+ # resp.transit_gateway_route_table_attachment.attachment.owner_account_id #=> String
3783
+ # resp.transit_gateway_route_table_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
3784
+ # resp.transit_gateway_route_table_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
3785
+ # resp.transit_gateway_route_table_attachment.attachment.edge_location #=> String
3786
+ # resp.transit_gateway_route_table_attachment.attachment.resource_arn #=> String
3787
+ # resp.transit_gateway_route_table_attachment.attachment.attachment_policy_rule_number #=> Integer
3788
+ # resp.transit_gateway_route_table_attachment.attachment.segment_name #=> String
3789
+ # resp.transit_gateway_route_table_attachment.attachment.tags #=> Array
3790
+ # resp.transit_gateway_route_table_attachment.attachment.tags[0].key #=> String
3791
+ # resp.transit_gateway_route_table_attachment.attachment.tags[0].value #=> String
3792
+ # resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.tags #=> Array
3793
+ # resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.tags[0].key #=> String
3794
+ # resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.tags[0].value #=> String
3795
+ # resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
3796
+ # resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.segment_name #=> String
3797
+ # resp.transit_gateway_route_table_attachment.attachment.created_at #=> Time
3798
+ # resp.transit_gateway_route_table_attachment.attachment.updated_at #=> Time
3799
+ # resp.transit_gateway_route_table_attachment.peering_id #=> String
3800
+ # resp.transit_gateway_route_table_attachment.transit_gateway_route_table_arn #=> String
3801
+ #
3802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRouteTableAttachment AWS API Documentation
3803
+ #
3804
+ # @overload get_transit_gateway_route_table_attachment(params = {})
3805
+ # @param [Hash] params ({})
3806
+ def get_transit_gateway_route_table_attachment(params = {}, options = {})
3807
+ req = build_request(:get_transit_gateway_route_table_attachment, params)
3808
+ req.send_request(options)
3809
+ end
3810
+
3500
3811
  # Returns information about a VPC attachment.
3501
3812
  #
3502
3813
  # @option params [required, String] :attachment_id
@@ -3518,7 +3829,7 @@ module Aws::NetworkManager
3518
3829
  # resp.vpc_attachment.attachment.core_network_arn #=> String
3519
3830
  # resp.vpc_attachment.attachment.attachment_id #=> String
3520
3831
  # resp.vpc_attachment.attachment.owner_account_id #=> String
3521
- # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
3832
+ # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
3522
3833
  # resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
3523
3834
  # resp.vpc_attachment.attachment.edge_location #=> String
3524
3835
  # resp.vpc_attachment.attachment.resource_arn #=> String
@@ -3578,7 +3889,7 @@ module Aws::NetworkManager
3578
3889
  #
3579
3890
  # resp = client.list_attachments({
3580
3891
  # core_network_id: "CoreNetworkId",
3581
- # attachment_type: "CONNECT", # accepts CONNECT, SITE_TO_SITE_VPN, VPC
3892
+ # attachment_type: "CONNECT", # accepts CONNECT, SITE_TO_SITE_VPN, VPC, TRANSIT_GATEWAY_ROUTE_TABLE
3582
3893
  # edge_location: "ExternalRegionCode",
3583
3894
  # state: "REJECTED", # accepts REJECTED, PENDING_ATTACHMENT_ACCEPTANCE, CREATING, FAILED, AVAILABLE, UPDATING, PENDING_NETWORK_UPDATE, PENDING_TAG_ACCEPTANCE, DELETING
3584
3895
  # max_results: 1,
@@ -3592,7 +3903,7 @@ module Aws::NetworkManager
3592
3903
  # resp.attachments[0].core_network_arn #=> String
3593
3904
  # resp.attachments[0].attachment_id #=> String
3594
3905
  # resp.attachments[0].owner_account_id #=> String
3595
- # resp.attachments[0].attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
3906
+ # resp.attachments[0].attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
3596
3907
  # resp.attachments[0].state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
3597
3908
  # resp.attachments[0].edge_location #=> String
3598
3909
  # resp.attachments[0].resource_arn #=> String
@@ -3763,9 +4074,14 @@ module Aws::NetworkManager
3763
4074
  req.send_request(options)
3764
4075
  end
3765
4076
 
4077
+ # Gets the status of the Service Linked Role (SLR) deployment for the
4078
+ # accounts in a given Amazon Web Services Organization.
4079
+ #
3766
4080
  # @option params [Integer] :max_results
4081
+ # The maximum number of results to return.
3767
4082
  #
3768
4083
  # @option params [String] :next_token
4084
+ # The token for the next page of results.
3769
4085
  #
3770
4086
  # @return [Types::ListOrganizationServiceAccessStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3771
4087
  #
@@ -3798,6 +4114,70 @@ module Aws::NetworkManager
3798
4114
  req.send_request(options)
3799
4115
  end
3800
4116
 
4117
+ # Lists the peerings for a core network.
4118
+ #
4119
+ # @option params [String] :core_network_id
4120
+ # The ID of a core network.
4121
+ #
4122
+ # @option params [String] :peering_type
4123
+ # Returns a list of a peering requests.
4124
+ #
4125
+ # @option params [String] :edge_location
4126
+ # Returns a list edge locations for the
4127
+ #
4128
+ # @option params [String] :state
4129
+ # Returns a list of the peering request states.
4130
+ #
4131
+ # @option params [Integer] :max_results
4132
+ # The maximum number of results to return.
4133
+ #
4134
+ # @option params [String] :next_token
4135
+ # The token for the next page of results.
4136
+ #
4137
+ # @return [Types::ListPeeringsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4138
+ #
4139
+ # * {Types::ListPeeringsResponse#peerings #peerings} => Array&lt;Types::Peering&gt;
4140
+ # * {Types::ListPeeringsResponse#next_token #next_token} => String
4141
+ #
4142
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4143
+ #
4144
+ # @example Request syntax with placeholder values
4145
+ #
4146
+ # resp = client.list_peerings({
4147
+ # core_network_id: "CoreNetworkId",
4148
+ # peering_type: "TRANSIT_GATEWAY", # accepts TRANSIT_GATEWAY
4149
+ # edge_location: "ExternalRegionCode",
4150
+ # state: "CREATING", # accepts CREATING, FAILED, AVAILABLE, DELETING
4151
+ # max_results: 1,
4152
+ # next_token: "NextToken",
4153
+ # })
4154
+ #
4155
+ # @example Response structure
4156
+ #
4157
+ # resp.peerings #=> Array
4158
+ # resp.peerings[0].core_network_id #=> String
4159
+ # resp.peerings[0].core_network_arn #=> String
4160
+ # resp.peerings[0].peering_id #=> String
4161
+ # resp.peerings[0].owner_account_id #=> String
4162
+ # resp.peerings[0].peering_type #=> String, one of "TRANSIT_GATEWAY"
4163
+ # resp.peerings[0].state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
4164
+ # resp.peerings[0].edge_location #=> String
4165
+ # resp.peerings[0].resource_arn #=> String
4166
+ # resp.peerings[0].tags #=> Array
4167
+ # resp.peerings[0].tags[0].key #=> String
4168
+ # resp.peerings[0].tags[0].value #=> String
4169
+ # resp.peerings[0].created_at #=> Time
4170
+ # resp.next_token #=> String
4171
+ #
4172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListPeerings AWS API Documentation
4173
+ #
4174
+ # @overload list_peerings(params = {})
4175
+ # @param [Hash] params ({})
4176
+ def list_peerings(params = {}, options = {})
4177
+ req = build_request(:list_peerings, params)
4178
+ req.send_request(options)
4179
+ end
4180
+
3801
4181
  # Lists the tags for a specified resource.
3802
4182
  #
3803
4183
  # @option params [required, String] :resource_arn
@@ -3980,7 +4360,7 @@ module Aws::NetworkManager
3980
4360
  # resp.attachment.core_network_arn #=> String
3981
4361
  # resp.attachment.attachment_id #=> String
3982
4362
  # resp.attachment.owner_account_id #=> String
3983
- # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
4363
+ # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
3984
4364
  # resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
3985
4365
  # resp.attachment.edge_location #=> String
3986
4366
  # resp.attachment.resource_arn #=> String
@@ -4050,7 +4430,13 @@ module Aws::NetworkManager
4050
4430
  req.send_request(options)
4051
4431
  end
4052
4432
 
4433
+ # Enables for the Network Manager service for an Amazon Web Services
4434
+ # Organization. This can only be called by a management account within
4435
+ # the organization.
4436
+ #
4053
4437
  # @option params [required, String] :action
4438
+ # The action to take for the update request. This can be either `ENABLE`
4439
+ # or `DISABLE`.
4054
4440
  #
4055
4441
  # @return [Types::StartOrganizationServiceAccessUpdateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4056
4442
  #
@@ -4693,7 +5079,7 @@ module Aws::NetworkManager
4693
5079
  # resp.vpc_attachment.attachment.core_network_arn #=> String
4694
5080
  # resp.vpc_attachment.attachment.attachment_id #=> String
4695
5081
  # resp.vpc_attachment.attachment.owner_account_id #=> String
4696
- # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
5082
+ # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
4697
5083
  # resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
4698
5084
  # resp.vpc_attachment.attachment.edge_location #=> String
4699
5085
  # resp.vpc_attachment.attachment.resource_arn #=> String
@@ -4735,7 +5121,7 @@ module Aws::NetworkManager
4735
5121
  params: params,
4736
5122
  config: config)
4737
5123
  context[:gem_name] = 'aws-sdk-networkmanager'
4738
- context[:gem_version] = '1.23.0'
5124
+ context[:gem_version] = '1.24.0'
4739
5125
  Seahorse::Client::Request.new(handlers, context)
4740
5126
  end
4741
5127