aws-sdk-directconnect 1.0.0 → 1.1.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-directconnect.rb +1 -1
- data/lib/aws-sdk-directconnect/client.rb +441 -8
- data/lib/aws-sdk-directconnect/client_api.rb +193 -2
- data/lib/aws-sdk-directconnect/types.rb +617 -5
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43c9ee456bd2f8bdb4bd4eaa570a24f894a74896
|
4
|
+
data.tar.gz: 4ba6f998f4898413b40c4bb4adc2139f9e765f68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a072c1377c591867c3934b9bff901884fa2006175b4c0344146fe743d4b2474c30c3e1ba15629997963419113f7cff3274d13e0a35748f490105aabe40871ca8
|
7
|
+
data.tar.gz: 3eda0796afcd2311d91dea3775a23b44596145c9630c7c9ba229e401494b408654569cd8a90a8fa387c7e3faebf7483783ee280c60443a222ef4a0ac1a5ab91c
|
@@ -386,6 +386,7 @@ module Aws::DirectConnect
|
|
386
386
|
# * {Types::VirtualInterface#virtual_interface_name #virtual_interface_name} => String
|
387
387
|
# * {Types::VirtualInterface#vlan #vlan} => Integer
|
388
388
|
# * {Types::VirtualInterface#asn #asn} => Integer
|
389
|
+
# * {Types::VirtualInterface#amazon_side_asn #amazon_side_asn} => Integer
|
389
390
|
# * {Types::VirtualInterface#auth_key #auth_key} => String
|
390
391
|
# * {Types::VirtualInterface#amazon_address #amazon_address} => String
|
391
392
|
# * {Types::VirtualInterface#customer_address #customer_address} => String
|
@@ -393,6 +394,7 @@ module Aws::DirectConnect
|
|
393
394
|
# * {Types::VirtualInterface#virtual_interface_state #virtual_interface_state} => String
|
394
395
|
# * {Types::VirtualInterface#customer_router_config #customer_router_config} => String
|
395
396
|
# * {Types::VirtualInterface#virtual_gateway_id #virtual_gateway_id} => String
|
397
|
+
# * {Types::VirtualInterface#direct_connect_gateway_id #direct_connect_gateway_id} => String
|
396
398
|
# * {Types::VirtualInterface#route_filter_prefixes #route_filter_prefixes} => Array<Types::RouteFilterPrefix>
|
397
399
|
# * {Types::VirtualInterface#bgp_peers #bgp_peers} => Array<Types::BGPPeer>
|
398
400
|
#
|
@@ -422,6 +424,7 @@ module Aws::DirectConnect
|
|
422
424
|
# resp.virtual_interface_name #=> String
|
423
425
|
# resp.vlan #=> Integer
|
424
426
|
# resp.asn #=> Integer
|
427
|
+
# resp.amazon_side_asn #=> Integer
|
425
428
|
# resp.auth_key #=> String
|
426
429
|
# resp.amazon_address #=> String
|
427
430
|
# resp.customer_address #=> String
|
@@ -429,6 +432,7 @@ module Aws::DirectConnect
|
|
429
432
|
# resp.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
|
430
433
|
# resp.customer_router_config #=> String
|
431
434
|
# resp.virtual_gateway_id #=> String
|
435
|
+
# resp.direct_connect_gateway_id #=> String
|
432
436
|
# resp.route_filter_prefixes #=> Array
|
433
437
|
# resp.route_filter_prefixes[0].cidr #=> String
|
434
438
|
# resp.bgp_peers #=> Array
|
@@ -492,6 +496,7 @@ module Aws::DirectConnect
|
|
492
496
|
# * {Types::VirtualInterface#virtual_interface_name #virtual_interface_name} => String
|
493
497
|
# * {Types::VirtualInterface#vlan #vlan} => Integer
|
494
498
|
# * {Types::VirtualInterface#asn #asn} => Integer
|
499
|
+
# * {Types::VirtualInterface#amazon_side_asn #amazon_side_asn} => Integer
|
495
500
|
# * {Types::VirtualInterface#auth_key #auth_key} => String
|
496
501
|
# * {Types::VirtualInterface#amazon_address #amazon_address} => String
|
497
502
|
# * {Types::VirtualInterface#customer_address #customer_address} => String
|
@@ -499,6 +504,7 @@ module Aws::DirectConnect
|
|
499
504
|
# * {Types::VirtualInterface#virtual_interface_state #virtual_interface_state} => String
|
500
505
|
# * {Types::VirtualInterface#customer_router_config #customer_router_config} => String
|
501
506
|
# * {Types::VirtualInterface#virtual_gateway_id #virtual_gateway_id} => String
|
507
|
+
# * {Types::VirtualInterface#direct_connect_gateway_id #direct_connect_gateway_id} => String
|
502
508
|
# * {Types::VirtualInterface#route_filter_prefixes #route_filter_prefixes} => Array<Types::RouteFilterPrefix>
|
503
509
|
# * {Types::VirtualInterface#bgp_peers #bgp_peers} => Array<Types::BGPPeer>
|
504
510
|
#
|
@@ -533,6 +539,7 @@ module Aws::DirectConnect
|
|
533
539
|
# resp.virtual_interface_name #=> String
|
534
540
|
# resp.vlan #=> Integer
|
535
541
|
# resp.asn #=> Integer
|
542
|
+
# resp.amazon_side_asn #=> Integer
|
536
543
|
# resp.auth_key #=> String
|
537
544
|
# resp.amazon_address #=> String
|
538
545
|
# resp.customer_address #=> String
|
@@ -540,6 +547,7 @@ module Aws::DirectConnect
|
|
540
547
|
# resp.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
|
541
548
|
# resp.customer_router_config #=> String
|
542
549
|
# resp.virtual_gateway_id #=> String
|
550
|
+
# resp.direct_connect_gateway_id #=> String
|
543
551
|
# resp.route_filter_prefixes #=> Array
|
544
552
|
# resp.route_filter_prefixes[0].cidr #=> String
|
545
553
|
# resp.bgp_peers #=> Array
|
@@ -720,9 +728,11 @@ module Aws::DirectConnect
|
|
720
728
|
# associated with a LAG; hosted connections must be migrated along with
|
721
729
|
# their virtual interfaces using AssociateHostedConnection.
|
722
730
|
#
|
723
|
-
#
|
724
|
-
#
|
725
|
-
#
|
731
|
+
# In order to reassociate a virtual interface to a new connection or
|
732
|
+
# LAG, the requester must own either the virtual interface itself or the
|
733
|
+
# connection to which the virtual interface is currently associated.
|
734
|
+
# Additionally, the requester must own the connection or LAG to which
|
735
|
+
# the virtual interface will be newly associated.
|
726
736
|
#
|
727
737
|
# @option params [required, String] :virtual_interface_id
|
728
738
|
# The ID of the virtual interface.
|
@@ -749,6 +759,7 @@ module Aws::DirectConnect
|
|
749
759
|
# * {Types::VirtualInterface#virtual_interface_name #virtual_interface_name} => String
|
750
760
|
# * {Types::VirtualInterface#vlan #vlan} => Integer
|
751
761
|
# * {Types::VirtualInterface#asn #asn} => Integer
|
762
|
+
# * {Types::VirtualInterface#amazon_side_asn #amazon_side_asn} => Integer
|
752
763
|
# * {Types::VirtualInterface#auth_key #auth_key} => String
|
753
764
|
# * {Types::VirtualInterface#amazon_address #amazon_address} => String
|
754
765
|
# * {Types::VirtualInterface#customer_address #customer_address} => String
|
@@ -756,6 +767,7 @@ module Aws::DirectConnect
|
|
756
767
|
# * {Types::VirtualInterface#virtual_interface_state #virtual_interface_state} => String
|
757
768
|
# * {Types::VirtualInterface#customer_router_config #customer_router_config} => String
|
758
769
|
# * {Types::VirtualInterface#virtual_gateway_id #virtual_gateway_id} => String
|
770
|
+
# * {Types::VirtualInterface#direct_connect_gateway_id #direct_connect_gateway_id} => String
|
759
771
|
# * {Types::VirtualInterface#route_filter_prefixes #route_filter_prefixes} => Array<Types::RouteFilterPrefix>
|
760
772
|
# * {Types::VirtualInterface#bgp_peers #bgp_peers} => Array<Types::BGPPeer>
|
761
773
|
#
|
@@ -776,6 +788,7 @@ module Aws::DirectConnect
|
|
776
788
|
# resp.virtual_interface_name #=> String
|
777
789
|
# resp.vlan #=> Integer
|
778
790
|
# resp.asn #=> Integer
|
791
|
+
# resp.amazon_side_asn #=> Integer
|
779
792
|
# resp.auth_key #=> String
|
780
793
|
# resp.amazon_address #=> String
|
781
794
|
# resp.customer_address #=> String
|
@@ -783,6 +796,7 @@ module Aws::DirectConnect
|
|
783
796
|
# resp.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
|
784
797
|
# resp.customer_router_config #=> String
|
785
798
|
# resp.virtual_gateway_id #=> String
|
799
|
+
# resp.direct_connect_gateway_id #=> String
|
786
800
|
# resp.route_filter_prefixes #=> Array
|
787
801
|
# resp.route_filter_prefixes[0].cidr #=> String
|
788
802
|
# resp.bgp_peers #=> Array
|
@@ -846,7 +860,8 @@ module Aws::DirectConnect
|
|
846
860
|
#
|
847
861
|
# After the virtual interface owner calls this function, the virtual
|
848
862
|
# interface will be created and attached to the given virtual private
|
849
|
-
# gateway, and will be available for handling
|
863
|
+
# gateway or direct connect gateway, and will be available for handling
|
864
|
+
# traffic.
|
850
865
|
#
|
851
866
|
# @option params [required, String] :virtual_interface_id
|
852
867
|
# The ID of the virtual interface.
|
@@ -855,7 +870,7 @@ module Aws::DirectConnect
|
|
855
870
|
#
|
856
871
|
# Default: None
|
857
872
|
#
|
858
|
-
# @option params [
|
873
|
+
# @option params [String] :virtual_gateway_id
|
859
874
|
# ID of the virtual private gateway that will be attached to the virtual
|
860
875
|
# interface.
|
861
876
|
#
|
@@ -868,6 +883,15 @@ module Aws::DirectConnect
|
|
868
883
|
#
|
869
884
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateVpnGateway.html
|
870
885
|
#
|
886
|
+
# @option params [String] :direct_connect_gateway_id
|
887
|
+
# ID of the direct connect gateway that will be attached to the virtual
|
888
|
+
# interface.
|
889
|
+
#
|
890
|
+
# A direct connect gateway can be managed via the AWS Direct Connect
|
891
|
+
# console or the CreateDirectConnectGateway action.
|
892
|
+
#
|
893
|
+
# Default: None
|
894
|
+
#
|
871
895
|
# @return [Types::ConfirmPrivateVirtualInterfaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
872
896
|
#
|
873
897
|
# * {Types::ConfirmPrivateVirtualInterfaceResponse#virtual_interface_state #virtual_interface_state} => String
|
@@ -876,7 +900,8 @@ module Aws::DirectConnect
|
|
876
900
|
#
|
877
901
|
# resp = client.confirm_private_virtual_interface({
|
878
902
|
# virtual_interface_id: "VirtualInterfaceId", # required
|
879
|
-
# virtual_gateway_id: "VirtualGatewayId",
|
903
|
+
# virtual_gateway_id: "VirtualGatewayId",
|
904
|
+
# direct_connect_gateway_id: "DirectConnectGatewayId",
|
880
905
|
# })
|
881
906
|
#
|
882
907
|
# @example Response structure
|
@@ -984,6 +1009,7 @@ module Aws::DirectConnect
|
|
984
1009
|
# resp.virtual_interface.virtual_interface_name #=> String
|
985
1010
|
# resp.virtual_interface.vlan #=> Integer
|
986
1011
|
# resp.virtual_interface.asn #=> Integer
|
1012
|
+
# resp.virtual_interface.amazon_side_asn #=> Integer
|
987
1013
|
# resp.virtual_interface.auth_key #=> String
|
988
1014
|
# resp.virtual_interface.amazon_address #=> String
|
989
1015
|
# resp.virtual_interface.customer_address #=> String
|
@@ -991,6 +1017,7 @@ module Aws::DirectConnect
|
|
991
1017
|
# resp.virtual_interface.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
|
992
1018
|
# resp.virtual_interface.customer_router_config #=> String
|
993
1019
|
# resp.virtual_interface.virtual_gateway_id #=> String
|
1020
|
+
# resp.virtual_interface.direct_connect_gateway_id #=> String
|
994
1021
|
# resp.virtual_interface.route_filter_prefixes #=> Array
|
995
1022
|
# resp.virtual_interface.route_filter_prefixes[0].cidr #=> String
|
996
1023
|
# resp.virtual_interface.bgp_peers #=> Array
|
@@ -1023,6 +1050,8 @@ module Aws::DirectConnect
|
|
1023
1050
|
# multiple regions, but a connection in one region does not provide
|
1024
1051
|
# connectivity to other regions.
|
1025
1052
|
#
|
1053
|
+
# To find the locations for your region, use DescribeLocations.
|
1054
|
+
#
|
1026
1055
|
# You can automatically add the new connection to a link aggregation
|
1027
1056
|
# group (LAG) by specifying a LAG ID in the request. This ensures that
|
1028
1057
|
# the new connection is allocated on the same AWS Direct Connect
|
@@ -1103,6 +1132,109 @@ module Aws::DirectConnect
|
|
1103
1132
|
req.send_request(options)
|
1104
1133
|
end
|
1105
1134
|
|
1135
|
+
# Creates a new direct connect gateway. A direct connect gateway is an
|
1136
|
+
# intermediate object that enables you to connect a set of virtual
|
1137
|
+
# interfaces and virtual private gateways. direct connect gateways are
|
1138
|
+
# global and visible in any AWS region after they are created. The
|
1139
|
+
# virtual interfaces and virtual private gateways that are connected
|
1140
|
+
# through a direct connect gateway can be in different regions. This
|
1141
|
+
# enables you to connect to a VPC in any region, regardless of the
|
1142
|
+
# region in which the virtual interfaces are located, and pass traffic
|
1143
|
+
# between them.
|
1144
|
+
#
|
1145
|
+
# @option params [required, String] :direct_connect_gateway_name
|
1146
|
+
# The name of the direct connect gateway.
|
1147
|
+
#
|
1148
|
+
# Example: "My direct connect gateway"
|
1149
|
+
#
|
1150
|
+
# Default: None
|
1151
|
+
#
|
1152
|
+
# @option params [Integer] :amazon_side_asn
|
1153
|
+
# The autonomous system number (ASN) for Border Gateway Protocol (BGP)
|
1154
|
+
# to be configured on the Amazon side of the connection. The ASN must be
|
1155
|
+
# in the private range of 64,512 to 65,534 or 4,200,000,000 to
|
1156
|
+
# 4,294,967,294
|
1157
|
+
#
|
1158
|
+
# Example: 65200
|
1159
|
+
#
|
1160
|
+
# Default: 64512
|
1161
|
+
#
|
1162
|
+
# @return [Types::CreateDirectConnectGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1163
|
+
#
|
1164
|
+
# * {Types::CreateDirectConnectGatewayResult#direct_connect_gateway #direct_connect_gateway} => Types::DirectConnectGateway
|
1165
|
+
#
|
1166
|
+
# @example Request syntax with placeholder values
|
1167
|
+
#
|
1168
|
+
# resp = client.create_direct_connect_gateway({
|
1169
|
+
# direct_connect_gateway_name: "DirectConnectGatewayName", # required
|
1170
|
+
# amazon_side_asn: 1,
|
1171
|
+
# })
|
1172
|
+
#
|
1173
|
+
# @example Response structure
|
1174
|
+
#
|
1175
|
+
# resp.direct_connect_gateway.direct_connect_gateway_id #=> String
|
1176
|
+
# resp.direct_connect_gateway.direct_connect_gateway_name #=> String
|
1177
|
+
# resp.direct_connect_gateway.amazon_side_asn #=> Integer
|
1178
|
+
# resp.direct_connect_gateway.owner_account #=> String
|
1179
|
+
# resp.direct_connect_gateway.direct_connect_gateway_state #=> String, one of "pending", "available", "deleting", "deleted"
|
1180
|
+
# resp.direct_connect_gateway.state_change_error #=> String
|
1181
|
+
#
|
1182
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGateway AWS API Documentation
|
1183
|
+
#
|
1184
|
+
# @overload create_direct_connect_gateway(params = {})
|
1185
|
+
# @param [Hash] params ({})
|
1186
|
+
def create_direct_connect_gateway(params = {}, options = {})
|
1187
|
+
req = build_request(:create_direct_connect_gateway, params)
|
1188
|
+
req.send_request(options)
|
1189
|
+
end
|
1190
|
+
|
1191
|
+
# Creates an association between a direct connect gateway and a virtual
|
1192
|
+
# private gateway (VGW). The VGW must be attached to a VPC and must not
|
1193
|
+
# be associated with another direct connect gateway.
|
1194
|
+
#
|
1195
|
+
# @option params [required, String] :direct_connect_gateway_id
|
1196
|
+
# The ID of the direct connect gateway.
|
1197
|
+
#
|
1198
|
+
# Example: "abcd1234-dcba-5678-be23-cdef9876ab45"
|
1199
|
+
#
|
1200
|
+
# Default: None
|
1201
|
+
#
|
1202
|
+
# @option params [required, String] :virtual_gateway_id
|
1203
|
+
# The ID of the virtual private gateway.
|
1204
|
+
#
|
1205
|
+
# Example: "vgw-abc123ef"
|
1206
|
+
#
|
1207
|
+
# Default: None
|
1208
|
+
#
|
1209
|
+
# @return [Types::CreateDirectConnectGatewayAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1210
|
+
#
|
1211
|
+
# * {Types::CreateDirectConnectGatewayAssociationResult#direct_connect_gateway_association #direct_connect_gateway_association} => Types::DirectConnectGatewayAssociation
|
1212
|
+
#
|
1213
|
+
# @example Request syntax with placeholder values
|
1214
|
+
#
|
1215
|
+
# resp = client.create_direct_connect_gateway_association({
|
1216
|
+
# direct_connect_gateway_id: "DirectConnectGatewayId", # required
|
1217
|
+
# virtual_gateway_id: "VirtualGatewayId", # required
|
1218
|
+
# })
|
1219
|
+
#
|
1220
|
+
# @example Response structure
|
1221
|
+
#
|
1222
|
+
# resp.direct_connect_gateway_association.direct_connect_gateway_id #=> String
|
1223
|
+
# resp.direct_connect_gateway_association.virtual_gateway_id #=> String
|
1224
|
+
# resp.direct_connect_gateway_association.virtual_gateway_region #=> String
|
1225
|
+
# resp.direct_connect_gateway_association.virtual_gateway_owner_account #=> String
|
1226
|
+
# resp.direct_connect_gateway_association.association_state #=> String, one of "associating", "associated", "disassociating", "disassociated"
|
1227
|
+
# resp.direct_connect_gateway_association.state_change_error #=> String
|
1228
|
+
#
|
1229
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociation AWS API Documentation
|
1230
|
+
#
|
1231
|
+
# @overload create_direct_connect_gateway_association(params = {})
|
1232
|
+
# @param [Hash] params ({})
|
1233
|
+
def create_direct_connect_gateway_association(params = {}, options = {})
|
1234
|
+
req = build_request(:create_direct_connect_gateway_association, params)
|
1235
|
+
req.send_request(options)
|
1236
|
+
end
|
1237
|
+
|
1106
1238
|
# Creates a new interconnect between a AWS Direct Connect partner's
|
1107
1239
|
# network and a specific AWS Direct Connect location.
|
1108
1240
|
#
|
@@ -1353,6 +1485,7 @@ module Aws::DirectConnect
|
|
1353
1485
|
# * {Types::VirtualInterface#virtual_interface_name #virtual_interface_name} => String
|
1354
1486
|
# * {Types::VirtualInterface#vlan #vlan} => Integer
|
1355
1487
|
# * {Types::VirtualInterface#asn #asn} => Integer
|
1488
|
+
# * {Types::VirtualInterface#amazon_side_asn #amazon_side_asn} => Integer
|
1356
1489
|
# * {Types::VirtualInterface#auth_key #auth_key} => String
|
1357
1490
|
# * {Types::VirtualInterface#amazon_address #amazon_address} => String
|
1358
1491
|
# * {Types::VirtualInterface#customer_address #customer_address} => String
|
@@ -1360,6 +1493,7 @@ module Aws::DirectConnect
|
|
1360
1493
|
# * {Types::VirtualInterface#virtual_interface_state #virtual_interface_state} => String
|
1361
1494
|
# * {Types::VirtualInterface#customer_router_config #customer_router_config} => String
|
1362
1495
|
# * {Types::VirtualInterface#virtual_gateway_id #virtual_gateway_id} => String
|
1496
|
+
# * {Types::VirtualInterface#direct_connect_gateway_id #direct_connect_gateway_id} => String
|
1363
1497
|
# * {Types::VirtualInterface#route_filter_prefixes #route_filter_prefixes} => Array<Types::RouteFilterPrefix>
|
1364
1498
|
# * {Types::VirtualInterface#bgp_peers #bgp_peers} => Array<Types::BGPPeer>
|
1365
1499
|
#
|
@@ -1375,7 +1509,8 @@ module Aws::DirectConnect
|
|
1375
1509
|
# amazon_address: "AmazonAddress",
|
1376
1510
|
# customer_address: "CustomerAddress",
|
1377
1511
|
# address_family: "ipv4", # accepts ipv4, ipv6
|
1378
|
-
# virtual_gateway_id: "VirtualGatewayId",
|
1512
|
+
# virtual_gateway_id: "VirtualGatewayId",
|
1513
|
+
# direct_connect_gateway_id: "DirectConnectGatewayId",
|
1379
1514
|
# },
|
1380
1515
|
# })
|
1381
1516
|
#
|
@@ -1389,6 +1524,7 @@ module Aws::DirectConnect
|
|
1389
1524
|
# resp.virtual_interface_name #=> String
|
1390
1525
|
# resp.vlan #=> Integer
|
1391
1526
|
# resp.asn #=> Integer
|
1527
|
+
# resp.amazon_side_asn #=> Integer
|
1392
1528
|
# resp.auth_key #=> String
|
1393
1529
|
# resp.amazon_address #=> String
|
1394
1530
|
# resp.customer_address #=> String
|
@@ -1396,6 +1532,7 @@ module Aws::DirectConnect
|
|
1396
1532
|
# resp.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
|
1397
1533
|
# resp.customer_router_config #=> String
|
1398
1534
|
# resp.virtual_gateway_id #=> String
|
1535
|
+
# resp.direct_connect_gateway_id #=> String
|
1399
1536
|
# resp.route_filter_prefixes #=> Array
|
1400
1537
|
# resp.route_filter_prefixes[0].cidr #=> String
|
1401
1538
|
# resp.bgp_peers #=> Array
|
@@ -1450,6 +1587,7 @@ module Aws::DirectConnect
|
|
1450
1587
|
# * {Types::VirtualInterface#virtual_interface_name #virtual_interface_name} => String
|
1451
1588
|
# * {Types::VirtualInterface#vlan #vlan} => Integer
|
1452
1589
|
# * {Types::VirtualInterface#asn #asn} => Integer
|
1590
|
+
# * {Types::VirtualInterface#amazon_side_asn #amazon_side_asn} => Integer
|
1453
1591
|
# * {Types::VirtualInterface#auth_key #auth_key} => String
|
1454
1592
|
# * {Types::VirtualInterface#amazon_address #amazon_address} => String
|
1455
1593
|
# * {Types::VirtualInterface#customer_address #customer_address} => String
|
@@ -1457,6 +1595,7 @@ module Aws::DirectConnect
|
|
1457
1595
|
# * {Types::VirtualInterface#virtual_interface_state #virtual_interface_state} => String
|
1458
1596
|
# * {Types::VirtualInterface#customer_router_config #customer_router_config} => String
|
1459
1597
|
# * {Types::VirtualInterface#virtual_gateway_id #virtual_gateway_id} => String
|
1598
|
+
# * {Types::VirtualInterface#direct_connect_gateway_id #direct_connect_gateway_id} => String
|
1460
1599
|
# * {Types::VirtualInterface#route_filter_prefixes #route_filter_prefixes} => Array<Types::RouteFilterPrefix>
|
1461
1600
|
# * {Types::VirtualInterface#bgp_peers #bgp_peers} => Array<Types::BGPPeer>
|
1462
1601
|
#
|
@@ -1490,6 +1629,7 @@ module Aws::DirectConnect
|
|
1490
1629
|
# resp.virtual_interface_name #=> String
|
1491
1630
|
# resp.vlan #=> Integer
|
1492
1631
|
# resp.asn #=> Integer
|
1632
|
+
# resp.amazon_side_asn #=> Integer
|
1493
1633
|
# resp.auth_key #=> String
|
1494
1634
|
# resp.amazon_address #=> String
|
1495
1635
|
# resp.customer_address #=> String
|
@@ -1497,6 +1637,7 @@ module Aws::DirectConnect
|
|
1497
1637
|
# resp.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
|
1498
1638
|
# resp.customer_router_config #=> String
|
1499
1639
|
# resp.virtual_gateway_id #=> String
|
1640
|
+
# resp.direct_connect_gateway_id #=> String
|
1500
1641
|
# resp.route_filter_prefixes #=> Array
|
1501
1642
|
# resp.route_filter_prefixes[0].cidr #=> String
|
1502
1643
|
# resp.bgp_peers #=> Array
|
@@ -1562,6 +1703,7 @@ module Aws::DirectConnect
|
|
1562
1703
|
# resp.virtual_interface.virtual_interface_name #=> String
|
1563
1704
|
# resp.virtual_interface.vlan #=> Integer
|
1564
1705
|
# resp.virtual_interface.asn #=> Integer
|
1706
|
+
# resp.virtual_interface.amazon_side_asn #=> Integer
|
1565
1707
|
# resp.virtual_interface.auth_key #=> String
|
1566
1708
|
# resp.virtual_interface.amazon_address #=> String
|
1567
1709
|
# resp.virtual_interface.customer_address #=> String
|
@@ -1569,6 +1711,7 @@ module Aws::DirectConnect
|
|
1569
1711
|
# resp.virtual_interface.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
|
1570
1712
|
# resp.virtual_interface.customer_router_config #=> String
|
1571
1713
|
# resp.virtual_interface.virtual_gateway_id #=> String
|
1714
|
+
# resp.virtual_interface.direct_connect_gateway_id #=> String
|
1572
1715
|
# resp.virtual_interface.route_filter_prefixes #=> Array
|
1573
1716
|
# resp.virtual_interface.route_filter_prefixes[0].cidr #=> String
|
1574
1717
|
# resp.virtual_interface.bgp_peers #=> Array
|
@@ -1650,6 +1793,92 @@ module Aws::DirectConnect
|
|
1650
1793
|
req.send_request(options)
|
1651
1794
|
end
|
1652
1795
|
|
1796
|
+
# Deletes a direct connect gateway. You must first delete all virtual
|
1797
|
+
# interfaces that are attached to the direct connect gateway and
|
1798
|
+
# disassociate all virtual private gateways that are associated with the
|
1799
|
+
# direct connect gateway.
|
1800
|
+
#
|
1801
|
+
# @option params [required, String] :direct_connect_gateway_id
|
1802
|
+
# The ID of the direct connect gateway.
|
1803
|
+
#
|
1804
|
+
# Example: "abcd1234-dcba-5678-be23-cdef9876ab45"
|
1805
|
+
#
|
1806
|
+
# Default: None
|
1807
|
+
#
|
1808
|
+
# @return [Types::DeleteDirectConnectGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1809
|
+
#
|
1810
|
+
# * {Types::DeleteDirectConnectGatewayResult#direct_connect_gateway #direct_connect_gateway} => Types::DirectConnectGateway
|
1811
|
+
#
|
1812
|
+
# @example Request syntax with placeholder values
|
1813
|
+
#
|
1814
|
+
# resp = client.delete_direct_connect_gateway({
|
1815
|
+
# direct_connect_gateway_id: "DirectConnectGatewayId", # required
|
1816
|
+
# })
|
1817
|
+
#
|
1818
|
+
# @example Response structure
|
1819
|
+
#
|
1820
|
+
# resp.direct_connect_gateway.direct_connect_gateway_id #=> String
|
1821
|
+
# resp.direct_connect_gateway.direct_connect_gateway_name #=> String
|
1822
|
+
# resp.direct_connect_gateway.amazon_side_asn #=> Integer
|
1823
|
+
# resp.direct_connect_gateway.owner_account #=> String
|
1824
|
+
# resp.direct_connect_gateway.direct_connect_gateway_state #=> String, one of "pending", "available", "deleting", "deleted"
|
1825
|
+
# resp.direct_connect_gateway.state_change_error #=> String
|
1826
|
+
#
|
1827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGateway AWS API Documentation
|
1828
|
+
#
|
1829
|
+
# @overload delete_direct_connect_gateway(params = {})
|
1830
|
+
# @param [Hash] params ({})
|
1831
|
+
def delete_direct_connect_gateway(params = {}, options = {})
|
1832
|
+
req = build_request(:delete_direct_connect_gateway, params)
|
1833
|
+
req.send_request(options)
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
# Deletes the association between a direct connect gateway and a virtual
|
1837
|
+
# private gateway.
|
1838
|
+
#
|
1839
|
+
# @option params [required, String] :direct_connect_gateway_id
|
1840
|
+
# The ID of the direct connect gateway.
|
1841
|
+
#
|
1842
|
+
# Example: "abcd1234-dcba-5678-be23-cdef9876ab45"
|
1843
|
+
#
|
1844
|
+
# Default: None
|
1845
|
+
#
|
1846
|
+
# @option params [required, String] :virtual_gateway_id
|
1847
|
+
# The ID of the virtual private gateway.
|
1848
|
+
#
|
1849
|
+
# Example: "vgw-abc123ef"
|
1850
|
+
#
|
1851
|
+
# Default: None
|
1852
|
+
#
|
1853
|
+
# @return [Types::DeleteDirectConnectGatewayAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1854
|
+
#
|
1855
|
+
# * {Types::DeleteDirectConnectGatewayAssociationResult#direct_connect_gateway_association #direct_connect_gateway_association} => Types::DirectConnectGatewayAssociation
|
1856
|
+
#
|
1857
|
+
# @example Request syntax with placeholder values
|
1858
|
+
#
|
1859
|
+
# resp = client.delete_direct_connect_gateway_association({
|
1860
|
+
# direct_connect_gateway_id: "DirectConnectGatewayId", # required
|
1861
|
+
# virtual_gateway_id: "VirtualGatewayId", # required
|
1862
|
+
# })
|
1863
|
+
#
|
1864
|
+
# @example Response structure
|
1865
|
+
#
|
1866
|
+
# resp.direct_connect_gateway_association.direct_connect_gateway_id #=> String
|
1867
|
+
# resp.direct_connect_gateway_association.virtual_gateway_id #=> String
|
1868
|
+
# resp.direct_connect_gateway_association.virtual_gateway_region #=> String
|
1869
|
+
# resp.direct_connect_gateway_association.virtual_gateway_owner_account #=> String
|
1870
|
+
# resp.direct_connect_gateway_association.association_state #=> String, one of "associating", "associated", "disassociating", "disassociated"
|
1871
|
+
# resp.direct_connect_gateway_association.state_change_error #=> String
|
1872
|
+
#
|
1873
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociation AWS API Documentation
|
1874
|
+
#
|
1875
|
+
# @overload delete_direct_connect_gateway_association(params = {})
|
1876
|
+
# @param [Hash] params ({})
|
1877
|
+
def delete_direct_connect_gateway_association(params = {}, options = {})
|
1878
|
+
req = build_request(:delete_direct_connect_gateway_association, params)
|
1879
|
+
req.send_request(options)
|
1880
|
+
end
|
1881
|
+
|
1653
1882
|
# Deletes the specified interconnect.
|
1654
1883
|
#
|
1655
1884
|
# <note markdown="1"> This is intended for use by AWS Direct Connect partners only.
|
@@ -1946,6 +2175,208 @@ module Aws::DirectConnect
|
|
1946
2175
|
req.send_request(options)
|
1947
2176
|
end
|
1948
2177
|
|
2178
|
+
# Returns a list of all direct connect gateway and virtual private
|
2179
|
+
# gateway (VGW) associations. Either a direct connect gateway ID or a
|
2180
|
+
# VGW ID must be provided in the request. If a direct connect gateway ID
|
2181
|
+
# is provided, the response returns all VGWs associated with the direct
|
2182
|
+
# connect gateway. If a VGW ID is provided, the response returns all
|
2183
|
+
# direct connect gateways associated with the VGW. If both are provided,
|
2184
|
+
# the response only returns the association that matches both the direct
|
2185
|
+
# connect gateway and the VGW.
|
2186
|
+
#
|
2187
|
+
# @option params [String] :direct_connect_gateway_id
|
2188
|
+
# The ID of the direct connect gateway.
|
2189
|
+
#
|
2190
|
+
# Example: "abcd1234-dcba-5678-be23-cdef9876ab45"
|
2191
|
+
#
|
2192
|
+
# Default: None
|
2193
|
+
#
|
2194
|
+
# @option params [String] :virtual_gateway_id
|
2195
|
+
# The ID of the virtual private gateway.
|
2196
|
+
#
|
2197
|
+
# Example: "vgw-abc123ef"
|
2198
|
+
#
|
2199
|
+
# Default: None
|
2200
|
+
#
|
2201
|
+
# @option params [Integer] :max_results
|
2202
|
+
# The maximum number of direct connect gateway associations to return
|
2203
|
+
# per page.
|
2204
|
+
#
|
2205
|
+
# Example: 15
|
2206
|
+
#
|
2207
|
+
# Default: None
|
2208
|
+
#
|
2209
|
+
# @option params [String] :next_token
|
2210
|
+
# The token provided in the previous describe result to retrieve the
|
2211
|
+
# next page of the result.
|
2212
|
+
#
|
2213
|
+
# Default: None
|
2214
|
+
#
|
2215
|
+
# @return [Types::DescribeDirectConnectGatewayAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2216
|
+
#
|
2217
|
+
# * {Types::DescribeDirectConnectGatewayAssociationsResult#direct_connect_gateway_associations #direct_connect_gateway_associations} => Array<Types::DirectConnectGatewayAssociation>
|
2218
|
+
# * {Types::DescribeDirectConnectGatewayAssociationsResult#next_token #next_token} => String
|
2219
|
+
#
|
2220
|
+
# @example Request syntax with placeholder values
|
2221
|
+
#
|
2222
|
+
# resp = client.describe_direct_connect_gateway_associations({
|
2223
|
+
# direct_connect_gateway_id: "DirectConnectGatewayId",
|
2224
|
+
# virtual_gateway_id: "VirtualGatewayId",
|
2225
|
+
# max_results: 1,
|
2226
|
+
# next_token: "PaginationToken",
|
2227
|
+
# })
|
2228
|
+
#
|
2229
|
+
# @example Response structure
|
2230
|
+
#
|
2231
|
+
# resp.direct_connect_gateway_associations #=> Array
|
2232
|
+
# resp.direct_connect_gateway_associations[0].direct_connect_gateway_id #=> String
|
2233
|
+
# resp.direct_connect_gateway_associations[0].virtual_gateway_id #=> String
|
2234
|
+
# resp.direct_connect_gateway_associations[0].virtual_gateway_region #=> String
|
2235
|
+
# resp.direct_connect_gateway_associations[0].virtual_gateway_owner_account #=> String
|
2236
|
+
# resp.direct_connect_gateway_associations[0].association_state #=> String, one of "associating", "associated", "disassociating", "disassociated"
|
2237
|
+
# resp.direct_connect_gateway_associations[0].state_change_error #=> String
|
2238
|
+
# resp.next_token #=> String
|
2239
|
+
#
|
2240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociations AWS API Documentation
|
2241
|
+
#
|
2242
|
+
# @overload describe_direct_connect_gateway_associations(params = {})
|
2243
|
+
# @param [Hash] params ({})
|
2244
|
+
def describe_direct_connect_gateway_associations(params = {}, options = {})
|
2245
|
+
req = build_request(:describe_direct_connect_gateway_associations, params)
|
2246
|
+
req.send_request(options)
|
2247
|
+
end
|
2248
|
+
|
2249
|
+
# Returns a list of all direct connect gateway and virtual interface
|
2250
|
+
# (VIF) attachments. Either a direct connect gateway ID or a VIF ID must
|
2251
|
+
# be provided in the request. If a direct connect gateway ID is
|
2252
|
+
# provided, the response returns all VIFs attached to the direct connect
|
2253
|
+
# gateway. If a VIF ID is provided, the response returns all direct
|
2254
|
+
# connect gateways attached to the VIF. If both are provided, the
|
2255
|
+
# response only returns the attachment that matches both the direct
|
2256
|
+
# connect gateway and the VIF.
|
2257
|
+
#
|
2258
|
+
# @option params [String] :direct_connect_gateway_id
|
2259
|
+
# The ID of the direct connect gateway.
|
2260
|
+
#
|
2261
|
+
# Example: "abcd1234-dcba-5678-be23-cdef9876ab45"
|
2262
|
+
#
|
2263
|
+
# Default: None
|
2264
|
+
#
|
2265
|
+
# @option params [String] :virtual_interface_id
|
2266
|
+
# The ID of the virtual interface.
|
2267
|
+
#
|
2268
|
+
# Example: "dxvif-abc123ef"
|
2269
|
+
#
|
2270
|
+
# Default: None
|
2271
|
+
#
|
2272
|
+
# @option params [Integer] :max_results
|
2273
|
+
# The maximum number of direct connect gateway attachments to return per
|
2274
|
+
# page.
|
2275
|
+
#
|
2276
|
+
# Example: 15
|
2277
|
+
#
|
2278
|
+
# Default: None
|
2279
|
+
#
|
2280
|
+
# @option params [String] :next_token
|
2281
|
+
# The token provided in the previous describe result to retrieve the
|
2282
|
+
# next page of the result.
|
2283
|
+
#
|
2284
|
+
# Default: None
|
2285
|
+
#
|
2286
|
+
# @return [Types::DescribeDirectConnectGatewayAttachmentsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2287
|
+
#
|
2288
|
+
# * {Types::DescribeDirectConnectGatewayAttachmentsResult#direct_connect_gateway_attachments #direct_connect_gateway_attachments} => Array<Types::DirectConnectGatewayAttachment>
|
2289
|
+
# * {Types::DescribeDirectConnectGatewayAttachmentsResult#next_token #next_token} => String
|
2290
|
+
#
|
2291
|
+
# @example Request syntax with placeholder values
|
2292
|
+
#
|
2293
|
+
# resp = client.describe_direct_connect_gateway_attachments({
|
2294
|
+
# direct_connect_gateway_id: "DirectConnectGatewayId",
|
2295
|
+
# virtual_interface_id: "VirtualInterfaceId",
|
2296
|
+
# max_results: 1,
|
2297
|
+
# next_token: "PaginationToken",
|
2298
|
+
# })
|
2299
|
+
#
|
2300
|
+
# @example Response structure
|
2301
|
+
#
|
2302
|
+
# resp.direct_connect_gateway_attachments #=> Array
|
2303
|
+
# resp.direct_connect_gateway_attachments[0].direct_connect_gateway_id #=> String
|
2304
|
+
# resp.direct_connect_gateway_attachments[0].virtual_interface_id #=> String
|
2305
|
+
# resp.direct_connect_gateway_attachments[0].virtual_interface_region #=> String
|
2306
|
+
# resp.direct_connect_gateway_attachments[0].virtual_interface_owner_account #=> String
|
2307
|
+
# resp.direct_connect_gateway_attachments[0].attachment_state #=> String, one of "attaching", "attached", "detaching", "detached"
|
2308
|
+
# resp.direct_connect_gateway_attachments[0].state_change_error #=> String
|
2309
|
+
# resp.next_token #=> String
|
2310
|
+
#
|
2311
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachments AWS API Documentation
|
2312
|
+
#
|
2313
|
+
# @overload describe_direct_connect_gateway_attachments(params = {})
|
2314
|
+
# @param [Hash] params ({})
|
2315
|
+
def describe_direct_connect_gateway_attachments(params = {}, options = {})
|
2316
|
+
req = build_request(:describe_direct_connect_gateway_attachments, params)
|
2317
|
+
req.send_request(options)
|
2318
|
+
end
|
2319
|
+
|
2320
|
+
# Returns a list of direct connect gateways in your account. Deleted
|
2321
|
+
# direct connect gateways are not returned. You can provide a direct
|
2322
|
+
# connect gateway ID in the request to return information about the
|
2323
|
+
# specific direct connect gateway only. Otherwise, if a direct connect
|
2324
|
+
# gateway ID is not provided, information about all of your direct
|
2325
|
+
# connect gateways is returned.
|
2326
|
+
#
|
2327
|
+
# @option params [String] :direct_connect_gateway_id
|
2328
|
+
# The ID of the direct connect gateway.
|
2329
|
+
#
|
2330
|
+
# Example: "abcd1234-dcba-5678-be23-cdef9876ab45"
|
2331
|
+
#
|
2332
|
+
# Default: None
|
2333
|
+
#
|
2334
|
+
# @option params [Integer] :max_results
|
2335
|
+
# The maximum number of direct connect gateways to return per page.
|
2336
|
+
#
|
2337
|
+
# Example: 15
|
2338
|
+
#
|
2339
|
+
# Default: None
|
2340
|
+
#
|
2341
|
+
# @option params [String] :next_token
|
2342
|
+
# The token provided in the previous describe result to retrieve the
|
2343
|
+
# next page of the result.
|
2344
|
+
#
|
2345
|
+
# Default: None
|
2346
|
+
#
|
2347
|
+
# @return [Types::DescribeDirectConnectGatewaysResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2348
|
+
#
|
2349
|
+
# * {Types::DescribeDirectConnectGatewaysResult#direct_connect_gateways #direct_connect_gateways} => Array<Types::DirectConnectGateway>
|
2350
|
+
# * {Types::DescribeDirectConnectGatewaysResult#next_token #next_token} => String
|
2351
|
+
#
|
2352
|
+
# @example Request syntax with placeholder values
|
2353
|
+
#
|
2354
|
+
# resp = client.describe_direct_connect_gateways({
|
2355
|
+
# direct_connect_gateway_id: "DirectConnectGatewayId",
|
2356
|
+
# max_results: 1,
|
2357
|
+
# next_token: "PaginationToken",
|
2358
|
+
# })
|
2359
|
+
#
|
2360
|
+
# @example Response structure
|
2361
|
+
#
|
2362
|
+
# resp.direct_connect_gateways #=> Array
|
2363
|
+
# resp.direct_connect_gateways[0].direct_connect_gateway_id #=> String
|
2364
|
+
# resp.direct_connect_gateways[0].direct_connect_gateway_name #=> String
|
2365
|
+
# resp.direct_connect_gateways[0].amazon_side_asn #=> Integer
|
2366
|
+
# resp.direct_connect_gateways[0].owner_account #=> String
|
2367
|
+
# resp.direct_connect_gateways[0].direct_connect_gateway_state #=> String, one of "pending", "available", "deleting", "deleted"
|
2368
|
+
# resp.direct_connect_gateways[0].state_change_error #=> String
|
2369
|
+
# resp.next_token #=> String
|
2370
|
+
#
|
2371
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGateways AWS API Documentation
|
2372
|
+
#
|
2373
|
+
# @overload describe_direct_connect_gateways(params = {})
|
2374
|
+
# @param [Hash] params ({})
|
2375
|
+
def describe_direct_connect_gateways(params = {}, options = {})
|
2376
|
+
req = build_request(:describe_direct_connect_gateways, params)
|
2377
|
+
req.send_request(options)
|
2378
|
+
end
|
2379
|
+
|
1949
2380
|
# Returns a list of hosted connections that have been provisioned on the
|
1950
2381
|
# given interconnect or link aggregation group (LAG).
|
1951
2382
|
#
|
@@ -2351,6 +2782,7 @@ module Aws::DirectConnect
|
|
2351
2782
|
# resp.virtual_interfaces[0].virtual_interface_name #=> String
|
2352
2783
|
# resp.virtual_interfaces[0].vlan #=> Integer
|
2353
2784
|
# resp.virtual_interfaces[0].asn #=> Integer
|
2785
|
+
# resp.virtual_interfaces[0].amazon_side_asn #=> Integer
|
2354
2786
|
# resp.virtual_interfaces[0].auth_key #=> String
|
2355
2787
|
# resp.virtual_interfaces[0].amazon_address #=> String
|
2356
2788
|
# resp.virtual_interfaces[0].customer_address #=> String
|
@@ -2358,6 +2790,7 @@ module Aws::DirectConnect
|
|
2358
2790
|
# resp.virtual_interfaces[0].virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
|
2359
2791
|
# resp.virtual_interfaces[0].customer_router_config #=> String
|
2360
2792
|
# resp.virtual_interfaces[0].virtual_gateway_id #=> String
|
2793
|
+
# resp.virtual_interfaces[0].direct_connect_gateway_id #=> String
|
2361
2794
|
# resp.virtual_interfaces[0].route_filter_prefixes #=> Array
|
2362
2795
|
# resp.virtual_interfaces[0].route_filter_prefixes[0].cidr #=> String
|
2363
2796
|
# resp.virtual_interfaces[0].bgp_peers #=> Array
|
@@ -2626,7 +3059,7 @@ module Aws::DirectConnect
|
|
2626
3059
|
params: params,
|
2627
3060
|
config: config)
|
2628
3061
|
context[:gem_name] = 'aws-sdk-directconnect'
|
2629
|
-
context[:gem_version] = '1.
|
3062
|
+
context[:gem_version] = '1.1.0'
|
2630
3063
|
Seahorse::Client::Request.new(handlers, context)
|
2631
3064
|
end
|
2632
3065
|
|