aws-sdk-networkmanager 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-networkmanager.rb +1 -1
- data/lib/aws-sdk-networkmanager/client.rb +401 -1
- data/lib/aws-sdk-networkmanager/client_api.rb +228 -0
- data/lib/aws-sdk-networkmanager/types.rb +525 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52641cbdd82fd08d2607c1b586cfb364d5d5e6cc0012b4bd0851d313dd80cb3f
|
4
|
+
data.tar.gz: aec152b60374efcfa4edd0038f0bc5d4051565b436e7bdbe79aa864432645ace
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72ac0606a5d628341caf8b0bd9c52f973320ff773f8a5319cae60b3243c50538b7c9882fb3b827b50694649887f165cdc8e7a5294c7e4ceabf1e00bf88bc3837
|
7
|
+
data.tar.gz: 77740213f1c54658bbc7529be29ebe65d906e1ed8dd12639ec9b9e48ec709dac9508432108085f06cb984da573db94cd770ff4d49bd9c7eab52a645a007c4ad5
|
@@ -435,6 +435,133 @@ module Aws::NetworkManager
|
|
435
435
|
req.send_request(options)
|
436
436
|
end
|
437
437
|
|
438
|
+
# Associates a transit gateway Connect peer with a device, and
|
439
|
+
# optionally, with a link. If you specify a link, it must be associated
|
440
|
+
# with the specified device.
|
441
|
+
#
|
442
|
+
# You can only associate transit gateway Connect peers that have been
|
443
|
+
# created on a transit gateway that's registered in your global
|
444
|
+
# network.
|
445
|
+
#
|
446
|
+
# You cannot associate a transit gateway Connect peer with more than one
|
447
|
+
# device and link.
|
448
|
+
#
|
449
|
+
# @option params [required, String] :global_network_id
|
450
|
+
# The ID of the global network.
|
451
|
+
#
|
452
|
+
# @option params [required, String] :transit_gateway_connect_peer_arn
|
453
|
+
# The Amazon Resource Name (ARN) of the Connect peer.
|
454
|
+
#
|
455
|
+
# @option params [required, String] :device_id
|
456
|
+
# The ID of the device.
|
457
|
+
#
|
458
|
+
# @option params [String] :link_id
|
459
|
+
# The ID of the link.
|
460
|
+
#
|
461
|
+
# @return [Types::AssociateTransitGatewayConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
462
|
+
#
|
463
|
+
# * {Types::AssociateTransitGatewayConnectPeerResponse#transit_gateway_connect_peer_association #transit_gateway_connect_peer_association} => Types::TransitGatewayConnectPeerAssociation
|
464
|
+
#
|
465
|
+
# @example Request syntax with placeholder values
|
466
|
+
#
|
467
|
+
# resp = client.associate_transit_gateway_connect_peer({
|
468
|
+
# global_network_id: "String", # required
|
469
|
+
# transit_gateway_connect_peer_arn: "String", # required
|
470
|
+
# device_id: "String", # required
|
471
|
+
# link_id: "String",
|
472
|
+
# })
|
473
|
+
#
|
474
|
+
# @example Response structure
|
475
|
+
#
|
476
|
+
# resp.transit_gateway_connect_peer_association.transit_gateway_connect_peer_arn #=> String
|
477
|
+
# resp.transit_gateway_connect_peer_association.global_network_id #=> String
|
478
|
+
# resp.transit_gateway_connect_peer_association.device_id #=> String
|
479
|
+
# resp.transit_gateway_connect_peer_association.link_id #=> String
|
480
|
+
# resp.transit_gateway_connect_peer_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
|
481
|
+
#
|
482
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateTransitGatewayConnectPeer AWS API Documentation
|
483
|
+
#
|
484
|
+
# @overload associate_transit_gateway_connect_peer(params = {})
|
485
|
+
# @param [Hash] params ({})
|
486
|
+
def associate_transit_gateway_connect_peer(params = {}, options = {})
|
487
|
+
req = build_request(:associate_transit_gateway_connect_peer, params)
|
488
|
+
req.send_request(options)
|
489
|
+
end
|
490
|
+
|
491
|
+
# Creates a connection between two devices. The devices can be a
|
492
|
+
# physical or virtual appliance that connects to a third-party appliance
|
493
|
+
# in a VPC, or a physical appliance that connects to another physical
|
494
|
+
# appliance in an on-premises network.
|
495
|
+
#
|
496
|
+
# @option params [required, String] :global_network_id
|
497
|
+
# The ID of the global network.
|
498
|
+
#
|
499
|
+
# @option params [required, String] :device_id
|
500
|
+
# The ID of the first device in the connection.
|
501
|
+
#
|
502
|
+
# @option params [required, String] :connected_device_id
|
503
|
+
# The ID of the second device in the connection.
|
504
|
+
#
|
505
|
+
# @option params [String] :link_id
|
506
|
+
# The ID of the link for the first device.
|
507
|
+
#
|
508
|
+
# @option params [String] :connected_link_id
|
509
|
+
# The ID of the link for the second device.
|
510
|
+
#
|
511
|
+
# @option params [String] :description
|
512
|
+
# A description of the connection.
|
513
|
+
#
|
514
|
+
# Length Constraints: Maximum length of 256 characters.
|
515
|
+
#
|
516
|
+
# @option params [Array<Types::Tag>] :tags
|
517
|
+
# The tags to apply to the resource during creation.
|
518
|
+
#
|
519
|
+
# @return [Types::CreateConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
520
|
+
#
|
521
|
+
# * {Types::CreateConnectionResponse#connection #connection} => Types::Connection
|
522
|
+
#
|
523
|
+
# @example Request syntax with placeholder values
|
524
|
+
#
|
525
|
+
# resp = client.create_connection({
|
526
|
+
# global_network_id: "String", # required
|
527
|
+
# device_id: "String", # required
|
528
|
+
# connected_device_id: "String", # required
|
529
|
+
# link_id: "String",
|
530
|
+
# connected_link_id: "String",
|
531
|
+
# description: "String",
|
532
|
+
# tags: [
|
533
|
+
# {
|
534
|
+
# key: "TagKey",
|
535
|
+
# value: "TagValue",
|
536
|
+
# },
|
537
|
+
# ],
|
538
|
+
# })
|
539
|
+
#
|
540
|
+
# @example Response structure
|
541
|
+
#
|
542
|
+
# resp.connection.connection_id #=> String
|
543
|
+
# resp.connection.connection_arn #=> String
|
544
|
+
# resp.connection.global_network_id #=> String
|
545
|
+
# resp.connection.device_id #=> String
|
546
|
+
# resp.connection.connected_device_id #=> String
|
547
|
+
# resp.connection.link_id #=> String
|
548
|
+
# resp.connection.connected_link_id #=> String
|
549
|
+
# resp.connection.description #=> String
|
550
|
+
# resp.connection.created_at #=> Time
|
551
|
+
# resp.connection.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
|
552
|
+
# resp.connection.tags #=> Array
|
553
|
+
# resp.connection.tags[0].key #=> String
|
554
|
+
# resp.connection.tags[0].value #=> String
|
555
|
+
#
|
556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnection AWS API Documentation
|
557
|
+
#
|
558
|
+
# @overload create_connection(params = {})
|
559
|
+
# @param [Hash] params ({})
|
560
|
+
def create_connection(params = {}, options = {})
|
561
|
+
req = build_request(:create_connection, params)
|
562
|
+
req.send_request(options)
|
563
|
+
end
|
564
|
+
|
438
565
|
# Creates a new device in a global network. If you specify both a site
|
439
566
|
# ID and a location, the location of the site is used for visualization
|
440
567
|
# in the Network Manager console.
|
@@ -442,6 +569,9 @@ module Aws::NetworkManager
|
|
442
569
|
# @option params [required, String] :global_network_id
|
443
570
|
# The ID of the global network.
|
444
571
|
#
|
572
|
+
# @option params [Types::AWSLocation] :aws_location
|
573
|
+
# The AWS location of the device.
|
574
|
+
#
|
445
575
|
# @option params [String] :description
|
446
576
|
# A description of the device.
|
447
577
|
#
|
@@ -482,6 +612,10 @@ module Aws::NetworkManager
|
|
482
612
|
#
|
483
613
|
# resp = client.create_device({
|
484
614
|
# global_network_id: "String", # required
|
615
|
+
# aws_location: {
|
616
|
+
# zone: "String",
|
617
|
+
# subnet_arn: "String",
|
618
|
+
# },
|
485
619
|
# description: "String",
|
486
620
|
# type: "String",
|
487
621
|
# vendor: "String",
|
@@ -506,6 +640,8 @@ module Aws::NetworkManager
|
|
506
640
|
# resp.device.device_id #=> String
|
507
641
|
# resp.device.device_arn #=> String
|
508
642
|
# resp.device.global_network_id #=> String
|
643
|
+
# resp.device.aws_location.zone #=> String
|
644
|
+
# resp.device.aws_location.subnet_arn #=> String
|
509
645
|
# resp.device.description #=> String
|
510
646
|
# resp.device.type #=> String
|
511
647
|
# resp.device.vendor #=> String
|
@@ -729,6 +865,50 @@ module Aws::NetworkManager
|
|
729
865
|
req.send_request(options)
|
730
866
|
end
|
731
867
|
|
868
|
+
# Deletes the specified connection in your global network.
|
869
|
+
#
|
870
|
+
# @option params [required, String] :global_network_id
|
871
|
+
# The ID of the global network.
|
872
|
+
#
|
873
|
+
# @option params [required, String] :connection_id
|
874
|
+
# The ID of the connection.
|
875
|
+
#
|
876
|
+
# @return [Types::DeleteConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
877
|
+
#
|
878
|
+
# * {Types::DeleteConnectionResponse#connection #connection} => Types::Connection
|
879
|
+
#
|
880
|
+
# @example Request syntax with placeholder values
|
881
|
+
#
|
882
|
+
# resp = client.delete_connection({
|
883
|
+
# global_network_id: "String", # required
|
884
|
+
# connection_id: "String", # required
|
885
|
+
# })
|
886
|
+
#
|
887
|
+
# @example Response structure
|
888
|
+
#
|
889
|
+
# resp.connection.connection_id #=> String
|
890
|
+
# resp.connection.connection_arn #=> String
|
891
|
+
# resp.connection.global_network_id #=> String
|
892
|
+
# resp.connection.device_id #=> String
|
893
|
+
# resp.connection.connected_device_id #=> String
|
894
|
+
# resp.connection.link_id #=> String
|
895
|
+
# resp.connection.connected_link_id #=> String
|
896
|
+
# resp.connection.description #=> String
|
897
|
+
# resp.connection.created_at #=> Time
|
898
|
+
# resp.connection.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
|
899
|
+
# resp.connection.tags #=> Array
|
900
|
+
# resp.connection.tags[0].key #=> String
|
901
|
+
# resp.connection.tags[0].value #=> String
|
902
|
+
#
|
903
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnection AWS API Documentation
|
904
|
+
#
|
905
|
+
# @overload delete_connection(params = {})
|
906
|
+
# @param [Hash] params ({})
|
907
|
+
def delete_connection(params = {}, options = {})
|
908
|
+
req = build_request(:delete_connection, params)
|
909
|
+
req.send_request(options)
|
910
|
+
end
|
911
|
+
|
732
912
|
# Deletes an existing device. You must first disassociate the device
|
733
913
|
# from any links and customer gateways.
|
734
914
|
#
|
@@ -754,6 +934,8 @@ module Aws::NetworkManager
|
|
754
934
|
# resp.device.device_id #=> String
|
755
935
|
# resp.device.device_arn #=> String
|
756
936
|
# resp.device.global_network_id #=> String
|
937
|
+
# resp.device.aws_location.zone #=> String
|
938
|
+
# resp.device.aws_location.subnet_arn #=> String
|
757
939
|
# resp.device.description #=> String
|
758
940
|
# resp.device.type #=> String
|
759
941
|
# resp.device.vendor #=> String
|
@@ -1075,6 +1257,104 @@ module Aws::NetworkManager
|
|
1075
1257
|
req.send_request(options)
|
1076
1258
|
end
|
1077
1259
|
|
1260
|
+
# Disassociates a transit gateway Connect peer from a device and link.
|
1261
|
+
#
|
1262
|
+
# @option params [required, String] :global_network_id
|
1263
|
+
# The ID of the global network.
|
1264
|
+
#
|
1265
|
+
# @option params [required, String] :transit_gateway_connect_peer_arn
|
1266
|
+
# The Amazon Resource Name (ARN) of the transit gateway Connect peer.
|
1267
|
+
#
|
1268
|
+
# @return [Types::DisassociateTransitGatewayConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1269
|
+
#
|
1270
|
+
# * {Types::DisassociateTransitGatewayConnectPeerResponse#transit_gateway_connect_peer_association #transit_gateway_connect_peer_association} => Types::TransitGatewayConnectPeerAssociation
|
1271
|
+
#
|
1272
|
+
# @example Request syntax with placeholder values
|
1273
|
+
#
|
1274
|
+
# resp = client.disassociate_transit_gateway_connect_peer({
|
1275
|
+
# global_network_id: "String", # required
|
1276
|
+
# transit_gateway_connect_peer_arn: "String", # required
|
1277
|
+
# })
|
1278
|
+
#
|
1279
|
+
# @example Response structure
|
1280
|
+
#
|
1281
|
+
# resp.transit_gateway_connect_peer_association.transit_gateway_connect_peer_arn #=> String
|
1282
|
+
# resp.transit_gateway_connect_peer_association.global_network_id #=> String
|
1283
|
+
# resp.transit_gateway_connect_peer_association.device_id #=> String
|
1284
|
+
# resp.transit_gateway_connect_peer_association.link_id #=> String
|
1285
|
+
# resp.transit_gateway_connect_peer_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
|
1286
|
+
#
|
1287
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateTransitGatewayConnectPeer AWS API Documentation
|
1288
|
+
#
|
1289
|
+
# @overload disassociate_transit_gateway_connect_peer(params = {})
|
1290
|
+
# @param [Hash] params ({})
|
1291
|
+
def disassociate_transit_gateway_connect_peer(params = {}, options = {})
|
1292
|
+
req = build_request(:disassociate_transit_gateway_connect_peer, params)
|
1293
|
+
req.send_request(options)
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
# Gets information about one or more of your connections in a global
|
1297
|
+
# network.
|
1298
|
+
#
|
1299
|
+
# @option params [required, String] :global_network_id
|
1300
|
+
# The ID of the global network.
|
1301
|
+
#
|
1302
|
+
# @option params [Array<String>] :connection_ids
|
1303
|
+
# One or more connection IDs.
|
1304
|
+
#
|
1305
|
+
# @option params [String] :device_id
|
1306
|
+
# The ID of the device.
|
1307
|
+
#
|
1308
|
+
# @option params [Integer] :max_results
|
1309
|
+
# The maximum number of results to return.
|
1310
|
+
#
|
1311
|
+
# @option params [String] :next_token
|
1312
|
+
# The token for the next page of results.
|
1313
|
+
#
|
1314
|
+
# @return [Types::GetConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1315
|
+
#
|
1316
|
+
# * {Types::GetConnectionsResponse#connections #connections} => Array<Types::Connection>
|
1317
|
+
# * {Types::GetConnectionsResponse#next_token #next_token} => String
|
1318
|
+
#
|
1319
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1320
|
+
#
|
1321
|
+
# @example Request syntax with placeholder values
|
1322
|
+
#
|
1323
|
+
# resp = client.get_connections({
|
1324
|
+
# global_network_id: "String", # required
|
1325
|
+
# connection_ids: ["String"],
|
1326
|
+
# device_id: "String",
|
1327
|
+
# max_results: 1,
|
1328
|
+
# next_token: "String",
|
1329
|
+
# })
|
1330
|
+
#
|
1331
|
+
# @example Response structure
|
1332
|
+
#
|
1333
|
+
# resp.connections #=> Array
|
1334
|
+
# resp.connections[0].connection_id #=> String
|
1335
|
+
# resp.connections[0].connection_arn #=> String
|
1336
|
+
# resp.connections[0].global_network_id #=> String
|
1337
|
+
# resp.connections[0].device_id #=> String
|
1338
|
+
# resp.connections[0].connected_device_id #=> String
|
1339
|
+
# resp.connections[0].link_id #=> String
|
1340
|
+
# resp.connections[0].connected_link_id #=> String
|
1341
|
+
# resp.connections[0].description #=> String
|
1342
|
+
# resp.connections[0].created_at #=> Time
|
1343
|
+
# resp.connections[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
|
1344
|
+
# resp.connections[0].tags #=> Array
|
1345
|
+
# resp.connections[0].tags[0].key #=> String
|
1346
|
+
# resp.connections[0].tags[0].value #=> String
|
1347
|
+
# resp.next_token #=> String
|
1348
|
+
#
|
1349
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnections AWS API Documentation
|
1350
|
+
#
|
1351
|
+
# @overload get_connections(params = {})
|
1352
|
+
# @param [Hash] params ({})
|
1353
|
+
def get_connections(params = {}, options = {})
|
1354
|
+
req = build_request(:get_connections, params)
|
1355
|
+
req.send_request(options)
|
1356
|
+
end
|
1357
|
+
|
1078
1358
|
# Gets the association information for customer gateways that are
|
1079
1359
|
# associated with devices and links in your global network.
|
1080
1360
|
#
|
@@ -1172,6 +1452,8 @@ module Aws::NetworkManager
|
|
1172
1452
|
# resp.devices[0].device_id #=> String
|
1173
1453
|
# resp.devices[0].device_arn #=> String
|
1174
1454
|
# resp.devices[0].global_network_id #=> String
|
1455
|
+
# resp.devices[0].aws_location.zone #=> String
|
1456
|
+
# resp.devices[0].aws_location.subnet_arn #=> String
|
1175
1457
|
# resp.devices[0].description #=> String
|
1176
1458
|
# resp.devices[0].type #=> String
|
1177
1459
|
# resp.devices[0].vendor #=> String
|
@@ -1381,6 +1663,56 @@ module Aws::NetworkManager
|
|
1381
1663
|
req.send_request(options)
|
1382
1664
|
end
|
1383
1665
|
|
1666
|
+
# Gets information about one or more of your transit gateway Connect
|
1667
|
+
# peer associations in a global network.
|
1668
|
+
#
|
1669
|
+
# @option params [required, String] :global_network_id
|
1670
|
+
# The ID of the global network.
|
1671
|
+
#
|
1672
|
+
# @option params [Array<String>] :transit_gateway_connect_peer_arns
|
1673
|
+
# One or more transit gateway Connect peer Amazon Resource Names (ARNs).
|
1674
|
+
#
|
1675
|
+
# @option params [Integer] :max_results
|
1676
|
+
# The maximum number of results to return.
|
1677
|
+
#
|
1678
|
+
# @option params [String] :next_token
|
1679
|
+
# The token for the next page of results.
|
1680
|
+
#
|
1681
|
+
# @return [Types::GetTransitGatewayConnectPeerAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1682
|
+
#
|
1683
|
+
# * {Types::GetTransitGatewayConnectPeerAssociationsResponse#transit_gateway_connect_peer_associations #transit_gateway_connect_peer_associations} => Array<Types::TransitGatewayConnectPeerAssociation>
|
1684
|
+
# * {Types::GetTransitGatewayConnectPeerAssociationsResponse#next_token #next_token} => String
|
1685
|
+
#
|
1686
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1687
|
+
#
|
1688
|
+
# @example Request syntax with placeholder values
|
1689
|
+
#
|
1690
|
+
# resp = client.get_transit_gateway_connect_peer_associations({
|
1691
|
+
# global_network_id: "String", # required
|
1692
|
+
# transit_gateway_connect_peer_arns: ["String"],
|
1693
|
+
# max_results: 1,
|
1694
|
+
# next_token: "String",
|
1695
|
+
# })
|
1696
|
+
#
|
1697
|
+
# @example Response structure
|
1698
|
+
#
|
1699
|
+
# resp.transit_gateway_connect_peer_associations #=> Array
|
1700
|
+
# resp.transit_gateway_connect_peer_associations[0].transit_gateway_connect_peer_arn #=> String
|
1701
|
+
# resp.transit_gateway_connect_peer_associations[0].global_network_id #=> String
|
1702
|
+
# resp.transit_gateway_connect_peer_associations[0].device_id #=> String
|
1703
|
+
# resp.transit_gateway_connect_peer_associations[0].link_id #=> String
|
1704
|
+
# resp.transit_gateway_connect_peer_associations[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
|
1705
|
+
# resp.next_token #=> String
|
1706
|
+
#
|
1707
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayConnectPeerAssociations AWS API Documentation
|
1708
|
+
#
|
1709
|
+
# @overload get_transit_gateway_connect_peer_associations(params = {})
|
1710
|
+
# @param [Hash] params ({})
|
1711
|
+
def get_transit_gateway_connect_peer_associations(params = {}, options = {})
|
1712
|
+
req = build_request(:get_transit_gateway_connect_peer_associations, params)
|
1713
|
+
req.send_request(options)
|
1714
|
+
end
|
1715
|
+
|
1384
1716
|
# Gets information about the transit gateway registrations in a
|
1385
1717
|
# specified global network.
|
1386
1718
|
#
|
@@ -1561,6 +1893,65 @@ module Aws::NetworkManager
|
|
1561
1893
|
req.send_request(options)
|
1562
1894
|
end
|
1563
1895
|
|
1896
|
+
# Updates the information for an existing connection. To remove
|
1897
|
+
# information for any of the parameters, specify an empty string.
|
1898
|
+
#
|
1899
|
+
# @option params [required, String] :global_network_id
|
1900
|
+
# The ID of the global network.
|
1901
|
+
#
|
1902
|
+
# @option params [required, String] :connection_id
|
1903
|
+
# The ID of the connection.
|
1904
|
+
#
|
1905
|
+
# @option params [String] :link_id
|
1906
|
+
# The ID of the link for the first device in the connection.
|
1907
|
+
#
|
1908
|
+
# @option params [String] :connected_link_id
|
1909
|
+
# The ID of the link for the second device in the connection.
|
1910
|
+
#
|
1911
|
+
# @option params [String] :description
|
1912
|
+
# A description of the connection.
|
1913
|
+
#
|
1914
|
+
# Length Constraints: Maximum length of 256 characters.
|
1915
|
+
#
|
1916
|
+
# @return [Types::UpdateConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1917
|
+
#
|
1918
|
+
# * {Types::UpdateConnectionResponse#connection #connection} => Types::Connection
|
1919
|
+
#
|
1920
|
+
# @example Request syntax with placeholder values
|
1921
|
+
#
|
1922
|
+
# resp = client.update_connection({
|
1923
|
+
# global_network_id: "String", # required
|
1924
|
+
# connection_id: "String", # required
|
1925
|
+
# link_id: "String",
|
1926
|
+
# connected_link_id: "String",
|
1927
|
+
# description: "String",
|
1928
|
+
# })
|
1929
|
+
#
|
1930
|
+
# @example Response structure
|
1931
|
+
#
|
1932
|
+
# resp.connection.connection_id #=> String
|
1933
|
+
# resp.connection.connection_arn #=> String
|
1934
|
+
# resp.connection.global_network_id #=> String
|
1935
|
+
# resp.connection.device_id #=> String
|
1936
|
+
# resp.connection.connected_device_id #=> String
|
1937
|
+
# resp.connection.link_id #=> String
|
1938
|
+
# resp.connection.connected_link_id #=> String
|
1939
|
+
# resp.connection.description #=> String
|
1940
|
+
# resp.connection.created_at #=> Time
|
1941
|
+
# resp.connection.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
|
1942
|
+
# resp.connection.tags #=> Array
|
1943
|
+
# resp.connection.tags[0].key #=> String
|
1944
|
+
# resp.connection.tags[0].value #=> String
|
1945
|
+
#
|
1946
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateConnection AWS API Documentation
|
1947
|
+
#
|
1948
|
+
# @overload update_connection(params = {})
|
1949
|
+
# @param [Hash] params ({})
|
1950
|
+
def update_connection(params = {}, options = {})
|
1951
|
+
req = build_request(:update_connection, params)
|
1952
|
+
req.send_request(options)
|
1953
|
+
end
|
1954
|
+
|
1564
1955
|
# Updates the details for an existing device. To remove information for
|
1565
1956
|
# any of the parameters, specify an empty string.
|
1566
1957
|
#
|
@@ -1570,6 +1961,9 @@ module Aws::NetworkManager
|
|
1570
1961
|
# @option params [required, String] :device_id
|
1571
1962
|
# The ID of the device.
|
1572
1963
|
#
|
1964
|
+
# @option params [Types::AWSLocation] :aws_location
|
1965
|
+
# The AWS location of the device.
|
1966
|
+
#
|
1573
1967
|
# @option params [String] :description
|
1574
1968
|
# A description of the device.
|
1575
1969
|
#
|
@@ -1608,6 +2002,10 @@ module Aws::NetworkManager
|
|
1608
2002
|
# resp = client.update_device({
|
1609
2003
|
# global_network_id: "String", # required
|
1610
2004
|
# device_id: "String", # required
|
2005
|
+
# aws_location: {
|
2006
|
+
# zone: "String",
|
2007
|
+
# subnet_arn: "String",
|
2008
|
+
# },
|
1611
2009
|
# description: "String",
|
1612
2010
|
# type: "String",
|
1613
2011
|
# vendor: "String",
|
@@ -1626,6 +2024,8 @@ module Aws::NetworkManager
|
|
1626
2024
|
# resp.device.device_id #=> String
|
1627
2025
|
# resp.device.device_arn #=> String
|
1628
2026
|
# resp.device.global_network_id #=> String
|
2027
|
+
# resp.device.aws_location.zone #=> String
|
2028
|
+
# resp.device.aws_location.subnet_arn #=> String
|
1629
2029
|
# resp.device.description #=> String
|
1630
2030
|
# resp.device.type #=> String
|
1631
2031
|
# resp.device.vendor #=> String
|
@@ -1840,7 +2240,7 @@ module Aws::NetworkManager
|
|
1840
2240
|
params: params,
|
1841
2241
|
config: config)
|
1842
2242
|
context[:gem_name] = 'aws-sdk-networkmanager'
|
1843
|
-
context[:gem_version] = '1.
|
2243
|
+
context[:gem_version] = '1.9.0'
|
1844
2244
|
Seahorse::Client::Request.new(handlers, context)
|
1845
2245
|
end
|
1846
2246
|
|