aws-sdk-networkmanager 1.5.0 → 1.10.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: 9438026c3cb5ce9d4037825064df4404a1d4f1acbb3b0e7c7fe552ed8391c0d8
4
- data.tar.gz: 12a61a653fdc5212aa49a7f78c7831ae27cf583beff9bf68c52fb754fbe067cd
3
+ metadata.gz: ff925f6f6524230cc060972384f868d3946c72245465c1084709f95dff9d53f8
4
+ data.tar.gz: efa56b8e32c16d7e46887af9c11b4a1ee7cc9a21585e255d5ebfd72cdbed31cc
5
5
  SHA512:
6
- metadata.gz: df52d4a42d67c3da864ca8e7bb65cf7985de1b2b70d78b30bb185e5bb111b2a1294628d36703503cb7b83dae23e496d084458cac6728bf23e5856ff3c2623eaf
7
- data.tar.gz: 13548e2ebb85aaba4e0f3b182be940e44426a7342b504d3e04fb25f1aa2523c721df8b632ed022b4f07c34e730487d5dbabcd4ac0371b816a7699b48352acb6e
6
+ metadata.gz: d4ecf676c5151e7964c6e6842655569a9220820e159e54163e347b4e449723114a95b56096bca0542d0262b7e162c61b8a6ad50644c71f032eb447d6422ea797
7
+ data.tar.gz: 70f3efc1cde69f04515fd3bd62cf8888ec72d322891e517ba147bc456cea9f8f875d45a738cf5332fa1630f7fde842a89fcc9bb5c525034a32bbb0ca919151ef
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-networkmanager/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::NetworkManager
49
50
 
50
- GEM_VERSION = '1.5.0'
51
+ GEM_VERSION = '1.10.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::NetworkManager
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::NetworkManager
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -420,6 +435,133 @@ module Aws::NetworkManager
420
435
  req.send_request(options)
421
436
  end
422
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
+
423
565
  # Creates a new device in a global network. If you specify both a site
424
566
  # ID and a location, the location of the site is used for visualization
425
567
  # in the Network Manager console.
@@ -427,6 +569,9 @@ module Aws::NetworkManager
427
569
  # @option params [required, String] :global_network_id
428
570
  # The ID of the global network.
429
571
  #
572
+ # @option params [Types::AWSLocation] :aws_location
573
+ # The AWS location of the device.
574
+ #
430
575
  # @option params [String] :description
431
576
  # A description of the device.
432
577
  #
@@ -467,6 +612,10 @@ module Aws::NetworkManager
467
612
  #
468
613
  # resp = client.create_device({
469
614
  # global_network_id: "String", # required
615
+ # aws_location: {
616
+ # zone: "String",
617
+ # subnet_arn: "String",
618
+ # },
470
619
  # description: "String",
471
620
  # type: "String",
472
621
  # vendor: "String",
@@ -491,6 +640,8 @@ module Aws::NetworkManager
491
640
  # resp.device.device_id #=> String
492
641
  # resp.device.device_arn #=> String
493
642
  # resp.device.global_network_id #=> String
643
+ # resp.device.aws_location.zone #=> String
644
+ # resp.device.aws_location.subnet_arn #=> String
494
645
  # resp.device.description #=> String
495
646
  # resp.device.type #=> String
496
647
  # resp.device.vendor #=> String
@@ -714,6 +865,50 @@ module Aws::NetworkManager
714
865
  req.send_request(options)
715
866
  end
716
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
+
717
912
  # Deletes an existing device. You must first disassociate the device
718
913
  # from any links and customer gateways.
719
914
  #
@@ -739,6 +934,8 @@ module Aws::NetworkManager
739
934
  # resp.device.device_id #=> String
740
935
  # resp.device.device_arn #=> String
741
936
  # resp.device.global_network_id #=> String
937
+ # resp.device.aws_location.zone #=> String
938
+ # resp.device.aws_location.subnet_arn #=> String
742
939
  # resp.device.description #=> String
743
940
  # resp.device.type #=> String
744
941
  # resp.device.vendor #=> String
@@ -1060,6 +1257,104 @@ module Aws::NetworkManager
1060
1257
  req.send_request(options)
1061
1258
  end
1062
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&lt;Types::Connection&gt;
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
+
1063
1358
  # Gets the association information for customer gateways that are
1064
1359
  # associated with devices and links in your global network.
1065
1360
  #
@@ -1157,6 +1452,8 @@ module Aws::NetworkManager
1157
1452
  # resp.devices[0].device_id #=> String
1158
1453
  # resp.devices[0].device_arn #=> String
1159
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
1160
1457
  # resp.devices[0].description #=> String
1161
1458
  # resp.devices[0].type #=> String
1162
1459
  # resp.devices[0].vendor #=> String
@@ -1366,6 +1663,56 @@ module Aws::NetworkManager
1366
1663
  req.send_request(options)
1367
1664
  end
1368
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&lt;Types::TransitGatewayConnectPeerAssociation&gt;
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
+
1369
1716
  # Gets information about the transit gateway registrations in a
1370
1717
  # specified global network.
1371
1718
  #
@@ -1546,6 +1893,65 @@ module Aws::NetworkManager
1546
1893
  req.send_request(options)
1547
1894
  end
1548
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
+
1549
1955
  # Updates the details for an existing device. To remove information for
1550
1956
  # any of the parameters, specify an empty string.
1551
1957
  #
@@ -1555,6 +1961,9 @@ module Aws::NetworkManager
1555
1961
  # @option params [required, String] :device_id
1556
1962
  # The ID of the device.
1557
1963
  #
1964
+ # @option params [Types::AWSLocation] :aws_location
1965
+ # The AWS location of the device.
1966
+ #
1558
1967
  # @option params [String] :description
1559
1968
  # A description of the device.
1560
1969
  #
@@ -1593,6 +2002,10 @@ module Aws::NetworkManager
1593
2002
  # resp = client.update_device({
1594
2003
  # global_network_id: "String", # required
1595
2004
  # device_id: "String", # required
2005
+ # aws_location: {
2006
+ # zone: "String",
2007
+ # subnet_arn: "String",
2008
+ # },
1596
2009
  # description: "String",
1597
2010
  # type: "String",
1598
2011
  # vendor: "String",
@@ -1611,6 +2024,8 @@ module Aws::NetworkManager
1611
2024
  # resp.device.device_id #=> String
1612
2025
  # resp.device.device_arn #=> String
1613
2026
  # resp.device.global_network_id #=> String
2027
+ # resp.device.aws_location.zone #=> String
2028
+ # resp.device.aws_location.subnet_arn #=> String
1614
2029
  # resp.device.description #=> String
1615
2030
  # resp.device.type #=> String
1616
2031
  # resp.device.vendor #=> String
@@ -1825,7 +2240,7 @@ module Aws::NetworkManager
1825
2240
  params: params,
1826
2241
  config: config)
1827
2242
  context[:gem_name] = 'aws-sdk-networkmanager'
1828
- context[:gem_version] = '1.5.0'
2243
+ context[:gem_version] = '1.10.0'
1829
2244
  Seahorse::Client::Request.new(handlers, context)
1830
2245
  end
1831
2246