aws-sdk-directconnect 1.0.0.rc1 → 1.0.0.rc2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6df95fe19faa82998edb1b4e52d00f2e8a177f51
4
- data.tar.gz: 950fd6f2f1411cde6f18b8aa3c528ad3b29d5e97
3
+ metadata.gz: d284ba09e2e346c424fc4891f2e7d6d1902006ad
4
+ data.tar.gz: 14b2ff883608a3610741841468488f3cf70803b3
5
5
  SHA512:
6
- metadata.gz: 9543253de1b7840561d9273f9ca90e0ca6e0563f90aa98b88e8c6dcad8e52c0e72deb78892464e25492f729624b7585d21e0386317ccf6126a11bfe93788dacc
7
- data.tar.gz: 263f37d94666662da55d4588dedca83a9f2410d145b13899f99d03ca375550c7cc23aa9a028e968e96d1108e17f9912fb8a91e77b6a7d8e3cca9f71760cd9bca
6
+ metadata.gz: a3cbf3fbab5aa016701e562e9b441d7ef4b7ee9db58446d47732eb50789142f5ab9f99c164710ebc075eb82c1ccced242ba39c35b304634cec16ff49c917303b
7
+ data.tar.gz: b7fcb86ac3508f049bf720fddd37b587658619d59a474190adf0d66b2ab00b7eb3b9150fb542e10045a733e1cfc3276bcee58e71c065f7d2be3a18736ba96fb1
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-directconnect/customizations'
42
42
  # @service
43
43
  module Aws::DirectConnect
44
44
 
45
- GEM_VERSION = '1.0.0.rc1'
45
+ GEM_VERSION = '1.0.0.rc2'
46
46
 
47
47
  end
@@ -257,10 +257,12 @@ module Aws
257
257
  # * {Types::VirtualInterface#auth_key #authKey} => String
258
258
  # * {Types::VirtualInterface#amazon_address #amazonAddress} => String
259
259
  # * {Types::VirtualInterface#customer_address #customerAddress} => String
260
+ # * {Types::VirtualInterface#address_family #addressFamily} => String
260
261
  # * {Types::VirtualInterface#virtual_interface_state #virtualInterfaceState} => String
261
262
  # * {Types::VirtualInterface#customer_router_config #customerRouterConfig} => String
262
263
  # * {Types::VirtualInterface#virtual_gateway_id #virtualGatewayId} => String
263
264
  # * {Types::VirtualInterface#route_filter_prefixes #routeFilterPrefixes} => Array<Types::RouteFilterPrefix>
265
+ # * {Types::VirtualInterface#bgp_peers #bgpPeers} => Array<Types::BGPPeer>
264
266
  #
265
267
  # @example Request syntax with placeholder values
266
268
  # resp = client.allocate_private_virtual_interface({
@@ -272,6 +274,7 @@ module Aws
272
274
  # asn: 1, # required
273
275
  # auth_key: "BGPAuthKey",
274
276
  # amazon_address: "AmazonAddress",
277
+ # address_family: "ipv4", # accepts ipv4, ipv6
275
278
  # customer_address: "CustomerAddress",
276
279
  # },
277
280
  # })
@@ -288,11 +291,20 @@ module Aws
288
291
  # resp.auth_key #=> String
289
292
  # resp.amazon_address #=> String
290
293
  # resp.customer_address #=> String
294
+ # resp.address_family #=> String, one of "ipv4", "ipv6"
291
295
  # resp.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
292
296
  # resp.customer_router_config #=> String
293
297
  # resp.virtual_gateway_id #=> String
294
298
  # resp.route_filter_prefixes #=> Array
295
299
  # resp.route_filter_prefixes[0].cidr #=> String
300
+ # resp.bgp_peers #=> Array
301
+ # resp.bgp_peers[0].asn #=> Integer
302
+ # resp.bgp_peers[0].auth_key #=> String
303
+ # resp.bgp_peers[0].address_family #=> String, one of "ipv4", "ipv6"
304
+ # resp.bgp_peers[0].amazon_address #=> String
305
+ # resp.bgp_peers[0].customer_address #=> String
306
+ # resp.bgp_peers[0].bgp_peer_state #=> String, one of "verifying", "pending", "available", "deleting", "deleted"
307
+ # resp.bgp_peers[0].bgp_status #=> String, one of "up", "down"
296
308
  # @overload allocate_private_virtual_interface(params = {})
297
309
  # @param [Hash] params ({})
298
310
  def allocate_private_virtual_interface(params = {}, options = {})
@@ -310,6 +322,11 @@ module Aws
310
322
  # the virtual interface owner by calling ConfirmPublicVirtualInterface.
311
323
  # Until this step has been completed, the virtual interface will be in
312
324
  # 'Confirming' state, and will not be available for handling traffic.
325
+ #
326
+ # When creating an IPv6 public virtual interface (addressFamily is
327
+ # 'ipv6'), the customer and amazon address fields should be left blank
328
+ # to use auto-assigned IPv6 space. Custom IPv6 Addresses are currently
329
+ # not supported.
313
330
  # @option params [required, String] :connection_id
314
331
  # The connection ID on which the public virtual interface is
315
332
  # provisioned.
@@ -337,10 +354,12 @@ module Aws
337
354
  # * {Types::VirtualInterface#auth_key #authKey} => String
338
355
  # * {Types::VirtualInterface#amazon_address #amazonAddress} => String
339
356
  # * {Types::VirtualInterface#customer_address #customerAddress} => String
357
+ # * {Types::VirtualInterface#address_family #addressFamily} => String
340
358
  # * {Types::VirtualInterface#virtual_interface_state #virtualInterfaceState} => String
341
359
  # * {Types::VirtualInterface#customer_router_config #customerRouterConfig} => String
342
360
  # * {Types::VirtualInterface#virtual_gateway_id #virtualGatewayId} => String
343
361
  # * {Types::VirtualInterface#route_filter_prefixes #routeFilterPrefixes} => Array<Types::RouteFilterPrefix>
362
+ # * {Types::VirtualInterface#bgp_peers #bgpPeers} => Array<Types::BGPPeer>
344
363
  #
345
364
  # @example Request syntax with placeholder values
346
365
  # resp = client.allocate_public_virtual_interface({
@@ -351,9 +370,10 @@ module Aws
351
370
  # vlan: 1, # required
352
371
  # asn: 1, # required
353
372
  # auth_key: "BGPAuthKey",
354
- # amazon_address: "AmazonAddress", # required
355
- # customer_address: "CustomerAddress", # required
356
- # route_filter_prefixes: [ # required
373
+ # amazon_address: "AmazonAddress",
374
+ # customer_address: "CustomerAddress",
375
+ # address_family: "ipv4", # accepts ipv4, ipv6
376
+ # route_filter_prefixes: [
357
377
  # {
358
378
  # cidr: "CIDR",
359
379
  # },
@@ -373,11 +393,20 @@ module Aws
373
393
  # resp.auth_key #=> String
374
394
  # resp.amazon_address #=> String
375
395
  # resp.customer_address #=> String
396
+ # resp.address_family #=> String, one of "ipv4", "ipv6"
376
397
  # resp.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
377
398
  # resp.customer_router_config #=> String
378
399
  # resp.virtual_gateway_id #=> String
379
400
  # resp.route_filter_prefixes #=> Array
380
401
  # resp.route_filter_prefixes[0].cidr #=> String
402
+ # resp.bgp_peers #=> Array
403
+ # resp.bgp_peers[0].asn #=> Integer
404
+ # resp.bgp_peers[0].auth_key #=> String
405
+ # resp.bgp_peers[0].address_family #=> String, one of "ipv4", "ipv6"
406
+ # resp.bgp_peers[0].amazon_address #=> String
407
+ # resp.bgp_peers[0].customer_address #=> String
408
+ # resp.bgp_peers[0].bgp_peer_state #=> String, one of "verifying", "pending", "available", "deleting", "deleted"
409
+ # resp.bgp_peers[0].bgp_status #=> String, one of "up", "down"
381
410
  # @overload allocate_public_virtual_interface(params = {})
382
411
  # @param [Hash] params ({})
383
412
  def allocate_public_virtual_interface(params = {}, options = {})
@@ -487,6 +516,80 @@ module Aws
487
516
  req.send_request(options)
488
517
  end
489
518
 
519
+ # Creates a new BGP peer on a specified virtual interface. The BGP peer
520
+ # cannot be in the same address family (IPv4/IPv6) of an existing BGP
521
+ # peer on the virtual interface.
522
+ #
523
+ # You must create a BGP peer for the corresponding address family in
524
+ # order to access AWS resources that also use that address family.
525
+ #
526
+ # When creating a IPv6 BGP peer, the Amazon address and customer address
527
+ # fields must be left blank. IPv6 addresses are automatically assigned
528
+ # from Amazon's pool of IPv6 addresses; you cannot specify custom IPv6
529
+ # addresses.
530
+ #
531
+ # For a public virtual interface, the Autonomous System Number (ASN)
532
+ # must be private or already whitelisted for the virtual interface.
533
+ # @option params [String] :virtual_interface_id
534
+ # The ID of the virtual interface on which the BGP peer will be
535
+ # provisioned.
536
+ #
537
+ # Example: dxvif-456abc78
538
+ #
539
+ # Default: None
540
+ # @option params [Types::NewBGPPeer] :new_bgp_peer
541
+ # Detailed information for the BGP peer to be created.
542
+ #
543
+ # Default: None
544
+ # @return [Types::CreateBGPPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
545
+ #
546
+ # * {Types::CreateBGPPeerResponse#virtual_interface #virtualInterface} => Types::VirtualInterface
547
+ #
548
+ # @example Request syntax with placeholder values
549
+ # resp = client.create_bgp_peer({
550
+ # virtual_interface_id: "VirtualInterfaceId",
551
+ # new_bgp_peer: {
552
+ # asn: 1,
553
+ # auth_key: "BGPAuthKey",
554
+ # address_family: "ipv4", # accepts ipv4, ipv6
555
+ # amazon_address: "AmazonAddress",
556
+ # customer_address: "CustomerAddress",
557
+ # },
558
+ # })
559
+ #
560
+ # @example Response structure
561
+ # resp.virtual_interface.owner_account #=> String
562
+ # resp.virtual_interface.virtual_interface_id #=> String
563
+ # resp.virtual_interface.location #=> String
564
+ # resp.virtual_interface.connection_id #=> String
565
+ # resp.virtual_interface.virtual_interface_type #=> String
566
+ # resp.virtual_interface.virtual_interface_name #=> String
567
+ # resp.virtual_interface.vlan #=> Integer
568
+ # resp.virtual_interface.asn #=> Integer
569
+ # resp.virtual_interface.auth_key #=> String
570
+ # resp.virtual_interface.amazon_address #=> String
571
+ # resp.virtual_interface.customer_address #=> String
572
+ # resp.virtual_interface.address_family #=> String, one of "ipv4", "ipv6"
573
+ # resp.virtual_interface.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
574
+ # resp.virtual_interface.customer_router_config #=> String
575
+ # resp.virtual_interface.virtual_gateway_id #=> String
576
+ # resp.virtual_interface.route_filter_prefixes #=> Array
577
+ # resp.virtual_interface.route_filter_prefixes[0].cidr #=> String
578
+ # resp.virtual_interface.bgp_peers #=> Array
579
+ # resp.virtual_interface.bgp_peers[0].asn #=> Integer
580
+ # resp.virtual_interface.bgp_peers[0].auth_key #=> String
581
+ # resp.virtual_interface.bgp_peers[0].address_family #=> String, one of "ipv4", "ipv6"
582
+ # resp.virtual_interface.bgp_peers[0].amazon_address #=> String
583
+ # resp.virtual_interface.bgp_peers[0].customer_address #=> String
584
+ # resp.virtual_interface.bgp_peers[0].bgp_peer_state #=> String, one of "verifying", "pending", "available", "deleting", "deleted"
585
+ # resp.virtual_interface.bgp_peers[0].bgp_status #=> String, one of "up", "down"
586
+ # @overload create_bgp_peer(params = {})
587
+ # @param [Hash] params ({})
588
+ def create_bgp_peer(params = {}, options = {})
589
+ req = build_request(:create_bgp_peer, params)
590
+ req.send_request(options)
591
+ end
592
+
490
593
  # Creates a new connection between the customer network and a specific
491
594
  # AWS Direct Connect location.
492
595
  #
@@ -654,10 +757,12 @@ module Aws
654
757
  # * {Types::VirtualInterface#auth_key #authKey} => String
655
758
  # * {Types::VirtualInterface#amazon_address #amazonAddress} => String
656
759
  # * {Types::VirtualInterface#customer_address #customerAddress} => String
760
+ # * {Types::VirtualInterface#address_family #addressFamily} => String
657
761
  # * {Types::VirtualInterface#virtual_interface_state #virtualInterfaceState} => String
658
762
  # * {Types::VirtualInterface#customer_router_config #customerRouterConfig} => String
659
763
  # * {Types::VirtualInterface#virtual_gateway_id #virtualGatewayId} => String
660
764
  # * {Types::VirtualInterface#route_filter_prefixes #routeFilterPrefixes} => Array<Types::RouteFilterPrefix>
765
+ # * {Types::VirtualInterface#bgp_peers #bgpPeers} => Array<Types::BGPPeer>
661
766
  #
662
767
  # @example Request syntax with placeholder values
663
768
  # resp = client.create_private_virtual_interface({
@@ -669,6 +774,7 @@ module Aws
669
774
  # auth_key: "BGPAuthKey",
670
775
  # amazon_address: "AmazonAddress",
671
776
  # customer_address: "CustomerAddress",
777
+ # address_family: "ipv4", # accepts ipv4, ipv6
672
778
  # virtual_gateway_id: "VirtualGatewayId", # required
673
779
  # },
674
780
  # })
@@ -685,11 +791,20 @@ module Aws
685
791
  # resp.auth_key #=> String
686
792
  # resp.amazon_address #=> String
687
793
  # resp.customer_address #=> String
794
+ # resp.address_family #=> String, one of "ipv4", "ipv6"
688
795
  # resp.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
689
796
  # resp.customer_router_config #=> String
690
797
  # resp.virtual_gateway_id #=> String
691
798
  # resp.route_filter_prefixes #=> Array
692
799
  # resp.route_filter_prefixes[0].cidr #=> String
800
+ # resp.bgp_peers #=> Array
801
+ # resp.bgp_peers[0].asn #=> Integer
802
+ # resp.bgp_peers[0].auth_key #=> String
803
+ # resp.bgp_peers[0].address_family #=> String, one of "ipv4", "ipv6"
804
+ # resp.bgp_peers[0].amazon_address #=> String
805
+ # resp.bgp_peers[0].customer_address #=> String
806
+ # resp.bgp_peers[0].bgp_peer_state #=> String, one of "verifying", "pending", "available", "deleting", "deleted"
807
+ # resp.bgp_peers[0].bgp_status #=> String, one of "up", "down"
693
808
  # @overload create_private_virtual_interface(params = {})
694
809
  # @param [Hash] params ({})
695
810
  def create_private_virtual_interface(params = {}, options = {})
@@ -701,6 +816,11 @@ module Aws
701
816
  # VLAN that transports AWS Direct Connect traffic. A public virtual
702
817
  # interface supports sending traffic to public services of AWS such as
703
818
  # Amazon Simple Storage Service (Amazon S3).
819
+ #
820
+ # When creating an IPv6 public virtual interface (addressFamily is
821
+ # 'ipv6'), the customer and amazon address fields should be left blank
822
+ # to use auto-assigned IPv6 space. Custom IPv6 Addresses are currently
823
+ # not supported.
704
824
  # @option params [required, String] :connection_id
705
825
  # ID of the connection.
706
826
  #
@@ -724,10 +844,12 @@ module Aws
724
844
  # * {Types::VirtualInterface#auth_key #authKey} => String
725
845
  # * {Types::VirtualInterface#amazon_address #amazonAddress} => String
726
846
  # * {Types::VirtualInterface#customer_address #customerAddress} => String
847
+ # * {Types::VirtualInterface#address_family #addressFamily} => String
727
848
  # * {Types::VirtualInterface#virtual_interface_state #virtualInterfaceState} => String
728
849
  # * {Types::VirtualInterface#customer_router_config #customerRouterConfig} => String
729
850
  # * {Types::VirtualInterface#virtual_gateway_id #virtualGatewayId} => String
730
851
  # * {Types::VirtualInterface#route_filter_prefixes #routeFilterPrefixes} => Array<Types::RouteFilterPrefix>
852
+ # * {Types::VirtualInterface#bgp_peers #bgpPeers} => Array<Types::BGPPeer>
731
853
  #
732
854
  # @example Request syntax with placeholder values
733
855
  # resp = client.create_public_virtual_interface({
@@ -737,9 +859,10 @@ module Aws
737
859
  # vlan: 1, # required
738
860
  # asn: 1, # required
739
861
  # auth_key: "BGPAuthKey",
740
- # amazon_address: "AmazonAddress", # required
741
- # customer_address: "CustomerAddress", # required
742
- # route_filter_prefixes: [ # required
862
+ # amazon_address: "AmazonAddress",
863
+ # customer_address: "CustomerAddress",
864
+ # address_family: "ipv4", # accepts ipv4, ipv6
865
+ # route_filter_prefixes: [
743
866
  # {
744
867
  # cidr: "CIDR",
745
868
  # },
@@ -759,11 +882,20 @@ module Aws
759
882
  # resp.auth_key #=> String
760
883
  # resp.amazon_address #=> String
761
884
  # resp.customer_address #=> String
885
+ # resp.address_family #=> String, one of "ipv4", "ipv6"
762
886
  # resp.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
763
887
  # resp.customer_router_config #=> String
764
888
  # resp.virtual_gateway_id #=> String
765
889
  # resp.route_filter_prefixes #=> Array
766
890
  # resp.route_filter_prefixes[0].cidr #=> String
891
+ # resp.bgp_peers #=> Array
892
+ # resp.bgp_peers[0].asn #=> Integer
893
+ # resp.bgp_peers[0].auth_key #=> String
894
+ # resp.bgp_peers[0].address_family #=> String, one of "ipv4", "ipv6"
895
+ # resp.bgp_peers[0].amazon_address #=> String
896
+ # resp.bgp_peers[0].customer_address #=> String
897
+ # resp.bgp_peers[0].bgp_peer_state #=> String, one of "verifying", "pending", "available", "deleting", "deleted"
898
+ # resp.bgp_peers[0].bgp_status #=> String, one of "up", "down"
767
899
  # @overload create_public_virtual_interface(params = {})
768
900
  # @param [Hash] params ({})
769
901
  def create_public_virtual_interface(params = {}, options = {})
@@ -771,6 +903,69 @@ module Aws
771
903
  req.send_request(options)
772
904
  end
773
905
 
906
+ # Deletes a BGP peer on the specified virtual interface that matches the
907
+ # specified customer address and ASN. You cannot delete the last BGP
908
+ # peer from a virtual interface.
909
+ # @option params [String] :virtual_interface_id
910
+ # The ID of the virtual interface from which the BGP peer will be
911
+ # deleted.
912
+ #
913
+ # Example: dxvif-456abc78
914
+ #
915
+ # Default: None
916
+ # @option params [Integer] :asn
917
+ # Autonomous system (AS) number for Border Gateway Protocol (BGP)
918
+ # configuration.
919
+ #
920
+ # Example: 65000
921
+ # @option params [String] :customer_address
922
+ # IP address assigned to the customer interface.
923
+ #
924
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
925
+ # @return [Types::DeleteBGPPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
926
+ #
927
+ # * {Types::DeleteBGPPeerResponse#virtual_interface #virtualInterface} => Types::VirtualInterface
928
+ #
929
+ # @example Request syntax with placeholder values
930
+ # resp = client.delete_bgp_peer({
931
+ # virtual_interface_id: "VirtualInterfaceId",
932
+ # asn: 1,
933
+ # customer_address: "CustomerAddress",
934
+ # })
935
+ #
936
+ # @example Response structure
937
+ # resp.virtual_interface.owner_account #=> String
938
+ # resp.virtual_interface.virtual_interface_id #=> String
939
+ # resp.virtual_interface.location #=> String
940
+ # resp.virtual_interface.connection_id #=> String
941
+ # resp.virtual_interface.virtual_interface_type #=> String
942
+ # resp.virtual_interface.virtual_interface_name #=> String
943
+ # resp.virtual_interface.vlan #=> Integer
944
+ # resp.virtual_interface.asn #=> Integer
945
+ # resp.virtual_interface.auth_key #=> String
946
+ # resp.virtual_interface.amazon_address #=> String
947
+ # resp.virtual_interface.customer_address #=> String
948
+ # resp.virtual_interface.address_family #=> String, one of "ipv4", "ipv6"
949
+ # resp.virtual_interface.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
950
+ # resp.virtual_interface.customer_router_config #=> String
951
+ # resp.virtual_interface.virtual_gateway_id #=> String
952
+ # resp.virtual_interface.route_filter_prefixes #=> Array
953
+ # resp.virtual_interface.route_filter_prefixes[0].cidr #=> String
954
+ # resp.virtual_interface.bgp_peers #=> Array
955
+ # resp.virtual_interface.bgp_peers[0].asn #=> Integer
956
+ # resp.virtual_interface.bgp_peers[0].auth_key #=> String
957
+ # resp.virtual_interface.bgp_peers[0].address_family #=> String, one of "ipv4", "ipv6"
958
+ # resp.virtual_interface.bgp_peers[0].amazon_address #=> String
959
+ # resp.virtual_interface.bgp_peers[0].customer_address #=> String
960
+ # resp.virtual_interface.bgp_peers[0].bgp_peer_state #=> String, one of "verifying", "pending", "available", "deleting", "deleted"
961
+ # resp.virtual_interface.bgp_peers[0].bgp_status #=> String, one of "up", "down"
962
+ # @overload delete_bgp_peer(params = {})
963
+ # @param [Hash] params ({})
964
+ def delete_bgp_peer(params = {}, options = {})
965
+ req = build_request(:delete_bgp_peer, params)
966
+ req.send_request(options)
967
+ end
968
+
774
969
  # Deletes the connection.
775
970
  #
776
971
  # Deleting a connection only stops the AWS Direct Connect port hour and
@@ -1197,11 +1392,20 @@ module Aws
1197
1392
  # resp.virtual_interfaces[0].auth_key #=> String
1198
1393
  # resp.virtual_interfaces[0].amazon_address #=> String
1199
1394
  # resp.virtual_interfaces[0].customer_address #=> String
1395
+ # resp.virtual_interfaces[0].address_family #=> String, one of "ipv4", "ipv6"
1200
1396
  # resp.virtual_interfaces[0].virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected"
1201
1397
  # resp.virtual_interfaces[0].customer_router_config #=> String
1202
1398
  # resp.virtual_interfaces[0].virtual_gateway_id #=> String
1203
1399
  # resp.virtual_interfaces[0].route_filter_prefixes #=> Array
1204
1400
  # resp.virtual_interfaces[0].route_filter_prefixes[0].cidr #=> String
1401
+ # resp.virtual_interfaces[0].bgp_peers #=> Array
1402
+ # resp.virtual_interfaces[0].bgp_peers[0].asn #=> Integer
1403
+ # resp.virtual_interfaces[0].bgp_peers[0].auth_key #=> String
1404
+ # resp.virtual_interfaces[0].bgp_peers[0].address_family #=> String, one of "ipv4", "ipv6"
1405
+ # resp.virtual_interfaces[0].bgp_peers[0].amazon_address #=> String
1406
+ # resp.virtual_interfaces[0].bgp_peers[0].customer_address #=> String
1407
+ # resp.virtual_interfaces[0].bgp_peers[0].bgp_peer_state #=> String, one of "verifying", "pending", "available", "deleting", "deleted"
1408
+ # resp.virtual_interfaces[0].bgp_peers[0].bgp_status #=> String, one of "up", "down"
1205
1409
  # @overload describe_virtual_interfaces(params = {})
1206
1410
  # @param [Hash] params ({})
1207
1411
  def describe_virtual_interfaces(params = {}, options = {})
@@ -1273,7 +1477,7 @@ module Aws
1273
1477
  params: params,
1274
1478
  config: config)
1275
1479
  context[:gem_name] = 'aws-sdk-directconnect'
1276
- context[:gem_version] = '1.0.0.rc1'
1480
+ context[:gem_version] = '1.0.0.rc2'
1277
1481
  Seahorse::Client::Request.new(handlers, context)
1278
1482
  end
1279
1483
 
@@ -13,11 +13,16 @@ module Aws
13
13
  include Seahorse::Model
14
14
 
15
15
  ASN = Shapes::IntegerShape.new(name: 'ASN')
16
+ AddressFamily = Shapes::StringShape.new(name: 'AddressFamily')
16
17
  AllocateConnectionOnInterconnectRequest = Shapes::StructureShape.new(name: 'AllocateConnectionOnInterconnectRequest')
17
18
  AllocatePrivateVirtualInterfaceRequest = Shapes::StructureShape.new(name: 'AllocatePrivateVirtualInterfaceRequest')
18
19
  AllocatePublicVirtualInterfaceRequest = Shapes::StructureShape.new(name: 'AllocatePublicVirtualInterfaceRequest')
19
20
  AmazonAddress = Shapes::StringShape.new(name: 'AmazonAddress')
20
21
  BGPAuthKey = Shapes::StringShape.new(name: 'BGPAuthKey')
22
+ BGPPeer = Shapes::StructureShape.new(name: 'BGPPeer')
23
+ BGPPeerList = Shapes::ListShape.new(name: 'BGPPeerList')
24
+ BGPPeerState = Shapes::StringShape.new(name: 'BGPPeerState')
25
+ BGPStatus = Shapes::StringShape.new(name: 'BGPStatus')
21
26
  Bandwidth = Shapes::StringShape.new(name: 'Bandwidth')
22
27
  CIDR = Shapes::StringShape.new(name: 'CIDR')
23
28
  ConfirmConnectionRequest = Shapes::StructureShape.new(name: 'ConfirmConnectionRequest')
@@ -32,11 +37,15 @@ module Aws
32
37
  ConnectionName = Shapes::StringShape.new(name: 'ConnectionName')
33
38
  ConnectionState = Shapes::StringShape.new(name: 'ConnectionState')
34
39
  Connections = Shapes::StructureShape.new(name: 'Connections')
40
+ CreateBGPPeerRequest = Shapes::StructureShape.new(name: 'CreateBGPPeerRequest')
41
+ CreateBGPPeerResponse = Shapes::StructureShape.new(name: 'CreateBGPPeerResponse')
35
42
  CreateConnectionRequest = Shapes::StructureShape.new(name: 'CreateConnectionRequest')
36
43
  CreateInterconnectRequest = Shapes::StructureShape.new(name: 'CreateInterconnectRequest')
37
44
  CreatePrivateVirtualInterfaceRequest = Shapes::StructureShape.new(name: 'CreatePrivateVirtualInterfaceRequest')
38
45
  CreatePublicVirtualInterfaceRequest = Shapes::StructureShape.new(name: 'CreatePublicVirtualInterfaceRequest')
39
46
  CustomerAddress = Shapes::StringShape.new(name: 'CustomerAddress')
47
+ DeleteBGPPeerRequest = Shapes::StructureShape.new(name: 'DeleteBGPPeerRequest')
48
+ DeleteBGPPeerResponse = Shapes::StructureShape.new(name: 'DeleteBGPPeerResponse')
40
49
  DeleteConnectionRequest = Shapes::StructureShape.new(name: 'DeleteConnectionRequest')
41
50
  DeleteInterconnectRequest = Shapes::StructureShape.new(name: 'DeleteInterconnectRequest')
42
51
  DeleteInterconnectResponse = Shapes::StructureShape.new(name: 'DeleteInterconnectResponse')
@@ -71,6 +80,7 @@ module Aws
71
80
  LocationList = Shapes::ListShape.new(name: 'LocationList')
72
81
  LocationName = Shapes::StringShape.new(name: 'LocationName')
73
82
  Locations = Shapes::StructureShape.new(name: 'Locations')
83
+ NewBGPPeer = Shapes::StructureShape.new(name: 'NewBGPPeer')
74
84
  NewPrivateVirtualInterface = Shapes::StructureShape.new(name: 'NewPrivateVirtualInterface')
75
85
  NewPrivateVirtualInterfaceAllocation = Shapes::StructureShape.new(name: 'NewPrivateVirtualInterfaceAllocation')
76
86
  NewPublicVirtualInterface = Shapes::StructureShape.new(name: 'NewPublicVirtualInterface')
@@ -127,6 +137,17 @@ module Aws
127
137
  AllocatePublicVirtualInterfaceRequest.add_member(:new_public_virtual_interface_allocation, Shapes::ShapeRef.new(shape: NewPublicVirtualInterfaceAllocation, required: true, location_name: "newPublicVirtualInterfaceAllocation"))
128
138
  AllocatePublicVirtualInterfaceRequest.struct_class = Types::AllocatePublicVirtualInterfaceRequest
129
139
 
140
+ BGPPeer.add_member(:asn, Shapes::ShapeRef.new(shape: ASN, location_name: "asn"))
141
+ BGPPeer.add_member(:auth_key, Shapes::ShapeRef.new(shape: BGPAuthKey, location_name: "authKey"))
142
+ BGPPeer.add_member(:address_family, Shapes::ShapeRef.new(shape: AddressFamily, location_name: "addressFamily"))
143
+ BGPPeer.add_member(:amazon_address, Shapes::ShapeRef.new(shape: AmazonAddress, location_name: "amazonAddress"))
144
+ BGPPeer.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, location_name: "customerAddress"))
145
+ BGPPeer.add_member(:bgp_peer_state, Shapes::ShapeRef.new(shape: BGPPeerState, location_name: "bgpPeerState"))
146
+ BGPPeer.add_member(:bgp_status, Shapes::ShapeRef.new(shape: BGPStatus, location_name: "bgpStatus"))
147
+ BGPPeer.struct_class = Types::BGPPeer
148
+
149
+ BGPPeerList.member = Shapes::ShapeRef.new(shape: BGPPeer)
150
+
130
151
  ConfirmConnectionRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, required: true, location_name: "connectionId"))
131
152
  ConfirmConnectionRequest.struct_class = Types::ConfirmConnectionRequest
132
153
 
@@ -163,6 +184,13 @@ module Aws
163
184
  Connections.add_member(:connections, Shapes::ShapeRef.new(shape: ConnectionList, location_name: "connections"))
164
185
  Connections.struct_class = Types::Connections
165
186
 
187
+ CreateBGPPeerRequest.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, location_name: "virtualInterfaceId"))
188
+ CreateBGPPeerRequest.add_member(:new_bgp_peer, Shapes::ShapeRef.new(shape: NewBGPPeer, location_name: "newBGPPeer"))
189
+ CreateBGPPeerRequest.struct_class = Types::CreateBGPPeerRequest
190
+
191
+ CreateBGPPeerResponse.add_member(:virtual_interface, Shapes::ShapeRef.new(shape: VirtualInterface, location_name: "virtualInterface"))
192
+ CreateBGPPeerResponse.struct_class = Types::CreateBGPPeerResponse
193
+
166
194
  CreateConnectionRequest.add_member(:location, Shapes::ShapeRef.new(shape: LocationCode, required: true, location_name: "location"))
167
195
  CreateConnectionRequest.add_member(:bandwidth, Shapes::ShapeRef.new(shape: Bandwidth, required: true, location_name: "bandwidth"))
168
196
  CreateConnectionRequest.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, required: true, location_name: "connectionName"))
@@ -181,6 +209,14 @@ module Aws
181
209
  CreatePublicVirtualInterfaceRequest.add_member(:new_public_virtual_interface, Shapes::ShapeRef.new(shape: NewPublicVirtualInterface, required: true, location_name: "newPublicVirtualInterface"))
182
210
  CreatePublicVirtualInterfaceRequest.struct_class = Types::CreatePublicVirtualInterfaceRequest
183
211
 
212
+ DeleteBGPPeerRequest.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, location_name: "virtualInterfaceId"))
213
+ DeleteBGPPeerRequest.add_member(:asn, Shapes::ShapeRef.new(shape: ASN, location_name: "asn"))
214
+ DeleteBGPPeerRequest.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, location_name: "customerAddress"))
215
+ DeleteBGPPeerRequest.struct_class = Types::DeleteBGPPeerRequest
216
+
217
+ DeleteBGPPeerResponse.add_member(:virtual_interface, Shapes::ShapeRef.new(shape: VirtualInterface, location_name: "virtualInterface"))
218
+ DeleteBGPPeerResponse.struct_class = Types::DeleteBGPPeerResponse
219
+
184
220
  DeleteConnectionRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, required: true, location_name: "connectionId"))
185
221
  DeleteConnectionRequest.struct_class = Types::DeleteConnectionRequest
186
222
 
@@ -258,12 +294,20 @@ module Aws
258
294
  Locations.add_member(:locations, Shapes::ShapeRef.new(shape: LocationList, location_name: "locations"))
259
295
  Locations.struct_class = Types::Locations
260
296
 
297
+ NewBGPPeer.add_member(:asn, Shapes::ShapeRef.new(shape: ASN, location_name: "asn"))
298
+ NewBGPPeer.add_member(:auth_key, Shapes::ShapeRef.new(shape: BGPAuthKey, location_name: "authKey"))
299
+ NewBGPPeer.add_member(:address_family, Shapes::ShapeRef.new(shape: AddressFamily, location_name: "addressFamily"))
300
+ NewBGPPeer.add_member(:amazon_address, Shapes::ShapeRef.new(shape: AmazonAddress, location_name: "amazonAddress"))
301
+ NewBGPPeer.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, location_name: "customerAddress"))
302
+ NewBGPPeer.struct_class = Types::NewBGPPeer
303
+
261
304
  NewPrivateVirtualInterface.add_member(:virtual_interface_name, Shapes::ShapeRef.new(shape: VirtualInterfaceName, required: true, location_name: "virtualInterfaceName"))
262
305
  NewPrivateVirtualInterface.add_member(:vlan, Shapes::ShapeRef.new(shape: VLAN, required: true, location_name: "vlan"))
263
306
  NewPrivateVirtualInterface.add_member(:asn, Shapes::ShapeRef.new(shape: ASN, required: true, location_name: "asn"))
264
307
  NewPrivateVirtualInterface.add_member(:auth_key, Shapes::ShapeRef.new(shape: BGPAuthKey, location_name: "authKey"))
265
308
  NewPrivateVirtualInterface.add_member(:amazon_address, Shapes::ShapeRef.new(shape: AmazonAddress, location_name: "amazonAddress"))
266
309
  NewPrivateVirtualInterface.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, location_name: "customerAddress"))
310
+ NewPrivateVirtualInterface.add_member(:address_family, Shapes::ShapeRef.new(shape: AddressFamily, location_name: "addressFamily"))
267
311
  NewPrivateVirtualInterface.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, required: true, location_name: "virtualGatewayId"))
268
312
  NewPrivateVirtualInterface.struct_class = Types::NewPrivateVirtualInterface
269
313
 
@@ -272,6 +316,7 @@ module Aws
272
316
  NewPrivateVirtualInterfaceAllocation.add_member(:asn, Shapes::ShapeRef.new(shape: ASN, required: true, location_name: "asn"))
273
317
  NewPrivateVirtualInterfaceAllocation.add_member(:auth_key, Shapes::ShapeRef.new(shape: BGPAuthKey, location_name: "authKey"))
274
318
  NewPrivateVirtualInterfaceAllocation.add_member(:amazon_address, Shapes::ShapeRef.new(shape: AmazonAddress, location_name: "amazonAddress"))
319
+ NewPrivateVirtualInterfaceAllocation.add_member(:address_family, Shapes::ShapeRef.new(shape: AddressFamily, location_name: "addressFamily"))
275
320
  NewPrivateVirtualInterfaceAllocation.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, location_name: "customerAddress"))
276
321
  NewPrivateVirtualInterfaceAllocation.struct_class = Types::NewPrivateVirtualInterfaceAllocation
277
322
 
@@ -279,18 +324,20 @@ module Aws
279
324
  NewPublicVirtualInterface.add_member(:vlan, Shapes::ShapeRef.new(shape: VLAN, required: true, location_name: "vlan"))
280
325
  NewPublicVirtualInterface.add_member(:asn, Shapes::ShapeRef.new(shape: ASN, required: true, location_name: "asn"))
281
326
  NewPublicVirtualInterface.add_member(:auth_key, Shapes::ShapeRef.new(shape: BGPAuthKey, location_name: "authKey"))
282
- NewPublicVirtualInterface.add_member(:amazon_address, Shapes::ShapeRef.new(shape: AmazonAddress, required: true, location_name: "amazonAddress"))
283
- NewPublicVirtualInterface.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, required: true, location_name: "customerAddress"))
284
- NewPublicVirtualInterface.add_member(:route_filter_prefixes, Shapes::ShapeRef.new(shape: RouteFilterPrefixList, required: true, location_name: "routeFilterPrefixes"))
327
+ NewPublicVirtualInterface.add_member(:amazon_address, Shapes::ShapeRef.new(shape: AmazonAddress, location_name: "amazonAddress"))
328
+ NewPublicVirtualInterface.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, location_name: "customerAddress"))
329
+ NewPublicVirtualInterface.add_member(:address_family, Shapes::ShapeRef.new(shape: AddressFamily, location_name: "addressFamily"))
330
+ NewPublicVirtualInterface.add_member(:route_filter_prefixes, Shapes::ShapeRef.new(shape: RouteFilterPrefixList, location_name: "routeFilterPrefixes"))
285
331
  NewPublicVirtualInterface.struct_class = Types::NewPublicVirtualInterface
286
332
 
287
333
  NewPublicVirtualInterfaceAllocation.add_member(:virtual_interface_name, Shapes::ShapeRef.new(shape: VirtualInterfaceName, required: true, location_name: "virtualInterfaceName"))
288
334
  NewPublicVirtualInterfaceAllocation.add_member(:vlan, Shapes::ShapeRef.new(shape: VLAN, required: true, location_name: "vlan"))
289
335
  NewPublicVirtualInterfaceAllocation.add_member(:asn, Shapes::ShapeRef.new(shape: ASN, required: true, location_name: "asn"))
290
336
  NewPublicVirtualInterfaceAllocation.add_member(:auth_key, Shapes::ShapeRef.new(shape: BGPAuthKey, location_name: "authKey"))
291
- NewPublicVirtualInterfaceAllocation.add_member(:amazon_address, Shapes::ShapeRef.new(shape: AmazonAddress, required: true, location_name: "amazonAddress"))
292
- NewPublicVirtualInterfaceAllocation.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, required: true, location_name: "customerAddress"))
293
- NewPublicVirtualInterfaceAllocation.add_member(:route_filter_prefixes, Shapes::ShapeRef.new(shape: RouteFilterPrefixList, required: true, location_name: "routeFilterPrefixes"))
337
+ NewPublicVirtualInterfaceAllocation.add_member(:amazon_address, Shapes::ShapeRef.new(shape: AmazonAddress, location_name: "amazonAddress"))
338
+ NewPublicVirtualInterfaceAllocation.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, location_name: "customerAddress"))
339
+ NewPublicVirtualInterfaceAllocation.add_member(:address_family, Shapes::ShapeRef.new(shape: AddressFamily, location_name: "addressFamily"))
340
+ NewPublicVirtualInterfaceAllocation.add_member(:route_filter_prefixes, Shapes::ShapeRef.new(shape: RouteFilterPrefixList, location_name: "routeFilterPrefixes"))
294
341
  NewPublicVirtualInterfaceAllocation.struct_class = Types::NewPublicVirtualInterfaceAllocation
295
342
 
296
343
  ResourceArnList.member = Shapes::ShapeRef.new(shape: ResourceArn)
@@ -346,10 +393,12 @@ module Aws
346
393
  VirtualInterface.add_member(:auth_key, Shapes::ShapeRef.new(shape: BGPAuthKey, location_name: "authKey"))
347
394
  VirtualInterface.add_member(:amazon_address, Shapes::ShapeRef.new(shape: AmazonAddress, location_name: "amazonAddress"))
348
395
  VirtualInterface.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, location_name: "customerAddress"))
396
+ VirtualInterface.add_member(:address_family, Shapes::ShapeRef.new(shape: AddressFamily, location_name: "addressFamily"))
349
397
  VirtualInterface.add_member(:virtual_interface_state, Shapes::ShapeRef.new(shape: VirtualInterfaceState, location_name: "virtualInterfaceState"))
350
398
  VirtualInterface.add_member(:customer_router_config, Shapes::ShapeRef.new(shape: RouterConfig, location_name: "customerRouterConfig"))
351
399
  VirtualInterface.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, location_name: "virtualGatewayId"))
352
400
  VirtualInterface.add_member(:route_filter_prefixes, Shapes::ShapeRef.new(shape: RouteFilterPrefixList, location_name: "routeFilterPrefixes"))
401
+ VirtualInterface.add_member(:bgp_peers, Shapes::ShapeRef.new(shape: BGPPeerList, location_name: "bgpPeers"))
353
402
  VirtualInterface.struct_class = Types::VirtualInterface
354
403
 
355
404
  VirtualInterfaceList.member = Shapes::ShapeRef.new(shape: VirtualInterface)
@@ -432,6 +481,16 @@ module Aws
432
481
  o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
433
482
  end)
434
483
 
484
+ api.add_operation(:create_bgp_peer, Seahorse::Model::Operation.new.tap do |o|
485
+ o.name = "CreateBGPPeer"
486
+ o.http_method = "POST"
487
+ o.http_request_uri = "/"
488
+ o.input = Shapes::ShapeRef.new(shape: CreateBGPPeerRequest)
489
+ o.output = Shapes::ShapeRef.new(shape: CreateBGPPeerResponse)
490
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectServerException)
491
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
492
+ end)
493
+
435
494
  api.add_operation(:create_connection, Seahorse::Model::Operation.new.tap do |o|
436
495
  o.name = "CreateConnection"
437
496
  o.http_method = "POST"
@@ -472,6 +531,16 @@ module Aws
472
531
  o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
473
532
  end)
474
533
 
534
+ api.add_operation(:delete_bgp_peer, Seahorse::Model::Operation.new.tap do |o|
535
+ o.name = "DeleteBGPPeer"
536
+ o.http_method = "POST"
537
+ o.http_request_uri = "/"
538
+ o.input = Shapes::ShapeRef.new(shape: DeleteBGPPeerRequest)
539
+ o.output = Shapes::ShapeRef.new(shape: DeleteBGPPeerResponse)
540
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectServerException)
541
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
542
+ end)
543
+
475
544
  api.add_operation(:delete_connection, Seahorse::Model::Operation.new.tap do |o|
476
545
  o.name = "DeleteConnection"
477
546
  o.http_method = "POST"
@@ -86,6 +86,7 @@ module Aws
86
86
  # asn: 1, # required
87
87
  # auth_key: "BGPAuthKey",
88
88
  # amazon_address: "AmazonAddress",
89
+ # address_family: "ipv4", # accepts ipv4, ipv6
89
90
  # customer_address: "CustomerAddress",
90
91
  # },
91
92
  # }
@@ -128,9 +129,10 @@ module Aws
128
129
  # vlan: 1, # required
129
130
  # asn: 1, # required
130
131
  # auth_key: "BGPAuthKey",
131
- # amazon_address: "AmazonAddress", # required
132
- # customer_address: "CustomerAddress", # required
133
- # route_filter_prefixes: [ # required
132
+ # amazon_address: "AmazonAddress",
133
+ # customer_address: "CustomerAddress",
134
+ # address_family: "ipv4", # accepts ipv4, ipv6
135
+ # route_filter_prefixes: [
134
136
  # {
135
137
  # cidr: "CIDR",
136
138
  # },
@@ -163,6 +165,76 @@ module Aws
163
165
  include Aws::Structure
164
166
  end
165
167
 
168
+ # A structure containing information about a BGP peer.
169
+ # @!attribute [rw] asn
170
+ # Autonomous system (AS) number for Border Gateway Protocol (BGP)
171
+ # configuration.
172
+ #
173
+ # Example: 65000
174
+ # @return [Integer]
175
+ #
176
+ # @!attribute [rw] auth_key
177
+ # Authentication key for BGP configuration.
178
+ #
179
+ # Example: asdf34example
180
+ # @return [String]
181
+ #
182
+ # @!attribute [rw] address_family
183
+ # Indicates the address family for the BGP peer.
184
+ #
185
+ # * **ipv4**\: IPv4 address family
186
+ #
187
+ # * **ipv6**\: IPv6 address family
188
+ # @return [String]
189
+ #
190
+ # @!attribute [rw] amazon_address
191
+ # IP address assigned to the Amazon interface.
192
+ #
193
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
194
+ # @return [String]
195
+ #
196
+ # @!attribute [rw] customer_address
197
+ # IP address assigned to the customer interface.
198
+ #
199
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
200
+ # @return [String]
201
+ #
202
+ # @!attribute [rw] bgp_peer_state
203
+ # The state of the BGP peer.
204
+ #
205
+ # * **Verifying**\: The BGP peering addresses or ASN require
206
+ # validation before the BGP peer can be created. This state only
207
+ # applies to BGP peers on a public virtual interface.
208
+ #
209
+ # * **Pending**\: The BGP peer has been created, and is in this state
210
+ # until it is ready to be established.
211
+ #
212
+ # * **Available**\: The BGP peer can be established.
213
+ #
214
+ # * **Deleting**\: The BGP peer is in the process of being deleted.
215
+ #
216
+ # * **Deleted**\: The BGP peer has been deleted and cannot be
217
+ # established.
218
+ # @return [String]
219
+ #
220
+ # @!attribute [rw] bgp_status
221
+ # The Up/Down state of the BGP peer.
222
+ #
223
+ # * **Up**\: The BGP peer is established.
224
+ #
225
+ # * **Down**\: The BGP peer is down.
226
+ # @return [String]
227
+ class BGPPeer < Struct.new(
228
+ :asn,
229
+ :auth_key,
230
+ :address_family,
231
+ :amazon_address,
232
+ :customer_address,
233
+ :bgp_peer_state,
234
+ :bgp_status)
235
+ include Aws::Structure
236
+ end
237
+
166
238
  # Container for the parameters to the ConfirmConnection operation.
167
239
  # @note When making an API call, pass ConfirmConnectionRequest
168
240
  # data as a hash:
@@ -462,6 +534,50 @@ module Aws
462
534
  include Aws::Structure
463
535
  end
464
536
 
537
+ # Container for the parameters to the CreateBGPPeer operation.
538
+ # @note When making an API call, pass CreateBGPPeerRequest
539
+ # data as a hash:
540
+ #
541
+ # {
542
+ # virtual_interface_id: "VirtualInterfaceId",
543
+ # new_bgp_peer: {
544
+ # asn: 1,
545
+ # auth_key: "BGPAuthKey",
546
+ # address_family: "ipv4", # accepts ipv4, ipv6
547
+ # amazon_address: "AmazonAddress",
548
+ # customer_address: "CustomerAddress",
549
+ # },
550
+ # }
551
+ # @!attribute [rw] virtual_interface_id
552
+ # The ID of the virtual interface on which the BGP peer will be
553
+ # provisioned.
554
+ #
555
+ # Example: dxvif-456abc78
556
+ #
557
+ # Default: None
558
+ # @return [String]
559
+ #
560
+ # @!attribute [rw] new_bgp_peer
561
+ # Detailed information for the BGP peer to be created.
562
+ #
563
+ # Default: None
564
+ # @return [Types::NewBGPPeer]
565
+ class CreateBGPPeerRequest < Struct.new(
566
+ :virtual_interface_id,
567
+ :new_bgp_peer)
568
+ include Aws::Structure
569
+ end
570
+
571
+ # The response received when CreateBGPPeer is called.
572
+ # @!attribute [rw] virtual_interface
573
+ # A virtual interface (VLAN) transmits the traffic between the AWS
574
+ # Direct Connect location and the customer.
575
+ # @return [Types::VirtualInterface]
576
+ class CreateBGPPeerResponse < Struct.new(
577
+ :virtual_interface)
578
+ include Aws::Structure
579
+ end
580
+
465
581
  # Container for the parameters to the CreateConnection operation.
466
582
  # @note When making an API call, pass CreateConnectionRequest
467
583
  # data as a hash:
@@ -556,6 +672,7 @@ module Aws
556
672
  # auth_key: "BGPAuthKey",
557
673
  # amazon_address: "AmazonAddress",
558
674
  # customer_address: "CustomerAddress",
675
+ # address_family: "ipv4", # accepts ipv4, ipv6
559
676
  # virtual_gateway_id: "VirtualGatewayId", # required
560
677
  # },
561
678
  # }
@@ -591,9 +708,10 @@ module Aws
591
708
  # vlan: 1, # required
592
709
  # asn: 1, # required
593
710
  # auth_key: "BGPAuthKey",
594
- # amazon_address: "AmazonAddress", # required
595
- # customer_address: "CustomerAddress", # required
596
- # route_filter_prefixes: [ # required
711
+ # amazon_address: "AmazonAddress",
712
+ # customer_address: "CustomerAddress",
713
+ # address_family: "ipv4", # accepts ipv4, ipv6
714
+ # route_filter_prefixes: [
597
715
  # {
598
716
  # cidr: "CIDR",
599
717
  # },
@@ -619,6 +737,53 @@ module Aws
619
737
  include Aws::Structure
620
738
  end
621
739
 
740
+ # Container for the parameters to the DeleteBGPPeer operation.
741
+ # @note When making an API call, pass DeleteBGPPeerRequest
742
+ # data as a hash:
743
+ #
744
+ # {
745
+ # virtual_interface_id: "VirtualInterfaceId",
746
+ # asn: 1,
747
+ # customer_address: "CustomerAddress",
748
+ # }
749
+ # @!attribute [rw] virtual_interface_id
750
+ # The ID of the virtual interface from which the BGP peer will be
751
+ # deleted.
752
+ #
753
+ # Example: dxvif-456abc78
754
+ #
755
+ # Default: None
756
+ # @return [String]
757
+ #
758
+ # @!attribute [rw] asn
759
+ # Autonomous system (AS) number for Border Gateway Protocol (BGP)
760
+ # configuration.
761
+ #
762
+ # Example: 65000
763
+ # @return [Integer]
764
+ #
765
+ # @!attribute [rw] customer_address
766
+ # IP address assigned to the customer interface.
767
+ #
768
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
769
+ # @return [String]
770
+ class DeleteBGPPeerRequest < Struct.new(
771
+ :virtual_interface_id,
772
+ :asn,
773
+ :customer_address)
774
+ include Aws::Structure
775
+ end
776
+
777
+ # The response received when DeleteBGPPeer is called.
778
+ # @!attribute [rw] virtual_interface
779
+ # A virtual interface (VLAN) transmits the traffic between the AWS
780
+ # Direct Connect location and the customer.
781
+ # @return [Types::VirtualInterface]
782
+ class DeleteBGPPeerResponse < Struct.new(
783
+ :virtual_interface)
784
+ include Aws::Structure
785
+ end
786
+
622
787
  # Container for the parameters to the DeleteConnection operation.
623
788
  # @note When making an API call, pass DeleteConnectionRequest
624
789
  # data as a hash:
@@ -1090,6 +1255,58 @@ module Aws
1090
1255
  include Aws::Structure
1091
1256
  end
1092
1257
 
1258
+ # A structure containing information about a new BGP peer.
1259
+ # @note When making an API call, pass NewBGPPeer
1260
+ # data as a hash:
1261
+ #
1262
+ # {
1263
+ # asn: 1,
1264
+ # auth_key: "BGPAuthKey",
1265
+ # address_family: "ipv4", # accepts ipv4, ipv6
1266
+ # amazon_address: "AmazonAddress",
1267
+ # customer_address: "CustomerAddress",
1268
+ # }
1269
+ # @!attribute [rw] asn
1270
+ # Autonomous system (AS) number for Border Gateway Protocol (BGP)
1271
+ # configuration.
1272
+ #
1273
+ # Example: 65000
1274
+ # @return [Integer]
1275
+ #
1276
+ # @!attribute [rw] auth_key
1277
+ # Authentication key for BGP configuration.
1278
+ #
1279
+ # Example: asdf34example
1280
+ # @return [String]
1281
+ #
1282
+ # @!attribute [rw] address_family
1283
+ # Indicates the address family for the BGP peer.
1284
+ #
1285
+ # * **ipv4**\: IPv4 address family
1286
+ #
1287
+ # * **ipv6**\: IPv6 address family
1288
+ # @return [String]
1289
+ #
1290
+ # @!attribute [rw] amazon_address
1291
+ # IP address assigned to the Amazon interface.
1292
+ #
1293
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
1294
+ # @return [String]
1295
+ #
1296
+ # @!attribute [rw] customer_address
1297
+ # IP address assigned to the customer interface.
1298
+ #
1299
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
1300
+ # @return [String]
1301
+ class NewBGPPeer < Struct.new(
1302
+ :asn,
1303
+ :auth_key,
1304
+ :address_family,
1305
+ :amazon_address,
1306
+ :customer_address)
1307
+ include Aws::Structure
1308
+ end
1309
+
1093
1310
  # A structure containing information about a new private virtual
1094
1311
  # interface.
1095
1312
  # @note When making an API call, pass NewPrivateVirtualInterface
@@ -1102,6 +1319,7 @@ module Aws
1102
1319
  # auth_key: "BGPAuthKey",
1103
1320
  # amazon_address: "AmazonAddress",
1104
1321
  # customer_address: "CustomerAddress",
1322
+ # address_family: "ipv4", # accepts ipv4, ipv6
1105
1323
  # virtual_gateway_id: "VirtualGatewayId", # required
1106
1324
  # }
1107
1325
  # @!attribute [rw] virtual_interface_name
@@ -1132,13 +1350,21 @@ module Aws
1132
1350
  # @!attribute [rw] amazon_address
1133
1351
  # IP address assigned to the Amazon interface.
1134
1352
  #
1135
- # Example: 192.168.1.1/30
1353
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
1136
1354
  # @return [String]
1137
1355
  #
1138
1356
  # @!attribute [rw] customer_address
1139
1357
  # IP address assigned to the customer interface.
1140
1358
  #
1141
- # Example: 192.168.1.2/30
1359
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
1360
+ # @return [String]
1361
+ #
1362
+ # @!attribute [rw] address_family
1363
+ # Indicates the address family for the BGP peer.
1364
+ #
1365
+ # * **ipv4**\: IPv4 address family
1366
+ #
1367
+ # * **ipv6**\: IPv6 address family
1142
1368
  # @return [String]
1143
1369
  #
1144
1370
  # @!attribute [rw] virtual_gateway_id
@@ -1154,6 +1380,7 @@ module Aws
1154
1380
  :auth_key,
1155
1381
  :amazon_address,
1156
1382
  :customer_address,
1383
+ :address_family,
1157
1384
  :virtual_gateway_id)
1158
1385
  include Aws::Structure
1159
1386
  end
@@ -1169,6 +1396,7 @@ module Aws
1169
1396
  # asn: 1, # required
1170
1397
  # auth_key: "BGPAuthKey",
1171
1398
  # amazon_address: "AmazonAddress",
1399
+ # address_family: "ipv4", # accepts ipv4, ipv6
1172
1400
  # customer_address: "CustomerAddress",
1173
1401
  # }
1174
1402
  # @!attribute [rw] virtual_interface_name
@@ -1199,13 +1427,21 @@ module Aws
1199
1427
  # @!attribute [rw] amazon_address
1200
1428
  # IP address assigned to the Amazon interface.
1201
1429
  #
1202
- # Example: 192.168.1.1/30
1430
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
1431
+ # @return [String]
1432
+ #
1433
+ # @!attribute [rw] address_family
1434
+ # Indicates the address family for the BGP peer.
1435
+ #
1436
+ # * **ipv4**\: IPv4 address family
1437
+ #
1438
+ # * **ipv6**\: IPv6 address family
1203
1439
  # @return [String]
1204
1440
  #
1205
1441
  # @!attribute [rw] customer_address
1206
1442
  # IP address assigned to the customer interface.
1207
1443
  #
1208
- # Example: 192.168.1.2/30
1444
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
1209
1445
  # @return [String]
1210
1446
  class NewPrivateVirtualInterfaceAllocation < Struct.new(
1211
1447
  :virtual_interface_name,
@@ -1213,6 +1449,7 @@ module Aws
1213
1449
  :asn,
1214
1450
  :auth_key,
1215
1451
  :amazon_address,
1452
+ :address_family,
1216
1453
  :customer_address)
1217
1454
  include Aws::Structure
1218
1455
  end
@@ -1227,9 +1464,10 @@ module Aws
1227
1464
  # vlan: 1, # required
1228
1465
  # asn: 1, # required
1229
1466
  # auth_key: "BGPAuthKey",
1230
- # amazon_address: "AmazonAddress", # required
1231
- # customer_address: "CustomerAddress", # required
1232
- # route_filter_prefixes: [ # required
1467
+ # amazon_address: "AmazonAddress",
1468
+ # customer_address: "CustomerAddress",
1469
+ # address_family: "ipv4", # accepts ipv4, ipv6
1470
+ # route_filter_prefixes: [
1233
1471
  # {
1234
1472
  # cidr: "CIDR",
1235
1473
  # },
@@ -1263,13 +1501,21 @@ module Aws
1263
1501
  # @!attribute [rw] amazon_address
1264
1502
  # IP address assigned to the Amazon interface.
1265
1503
  #
1266
- # Example: 192.168.1.1/30
1504
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
1267
1505
  # @return [String]
1268
1506
  #
1269
1507
  # @!attribute [rw] customer_address
1270
1508
  # IP address assigned to the customer interface.
1271
1509
  #
1272
- # Example: 192.168.1.2/30
1510
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
1511
+ # @return [String]
1512
+ #
1513
+ # @!attribute [rw] address_family
1514
+ # Indicates the address family for the BGP peer.
1515
+ #
1516
+ # * **ipv4**\: IPv4 address family
1517
+ #
1518
+ # * **ipv6**\: IPv6 address family
1273
1519
  # @return [String]
1274
1520
  #
1275
1521
  # @!attribute [rw] route_filter_prefixes
@@ -1283,6 +1529,7 @@ module Aws
1283
1529
  :auth_key,
1284
1530
  :amazon_address,
1285
1531
  :customer_address,
1532
+ :address_family,
1286
1533
  :route_filter_prefixes)
1287
1534
  include Aws::Structure
1288
1535
  end
@@ -1297,9 +1544,10 @@ module Aws
1297
1544
  # vlan: 1, # required
1298
1545
  # asn: 1, # required
1299
1546
  # auth_key: "BGPAuthKey",
1300
- # amazon_address: "AmazonAddress", # required
1301
- # customer_address: "CustomerAddress", # required
1302
- # route_filter_prefixes: [ # required
1547
+ # amazon_address: "AmazonAddress",
1548
+ # customer_address: "CustomerAddress",
1549
+ # address_family: "ipv4", # accepts ipv4, ipv6
1550
+ # route_filter_prefixes: [
1303
1551
  # {
1304
1552
  # cidr: "CIDR",
1305
1553
  # },
@@ -1333,13 +1581,21 @@ module Aws
1333
1581
  # @!attribute [rw] amazon_address
1334
1582
  # IP address assigned to the Amazon interface.
1335
1583
  #
1336
- # Example: 192.168.1.1/30
1584
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
1337
1585
  # @return [String]
1338
1586
  #
1339
1587
  # @!attribute [rw] customer_address
1340
1588
  # IP address assigned to the customer interface.
1341
1589
  #
1342
- # Example: 192.168.1.2/30
1590
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
1591
+ # @return [String]
1592
+ #
1593
+ # @!attribute [rw] address_family
1594
+ # Indicates the address family for the BGP peer.
1595
+ #
1596
+ # * **ipv4**\: IPv4 address family
1597
+ #
1598
+ # * **ipv6**\: IPv6 address family
1343
1599
  # @return [String]
1344
1600
  #
1345
1601
  # @!attribute [rw] route_filter_prefixes
@@ -1353,6 +1609,7 @@ module Aws
1353
1609
  :auth_key,
1354
1610
  :amazon_address,
1355
1611
  :customer_address,
1612
+ :address_family,
1356
1613
  :route_filter_prefixes)
1357
1614
  include Aws::Structure
1358
1615
  end
@@ -1383,7 +1640,9 @@ module Aws
1383
1640
  # CIDR notation for the advertised route. Multiple routes are
1384
1641
  # separated by commas.
1385
1642
  #
1386
- # Example: 10.10.10.0/24,10.10.11.0/24
1643
+ # IPv6 CIDRs must be at least a /64 or shorter
1644
+ #
1645
+ # Example: 10.10.10.0/24,10.10.11.0/24,2001:db8::/64
1387
1646
  # @return [String]
1388
1647
  class RouteFilterPrefix < Struct.new(
1389
1648
  :cidr)
@@ -1578,13 +1837,21 @@ module Aws
1578
1837
  # @!attribute [rw] amazon_address
1579
1838
  # IP address assigned to the Amazon interface.
1580
1839
  #
1581
- # Example: 192.168.1.1/30
1840
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
1582
1841
  # @return [String]
1583
1842
  #
1584
1843
  # @!attribute [rw] customer_address
1585
1844
  # IP address assigned to the customer interface.
1586
1845
  #
1587
- # Example: 192.168.1.2/30
1846
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
1847
+ # @return [String]
1848
+ #
1849
+ # @!attribute [rw] address_family
1850
+ # Indicates the address family for the BGP peer.
1851
+ #
1852
+ # * **ipv4**\: IPv4 address family
1853
+ #
1854
+ # * **ipv6**\: IPv6 address family
1588
1855
  # @return [String]
1589
1856
  #
1590
1857
  # @!attribute [rw] virtual_interface_state
@@ -1636,6 +1903,10 @@ module Aws
1636
1903
  # A list of routes to be advertised to the AWS network in this region
1637
1904
  # (public virtual interface).
1638
1905
  # @return [Array<Types::RouteFilterPrefix>]
1906
+ #
1907
+ # @!attribute [rw] bgp_peers
1908
+ # A list of the BGP peers configured on this virtual interface.
1909
+ # @return [Array<Types::BGPPeer>]
1639
1910
  class VirtualInterface < Struct.new(
1640
1911
  :owner_account,
1641
1912
  :virtual_interface_id,
@@ -1648,10 +1919,12 @@ module Aws
1648
1919
  :auth_key,
1649
1920
  :amazon_address,
1650
1921
  :customer_address,
1922
+ :address_family,
1651
1923
  :virtual_interface_state,
1652
1924
  :customer_router_config,
1653
1925
  :virtual_gateway_id,
1654
- :route_filter_prefixes)
1926
+ :route_filter_prefixes,
1927
+ :bgp_peers)
1655
1928
  include Aws::Structure
1656
1929
  end
1657
1930
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-directconnect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2016-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core