aws-sdk-networkmanager 1.4.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-networkmanager.rb +5 -2
- data/lib/aws-sdk-networkmanager/client.rb +425 -8
- data/lib/aws-sdk-networkmanager/client_api.rb +230 -0
- data/lib/aws-sdk-networkmanager/errors.rb +2 -0
- data/lib/aws-sdk-networkmanager/resource.rb +2 -0
- data/lib/aws-sdk-networkmanager/types.rb +594 -0
- metadata +4 -4
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
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-networkmanager/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::NetworkManager
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.9.0'
|
49
52
|
|
50
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -83,13 +85,28 @@ module Aws::NetworkManager
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
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
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::NetworkManager
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# 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.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -418,6 +435,133 @@ module Aws::NetworkManager
|
|
418
435
|
req.send_request(options)
|
419
436
|
end
|
420
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
|
+
|
421
565
|
# Creates a new device in a global network. If you specify both a site
|
422
566
|
# ID and a location, the location of the site is used for visualization
|
423
567
|
# in the Network Manager console.
|
@@ -425,6 +569,9 @@ module Aws::NetworkManager
|
|
425
569
|
# @option params [required, String] :global_network_id
|
426
570
|
# The ID of the global network.
|
427
571
|
#
|
572
|
+
# @option params [Types::AWSLocation] :aws_location
|
573
|
+
# The AWS location of the device.
|
574
|
+
#
|
428
575
|
# @option params [String] :description
|
429
576
|
# A description of the device.
|
430
577
|
#
|
@@ -465,6 +612,10 @@ module Aws::NetworkManager
|
|
465
612
|
#
|
466
613
|
# resp = client.create_device({
|
467
614
|
# global_network_id: "String", # required
|
615
|
+
# aws_location: {
|
616
|
+
# zone: "String",
|
617
|
+
# subnet_arn: "String",
|
618
|
+
# },
|
468
619
|
# description: "String",
|
469
620
|
# type: "String",
|
470
621
|
# vendor: "String",
|
@@ -489,6 +640,8 @@ module Aws::NetworkManager
|
|
489
640
|
# resp.device.device_id #=> String
|
490
641
|
# resp.device.device_arn #=> String
|
491
642
|
# resp.device.global_network_id #=> String
|
643
|
+
# resp.device.aws_location.zone #=> String
|
644
|
+
# resp.device.aws_location.subnet_arn #=> String
|
492
645
|
# resp.device.description #=> String
|
493
646
|
# resp.device.type #=> String
|
494
647
|
# resp.device.vendor #=> String
|
@@ -712,6 +865,50 @@ module Aws::NetworkManager
|
|
712
865
|
req.send_request(options)
|
713
866
|
end
|
714
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
|
+
|
715
912
|
# Deletes an existing device. You must first disassociate the device
|
716
913
|
# from any links and customer gateways.
|
717
914
|
#
|
@@ -737,6 +934,8 @@ module Aws::NetworkManager
|
|
737
934
|
# resp.device.device_id #=> String
|
738
935
|
# resp.device.device_arn #=> String
|
739
936
|
# resp.device.global_network_id #=> String
|
937
|
+
# resp.device.aws_location.zone #=> String
|
938
|
+
# resp.device.aws_location.subnet_arn #=> String
|
740
939
|
# resp.device.description #=> String
|
741
940
|
# resp.device.type #=> String
|
742
941
|
# resp.device.vendor #=> String
|
@@ -1058,6 +1257,104 @@ module Aws::NetworkManager
|
|
1058
1257
|
req.send_request(options)
|
1059
1258
|
end
|
1060
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
|
+
|
1061
1358
|
# Gets the association information for customer gateways that are
|
1062
1359
|
# associated with devices and links in your global network.
|
1063
1360
|
#
|
@@ -1155,6 +1452,8 @@ module Aws::NetworkManager
|
|
1155
1452
|
# resp.devices[0].device_id #=> String
|
1156
1453
|
# resp.devices[0].device_arn #=> String
|
1157
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
|
1158
1457
|
# resp.devices[0].description #=> String
|
1159
1458
|
# resp.devices[0].type #=> String
|
1160
1459
|
# resp.devices[0].vendor #=> String
|
@@ -1364,6 +1663,56 @@ module Aws::NetworkManager
|
|
1364
1663
|
req.send_request(options)
|
1365
1664
|
end
|
1366
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
|
+
|
1367
1716
|
# Gets information about the transit gateway registrations in a
|
1368
1717
|
# specified global network.
|
1369
1718
|
#
|
@@ -1544,6 +1893,65 @@ module Aws::NetworkManager
|
|
1544
1893
|
req.send_request(options)
|
1545
1894
|
end
|
1546
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
|
+
|
1547
1955
|
# Updates the details for an existing device. To remove information for
|
1548
1956
|
# any of the parameters, specify an empty string.
|
1549
1957
|
#
|
@@ -1553,6 +1961,9 @@ module Aws::NetworkManager
|
|
1553
1961
|
# @option params [required, String] :device_id
|
1554
1962
|
# The ID of the device.
|
1555
1963
|
#
|
1964
|
+
# @option params [Types::AWSLocation] :aws_location
|
1965
|
+
# The AWS location of the device.
|
1966
|
+
#
|
1556
1967
|
# @option params [String] :description
|
1557
1968
|
# A description of the device.
|
1558
1969
|
#
|
@@ -1591,6 +2002,10 @@ module Aws::NetworkManager
|
|
1591
2002
|
# resp = client.update_device({
|
1592
2003
|
# global_network_id: "String", # required
|
1593
2004
|
# device_id: "String", # required
|
2005
|
+
# aws_location: {
|
2006
|
+
# zone: "String",
|
2007
|
+
# subnet_arn: "String",
|
2008
|
+
# },
|
1594
2009
|
# description: "String",
|
1595
2010
|
# type: "String",
|
1596
2011
|
# vendor: "String",
|
@@ -1609,6 +2024,8 @@ module Aws::NetworkManager
|
|
1609
2024
|
# resp.device.device_id #=> String
|
1610
2025
|
# resp.device.device_arn #=> String
|
1611
2026
|
# resp.device.global_network_id #=> String
|
2027
|
+
# resp.device.aws_location.zone #=> String
|
2028
|
+
# resp.device.aws_location.subnet_arn #=> String
|
1612
2029
|
# resp.device.description #=> String
|
1613
2030
|
# resp.device.type #=> String
|
1614
2031
|
# resp.device.vendor #=> String
|
@@ -1823,7 +2240,7 @@ module Aws::NetworkManager
|
|
1823
2240
|
params: params,
|
1824
2241
|
config: config)
|
1825
2242
|
context[:gem_name] = 'aws-sdk-networkmanager'
|
1826
|
-
context[:gem_version] = '1.
|
2243
|
+
context[:gem_version] = '1.9.0'
|
1827
2244
|
Seahorse::Client::Request.new(handlers, context)
|
1828
2245
|
end
|
1829
2246
|
|