aws-sdk-directconnect 1.16.0 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03a787ac1e6182a963000428724eaa9417bcb4ca
4
- data.tar.gz: 0a438f718ddec4db3a238765285a0b6eaa2b796a
3
+ metadata.gz: df616a725fe34f624b2fb54a3584aaf68628034a
4
+ data.tar.gz: 2c2eca7726ece907b2e0f064cb0e7a1d7c4099c9
5
5
  SHA512:
6
- metadata.gz: 2f975542300ed737d3b99bf2e309c0cf34451e73b67a4fb8dc36b22b9a594d56b6035ce07b4028f47a1624b60268f269461453034385bdf6fc2fdccbab4aacee
7
- data.tar.gz: 4b66013671211c46728cb14462d198cdbabd5424b841a4d5b79f2f9a2cde195516ca44ff86863c56b20ef527e4e4cfa3cf6fefcfa7866bdf228a974be5befbf1
6
+ metadata.gz: dc39c9dccf0eb779f507ebbef2d3f9c1d2593c15ff5dea6fbe5d76c3fede41e2ea89b4dae6912d7a3fd9537b2c4c004a143c453176a309db6c1154c9b19db799
7
+ data.tar.gz: d80efd9766af59edc4b4f6f6afa2eeeed516e6ea9562e530fab84265c84706e39712db324bcc2d4d3f308dd4599e78d02565c87c81f15927920b4a410ab2df11
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-directconnect/customizations'
42
42
  # @service
43
43
  module Aws::DirectConnect
44
44
 
45
- GEM_VERSION = '1.16.0'
45
+ GEM_VERSION = '1.17.0'
46
46
 
47
47
  end
@@ -209,14 +209,57 @@ module Aws::DirectConnect
209
209
  # When `true`, request parameters are validated before
210
210
  # sending the request.
211
211
  #
212
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
213
+ # requests through. Formatted like 'http://proxy.com:123'.
214
+ #
215
+ # @option options [Float] :http_open_timeout (15) The number of
216
+ # seconds to wait when opening a HTTP session before rasing a
217
+ # `Timeout::Error`.
218
+ #
219
+ # @option options [Integer] :http_read_timeout (60) The default
220
+ # number of seconds to wait for response data. This value can
221
+ # safely be set
222
+ # per-request on the session yeidled by {#session_for}.
223
+ #
224
+ # @option options [Float] :http_idle_timeout (5) The number of
225
+ # seconds a connection is allowed to sit idble before it is
226
+ # considered stale. Stale connections are closed and removed
227
+ # from the pool before making a request.
228
+ #
229
+ # @option options [Float] :http_continue_timeout (1) The number of
230
+ # seconds to wait for a 100-continue response before sending the
231
+ # request body. This option has no effect unless the request has
232
+ # "Expect" header set to "100-continue". Defaults to `nil` which
233
+ # disables this behaviour. This value can safely be set per
234
+ # request on the session yeidled by {#session_for}.
235
+ #
236
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
237
+ # HTTP debug output will be sent to the `:logger`.
238
+ #
239
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
240
+ # SSL peer certificates are verified when establishing a
241
+ # connection.
242
+ #
243
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
244
+ # certificate authority bundle file that should be used when
245
+ # verifying peer certificates. If you do not pass
246
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
247
+ # will be used if available.
248
+ #
249
+ # @option options [String] :ssl_ca_directory Full path of the
250
+ # directory that contains the unbundled SSL certificate
251
+ # authority files for verifying peer certificates. If you do
252
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
253
+ # system default will be used if available.
254
+ #
212
255
  def initialize(*args)
213
256
  super
214
257
  end
215
258
 
216
259
  # @!group API Operations
217
260
 
218
- # Accepts a proposal request to attach a virtual private gateway to a
219
- # Direct Connect gateway.
261
+ # Accepts a proposal request to attach a virtual private gateway or
262
+ # transit gateway to a Direct Connect gateway.
220
263
  #
221
264
  # @option params [required, String] :direct_connect_gateway_id
222
265
  # The ID of the Direct Connect gateway.
@@ -225,11 +268,12 @@ module Aws::DirectConnect
225
268
  # The ID of the request proposal.
226
269
  #
227
270
  # @option params [required, String] :associated_gateway_owner_account
228
- # The ID of the AWS account that owns the virtual private gateway.
271
+ # The ID of the AWS account that owns the virtual private gateway or
272
+ # transit gateway.
229
273
  #
230
274
  # @option params [Array<Types::RouteFilterPrefix>] :override_allowed_prefixes_to_direct_connect_gateway
231
- # Overrides the Amazon VPC prefixes advertised to the Direct Connect
232
- # gateway.
275
+ # Overrides the existing Amazon VPC prefixes advertised to the Direct
276
+ # Connect gateway.
233
277
  #
234
278
  # @return [Types::AcceptDirectConnectGatewayAssociationProposalResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
235
279
  #
@@ -255,7 +299,7 @@ module Aws::DirectConnect
255
299
  # resp.direct_connect_gateway_association.association_state #=> String, one of "associating", "associated", "disassociating", "disassociated", "updating"
256
300
  # resp.direct_connect_gateway_association.state_change_error #=> String
257
301
  # resp.direct_connect_gateway_association.associated_gateway.id #=> String
258
- # resp.direct_connect_gateway_association.associated_gateway.type #=> String, one of "virtualPrivateGateway"
302
+ # resp.direct_connect_gateway_association.associated_gateway.type #=> String, one of "virtualPrivateGateway", "transitGateway"
259
303
  # resp.direct_connect_gateway_association.associated_gateway.owner_account #=> String
260
304
  # resp.direct_connect_gateway_association.associated_gateway.region #=> String
261
305
  # resp.direct_connect_gateway_association.association_id #=> String
@@ -672,6 +716,94 @@ module Aws::DirectConnect
672
716
  req.send_request(options)
673
717
  end
674
718
 
719
+ # Provisions a transit virtual interface to be owned by the specified
720
+ # AWS account. Use this type of interface to connect a transit gateway
721
+ # to your Direct Connect gateway.
722
+ #
723
+ # The owner of a connection provisions a transit virtual interface to be
724
+ # owned by the specified AWS account.
725
+ #
726
+ # After you create a transit virtual interface, it must be confirmed by
727
+ # the owner using ConfirmTransitVirtualInterface. Until this step has
728
+ # been completed, the transit virtual interface is in the `requested`
729
+ # state and is not available to handle traffic.
730
+ #
731
+ # @option params [required, String] :connection_id
732
+ # The ID of the connection on which the transit virtual interface is
733
+ # provisioned.
734
+ #
735
+ # @option params [required, String] :owner_account
736
+ # The ID of the AWS account that owns the transit virtual interface.
737
+ #
738
+ # @option params [required, Types::NewTransitVirtualInterfaceAllocation] :new_transit_virtual_interface_allocation
739
+ # Information about the transit virtual interface.
740
+ #
741
+ # @return [Types::AllocateTransitVirtualInterfaceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
742
+ #
743
+ # * {Types::AllocateTransitVirtualInterfaceResult#virtual_interface #virtual_interface} => Types::VirtualInterface
744
+ #
745
+ # @example Request syntax with placeholder values
746
+ #
747
+ # resp = client.allocate_transit_virtual_interface({
748
+ # connection_id: "ConnectionId", # required
749
+ # owner_account: "OwnerAccount", # required
750
+ # new_transit_virtual_interface_allocation: { # required
751
+ # virtual_interface_name: "VirtualInterfaceName",
752
+ # vlan: 1,
753
+ # asn: 1,
754
+ # mtu: 1,
755
+ # auth_key: "BGPAuthKey",
756
+ # amazon_address: "AmazonAddress",
757
+ # customer_address: "CustomerAddress",
758
+ # address_family: "ipv4", # accepts ipv4, ipv6
759
+ # },
760
+ # })
761
+ #
762
+ # @example Response structure
763
+ #
764
+ # resp.virtual_interface.owner_account #=> String
765
+ # resp.virtual_interface.virtual_interface_id #=> String
766
+ # resp.virtual_interface.location #=> String
767
+ # resp.virtual_interface.connection_id #=> String
768
+ # resp.virtual_interface.virtual_interface_type #=> String
769
+ # resp.virtual_interface.virtual_interface_name #=> String
770
+ # resp.virtual_interface.vlan #=> Integer
771
+ # resp.virtual_interface.asn #=> Integer
772
+ # resp.virtual_interface.amazon_side_asn #=> Integer
773
+ # resp.virtual_interface.auth_key #=> String
774
+ # resp.virtual_interface.amazon_address #=> String
775
+ # resp.virtual_interface.customer_address #=> String
776
+ # resp.virtual_interface.address_family #=> String, one of "ipv4", "ipv6"
777
+ # resp.virtual_interface.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected", "unknown"
778
+ # resp.virtual_interface.customer_router_config #=> String
779
+ # resp.virtual_interface.mtu #=> Integer
780
+ # resp.virtual_interface.jumbo_frame_capable #=> Boolean
781
+ # resp.virtual_interface.virtual_gateway_id #=> String
782
+ # resp.virtual_interface.direct_connect_gateway_id #=> String
783
+ # resp.virtual_interface.route_filter_prefixes #=> Array
784
+ # resp.virtual_interface.route_filter_prefixes[0].cidr #=> String
785
+ # resp.virtual_interface.bgp_peers #=> Array
786
+ # resp.virtual_interface.bgp_peers[0].bgp_peer_id #=> String
787
+ # resp.virtual_interface.bgp_peers[0].asn #=> Integer
788
+ # resp.virtual_interface.bgp_peers[0].auth_key #=> String
789
+ # resp.virtual_interface.bgp_peers[0].address_family #=> String, one of "ipv4", "ipv6"
790
+ # resp.virtual_interface.bgp_peers[0].amazon_address #=> String
791
+ # resp.virtual_interface.bgp_peers[0].customer_address #=> String
792
+ # resp.virtual_interface.bgp_peers[0].bgp_peer_state #=> String, one of "verifying", "pending", "available", "deleting", "deleted"
793
+ # resp.virtual_interface.bgp_peers[0].bgp_status #=> String, one of "up", "down", "unknown"
794
+ # resp.virtual_interface.bgp_peers[0].aws_device_v2 #=> String
795
+ # resp.virtual_interface.region #=> String
796
+ # resp.virtual_interface.aws_device_v2 #=> String
797
+ #
798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateTransitVirtualInterface AWS API Documentation
799
+ #
800
+ # @overload allocate_transit_virtual_interface(params = {})
801
+ # @param [Hash] params ({})
802
+ def allocate_transit_virtual_interface(params = {}, options = {})
803
+ req = build_request(:allocate_transit_virtual_interface, params)
804
+ req.send_request(options)
805
+ end
806
+
675
807
  # Associates an existing connection with a link aggregation group (LAG).
676
808
  # The connection is interrupted and re-established as a member of the
677
809
  # LAG (connectivity to AWS is interrupted). The connection must be
@@ -1025,6 +1157,43 @@ module Aws::DirectConnect
1025
1157
  req.send_request(options)
1026
1158
  end
1027
1159
 
1160
+ # Accepts ownership of a transit virtual interface created by another
1161
+ # AWS account.
1162
+ #
1163
+ # After the owner of the transit virtual interface makes this call, the
1164
+ # specified transit virtual interface is created and made available to
1165
+ # handle traffic.
1166
+ #
1167
+ # @option params [required, String] :virtual_interface_id
1168
+ # The ID of the virtual interface.
1169
+ #
1170
+ # @option params [required, String] :direct_connect_gateway_id
1171
+ # The ID of the Direct Connect gateway.
1172
+ #
1173
+ # @return [Types::ConfirmTransitVirtualInterfaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1174
+ #
1175
+ # * {Types::ConfirmTransitVirtualInterfaceResponse#virtual_interface_state #virtual_interface_state} => String
1176
+ #
1177
+ # @example Request syntax with placeholder values
1178
+ #
1179
+ # resp = client.confirm_transit_virtual_interface({
1180
+ # virtual_interface_id: "VirtualInterfaceId", # required
1181
+ # direct_connect_gateway_id: "DirectConnectGatewayId", # required
1182
+ # })
1183
+ #
1184
+ # @example Response structure
1185
+ #
1186
+ # resp.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected", "unknown"
1187
+ #
1188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmTransitVirtualInterface AWS API Documentation
1189
+ #
1190
+ # @overload confirm_transit_virtual_interface(params = {})
1191
+ # @param [Hash] params ({})
1192
+ def confirm_transit_virtual_interface(params = {}, options = {})
1193
+ req = build_request(:confirm_transit_virtual_interface, params)
1194
+ req.send_request(options)
1195
+ end
1196
+
1028
1197
  # Creates a BGP peer on the specified virtual interface.
1029
1198
  #
1030
1199
  # You must create a BGP peer for the corresponding address family
@@ -1247,7 +1416,7 @@ module Aws::DirectConnect
1247
1416
  # The ID of the Direct Connect gateway.
1248
1417
  #
1249
1418
  # @option params [String] :gateway_id
1250
- # The ID of the virtual private gateway.
1419
+ # The ID of the virtual private gateway or transit gateway.
1251
1420
  #
1252
1421
  # @option params [Array<Types::RouteFilterPrefix>] :add_allowed_prefixes_to_direct_connect_gateway
1253
1422
  # The Amazon VPC prefixes to advertise to the Direct Connect gateway
@@ -1279,7 +1448,7 @@ module Aws::DirectConnect
1279
1448
  # resp.direct_connect_gateway_association.association_state #=> String, one of "associating", "associated", "disassociating", "disassociated", "updating"
1280
1449
  # resp.direct_connect_gateway_association.state_change_error #=> String
1281
1450
  # resp.direct_connect_gateway_association.associated_gateway.id #=> String
1282
- # resp.direct_connect_gateway_association.associated_gateway.type #=> String, one of "virtualPrivateGateway"
1451
+ # resp.direct_connect_gateway_association.associated_gateway.type #=> String, one of "virtualPrivateGateway", "transitGateway"
1283
1452
  # resp.direct_connect_gateway_association.associated_gateway.owner_account #=> String
1284
1453
  # resp.direct_connect_gateway_association.associated_gateway.region #=> String
1285
1454
  # resp.direct_connect_gateway_association.association_id #=> String
@@ -1299,11 +1468,12 @@ module Aws::DirectConnect
1299
1468
  end
1300
1469
 
1301
1470
  # Creates a proposal to associate the specified virtual private gateway
1302
- # with the specified Direct Connect gateway.
1471
+ # or transit gateway with the specified Direct Connect gateway.
1303
1472
  #
1304
1473
  # You can only associate a Direct Connect gateway and virtual private
1305
- # gateway when the account that owns the Direct Connect gateway and the
1306
- # account that owns the virtual private gateway have the same payer ID.
1474
+ # gateway or transit gateway when the account that owns the Direct
1475
+ # Connect gateway and the account that owns the virtual private gateway
1476
+ # or transit gateway have the same AWS Payer ID.
1307
1477
  #
1308
1478
  # @option params [required, String] :direct_connect_gateway_id
1309
1479
  # The ID of the Direct Connect gateway.
@@ -1312,7 +1482,7 @@ module Aws::DirectConnect
1312
1482
  # The ID of the AWS account that owns the Direct Connect gateway.
1313
1483
  #
1314
1484
  # @option params [required, String] :gateway_id
1315
- # The ID of the virtual private gateway.
1485
+ # The ID of the virtual private gateway or transit gateway.
1316
1486
  #
1317
1487
  # @option params [Array<Types::RouteFilterPrefix>] :add_allowed_prefixes_to_direct_connect_gateway
1318
1488
  # The Amazon VPC prefixes to advertise to the Direct Connect gateway.
@@ -1350,7 +1520,7 @@ module Aws::DirectConnect
1350
1520
  # resp.direct_connect_gateway_association_proposal.direct_connect_gateway_owner_account #=> String
1351
1521
  # resp.direct_connect_gateway_association_proposal.proposal_state #=> String, one of "requested", "accepted", "deleted"
1352
1522
  # resp.direct_connect_gateway_association_proposal.associated_gateway.id #=> String
1353
- # resp.direct_connect_gateway_association_proposal.associated_gateway.type #=> String, one of "virtualPrivateGateway"
1523
+ # resp.direct_connect_gateway_association_proposal.associated_gateway.type #=> String, one of "virtualPrivateGateway", "transitGateway"
1354
1524
  # resp.direct_connect_gateway_association_proposal.associated_gateway.owner_account #=> String
1355
1525
  # resp.direct_connect_gateway_association_proposal.associated_gateway.region #=> String
1356
1526
  # resp.direct_connect_gateway_association_proposal.existing_allowed_prefixes_to_direct_connect_gateway #=> Array
@@ -1779,6 +1949,84 @@ module Aws::DirectConnect
1779
1949
  req.send_request(options)
1780
1950
  end
1781
1951
 
1952
+ # Creates a transit virtual interface. A transit virtual interface is a
1953
+ # VLAN that transports traffic from a Direct Connect gateway to one or
1954
+ # more transit gateways. A transit virtual interface enables the
1955
+ # connection of multiple VPCs attached to a transit gateway to a Direct
1956
+ # Connect gateway.
1957
+ #
1958
+ # @option params [required, String] :connection_id
1959
+ # The ID of the connection.
1960
+ #
1961
+ # @option params [required, Types::NewTransitVirtualInterface] :new_transit_virtual_interface
1962
+ # Information about the transit virtual interface.
1963
+ #
1964
+ # @return [Types::CreateTransitVirtualInterfaceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1965
+ #
1966
+ # * {Types::CreateTransitVirtualInterfaceResult#virtual_interface #virtual_interface} => Types::VirtualInterface
1967
+ #
1968
+ # @example Request syntax with placeholder values
1969
+ #
1970
+ # resp = client.create_transit_virtual_interface({
1971
+ # connection_id: "ConnectionId", # required
1972
+ # new_transit_virtual_interface: { # required
1973
+ # virtual_interface_name: "VirtualInterfaceName",
1974
+ # vlan: 1,
1975
+ # asn: 1,
1976
+ # mtu: 1,
1977
+ # auth_key: "BGPAuthKey",
1978
+ # amazon_address: "AmazonAddress",
1979
+ # customer_address: "CustomerAddress",
1980
+ # address_family: "ipv4", # accepts ipv4, ipv6
1981
+ # direct_connect_gateway_id: "DirectConnectGatewayId",
1982
+ # },
1983
+ # })
1984
+ #
1985
+ # @example Response structure
1986
+ #
1987
+ # resp.virtual_interface.owner_account #=> String
1988
+ # resp.virtual_interface.virtual_interface_id #=> String
1989
+ # resp.virtual_interface.location #=> String
1990
+ # resp.virtual_interface.connection_id #=> String
1991
+ # resp.virtual_interface.virtual_interface_type #=> String
1992
+ # resp.virtual_interface.virtual_interface_name #=> String
1993
+ # resp.virtual_interface.vlan #=> Integer
1994
+ # resp.virtual_interface.asn #=> Integer
1995
+ # resp.virtual_interface.amazon_side_asn #=> Integer
1996
+ # resp.virtual_interface.auth_key #=> String
1997
+ # resp.virtual_interface.amazon_address #=> String
1998
+ # resp.virtual_interface.customer_address #=> String
1999
+ # resp.virtual_interface.address_family #=> String, one of "ipv4", "ipv6"
2000
+ # resp.virtual_interface.virtual_interface_state #=> String, one of "confirming", "verifying", "pending", "available", "down", "deleting", "deleted", "rejected", "unknown"
2001
+ # resp.virtual_interface.customer_router_config #=> String
2002
+ # resp.virtual_interface.mtu #=> Integer
2003
+ # resp.virtual_interface.jumbo_frame_capable #=> Boolean
2004
+ # resp.virtual_interface.virtual_gateway_id #=> String
2005
+ # resp.virtual_interface.direct_connect_gateway_id #=> String
2006
+ # resp.virtual_interface.route_filter_prefixes #=> Array
2007
+ # resp.virtual_interface.route_filter_prefixes[0].cidr #=> String
2008
+ # resp.virtual_interface.bgp_peers #=> Array
2009
+ # resp.virtual_interface.bgp_peers[0].bgp_peer_id #=> String
2010
+ # resp.virtual_interface.bgp_peers[0].asn #=> Integer
2011
+ # resp.virtual_interface.bgp_peers[0].auth_key #=> String
2012
+ # resp.virtual_interface.bgp_peers[0].address_family #=> String, one of "ipv4", "ipv6"
2013
+ # resp.virtual_interface.bgp_peers[0].amazon_address #=> String
2014
+ # resp.virtual_interface.bgp_peers[0].customer_address #=> String
2015
+ # resp.virtual_interface.bgp_peers[0].bgp_peer_state #=> String, one of "verifying", "pending", "available", "deleting", "deleted"
2016
+ # resp.virtual_interface.bgp_peers[0].bgp_status #=> String, one of "up", "down", "unknown"
2017
+ # resp.virtual_interface.bgp_peers[0].aws_device_v2 #=> String
2018
+ # resp.virtual_interface.region #=> String
2019
+ # resp.virtual_interface.aws_device_v2 #=> String
2020
+ #
2021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateTransitVirtualInterface AWS API Documentation
2022
+ #
2023
+ # @overload create_transit_virtual_interface(params = {})
2024
+ # @param [Hash] params ({})
2025
+ def create_transit_virtual_interface(params = {}, options = {})
2026
+ req = build_request(:create_transit_virtual_interface, params)
2027
+ req.send_request(options)
2028
+ end
2029
+
1782
2030
  # Deletes the specified BGP peer on the specified virtual interface with
1783
2031
  # the specified customer address and ASN.
1784
2032
  #
@@ -1983,7 +2231,7 @@ module Aws::DirectConnect
1983
2231
  # resp.direct_connect_gateway_association.association_state #=> String, one of "associating", "associated", "disassociating", "disassociated", "updating"
1984
2232
  # resp.direct_connect_gateway_association.state_change_error #=> String
1985
2233
  # resp.direct_connect_gateway_association.associated_gateway.id #=> String
1986
- # resp.direct_connect_gateway_association.associated_gateway.type #=> String, one of "virtualPrivateGateway"
2234
+ # resp.direct_connect_gateway_association.associated_gateway.type #=> String, one of "virtualPrivateGateway", "transitGateway"
1987
2235
  # resp.direct_connect_gateway_association.associated_gateway.owner_account #=> String
1988
2236
  # resp.direct_connect_gateway_association.associated_gateway.region #=> String
1989
2237
  # resp.direct_connect_gateway_association.association_id #=> String
@@ -2003,7 +2251,7 @@ module Aws::DirectConnect
2003
2251
  end
2004
2252
 
2005
2253
  # Deletes the association proposal request between the specified Direct
2006
- # Connect gateway and virtual private gateway.
2254
+ # Connect gateway and virtual private gateway or transit gateway.
2007
2255
  #
2008
2256
  # @option params [required, String] :proposal_id
2009
2257
  # The ID of the proposal.
@@ -2025,7 +2273,7 @@ module Aws::DirectConnect
2025
2273
  # resp.direct_connect_gateway_association_proposal.direct_connect_gateway_owner_account #=> String
2026
2274
  # resp.direct_connect_gateway_association_proposal.proposal_state #=> String, one of "requested", "accepted", "deleted"
2027
2275
  # resp.direct_connect_gateway_association_proposal.associated_gateway.id #=> String
2028
- # resp.direct_connect_gateway_association_proposal.associated_gateway.type #=> String, one of "virtualPrivateGateway"
2276
+ # resp.direct_connect_gateway_association_proposal.associated_gateway.type #=> String, one of "virtualPrivateGateway", "transitGateway"
2029
2277
  # resp.direct_connect_gateway_association_proposal.associated_gateway.owner_account #=> String
2030
2278
  # resp.direct_connect_gateway_association_proposal.associated_gateway.region #=> String
2031
2279
  # resp.direct_connect_gateway_association_proposal.existing_allowed_prefixes_to_direct_connect_gateway #=> Array
@@ -2321,7 +2569,8 @@ module Aws::DirectConnect
2321
2569
  end
2322
2570
 
2323
2571
  # Describes one or more association proposals for connection between a
2324
- # virtual private gateway and a Direct Connect gateway.
2572
+ # virtual private gateway or transit gateway and a Direct Connect
2573
+ # gateway.
2325
2574
  #
2326
2575
  # @option params [String] :direct_connect_gateway_id
2327
2576
  # The ID of the Direct Connect gateway.
@@ -2330,7 +2579,7 @@ module Aws::DirectConnect
2330
2579
  # The ID of the proposal.
2331
2580
  #
2332
2581
  # @option params [String] :associated_gateway_id
2333
- # The ID of the associated virtual private gateway.
2582
+ # The ID of the associated gateway.
2334
2583
  #
2335
2584
  # @option params [Integer] :max_results
2336
2585
  # The maximum number of results to return with a single call. To
@@ -2366,7 +2615,7 @@ module Aws::DirectConnect
2366
2615
  # resp.direct_connect_gateway_association_proposals[0].direct_connect_gateway_owner_account #=> String
2367
2616
  # resp.direct_connect_gateway_association_proposals[0].proposal_state #=> String, one of "requested", "accepted", "deleted"
2368
2617
  # resp.direct_connect_gateway_association_proposals[0].associated_gateway.id #=> String
2369
- # resp.direct_connect_gateway_association_proposals[0].associated_gateway.type #=> String, one of "virtualPrivateGateway"
2618
+ # resp.direct_connect_gateway_association_proposals[0].associated_gateway.type #=> String, one of "virtualPrivateGateway", "transitGateway"
2370
2619
  # resp.direct_connect_gateway_association_proposals[0].associated_gateway.owner_account #=> String
2371
2620
  # resp.direct_connect_gateway_association_proposals[0].associated_gateway.region #=> String
2372
2621
  # resp.direct_connect_gateway_association_proposals[0].existing_allowed_prefixes_to_direct_connect_gateway #=> Array
@@ -2441,7 +2690,7 @@ module Aws::DirectConnect
2441
2690
  # resp.direct_connect_gateway_associations[0].association_state #=> String, one of "associating", "associated", "disassociating", "disassociated", "updating"
2442
2691
  # resp.direct_connect_gateway_associations[0].state_change_error #=> String
2443
2692
  # resp.direct_connect_gateway_associations[0].associated_gateway.id #=> String
2444
- # resp.direct_connect_gateway_associations[0].associated_gateway.type #=> String, one of "virtualPrivateGateway"
2693
+ # resp.direct_connect_gateway_associations[0].associated_gateway.type #=> String, one of "virtualPrivateGateway", "transitGateway"
2445
2694
  # resp.direct_connect_gateway_associations[0].associated_gateway.owner_account #=> String
2446
2695
  # resp.direct_connect_gateway_associations[0].associated_gateway.region #=> String
2447
2696
  # resp.direct_connect_gateway_associations[0].association_id #=> String
@@ -2509,6 +2758,7 @@ module Aws::DirectConnect
2509
2758
  # resp.direct_connect_gateway_attachments[0].virtual_interface_region #=> String
2510
2759
  # resp.direct_connect_gateway_attachments[0].virtual_interface_owner_account #=> String
2511
2760
  # resp.direct_connect_gateway_attachments[0].attachment_state #=> String, one of "attaching", "attached", "detaching", "detached"
2761
+ # resp.direct_connect_gateway_attachments[0].attachment_type #=> String, one of "TransitVirtualInterface", "PrivateVirtualInterface"
2512
2762
  # resp.direct_connect_gateway_attachments[0].state_change_error #=> String
2513
2763
  # resp.next_token #=> String
2514
2764
  #
@@ -3156,7 +3406,7 @@ module Aws::DirectConnect
3156
3406
  # resp.direct_connect_gateway_association.association_state #=> String, one of "associating", "associated", "disassociating", "disassociated", "updating"
3157
3407
  # resp.direct_connect_gateway_association.state_change_error #=> String
3158
3408
  # resp.direct_connect_gateway_association.associated_gateway.id #=> String
3159
- # resp.direct_connect_gateway_association.associated_gateway.type #=> String, one of "virtualPrivateGateway"
3409
+ # resp.direct_connect_gateway_association.associated_gateway.type #=> String, one of "virtualPrivateGateway", "transitGateway"
3160
3410
  # resp.direct_connect_gateway_association.associated_gateway.owner_account #=> String
3161
3411
  # resp.direct_connect_gateway_association.associated_gateway.region #=> String
3162
3412
  # resp.direct_connect_gateway_association.association_id #=> String
@@ -3380,7 +3630,7 @@ module Aws::DirectConnect
3380
3630
  params: params,
3381
3631
  config: config)
3382
3632
  context[:gem_name] = 'aws-sdk-directconnect'
3383
- context[:gem_version] = '1.16.0'
3633
+ context[:gem_version] = '1.17.0'
3384
3634
  Seahorse::Client::Request.new(handlers, context)
3385
3635
  end
3386
3636
 
@@ -19,6 +19,8 @@ module Aws::DirectConnect
19
19
  AllocateHostedConnectionRequest = Shapes::StructureShape.new(name: 'AllocateHostedConnectionRequest')
20
20
  AllocatePrivateVirtualInterfaceRequest = Shapes::StructureShape.new(name: 'AllocatePrivateVirtualInterfaceRequest')
21
21
  AllocatePublicVirtualInterfaceRequest = Shapes::StructureShape.new(name: 'AllocatePublicVirtualInterfaceRequest')
22
+ AllocateTransitVirtualInterfaceRequest = Shapes::StructureShape.new(name: 'AllocateTransitVirtualInterfaceRequest')
23
+ AllocateTransitVirtualInterfaceResult = Shapes::StructureShape.new(name: 'AllocateTransitVirtualInterfaceResult')
22
24
  AmazonAddress = Shapes::StringShape.new(name: 'AmazonAddress')
23
25
  AssociateConnectionWithLagRequest = Shapes::StructureShape.new(name: 'AssociateConnectionWithLagRequest')
24
26
  AssociateHostedConnectionRequest = Shapes::StructureShape.new(name: 'AssociateHostedConnectionRequest')
@@ -43,6 +45,8 @@ module Aws::DirectConnect
43
45
  ConfirmPrivateVirtualInterfaceResponse = Shapes::StructureShape.new(name: 'ConfirmPrivateVirtualInterfaceResponse')
44
46
  ConfirmPublicVirtualInterfaceRequest = Shapes::StructureShape.new(name: 'ConfirmPublicVirtualInterfaceRequest')
45
47
  ConfirmPublicVirtualInterfaceResponse = Shapes::StructureShape.new(name: 'ConfirmPublicVirtualInterfaceResponse')
48
+ ConfirmTransitVirtualInterfaceRequest = Shapes::StructureShape.new(name: 'ConfirmTransitVirtualInterfaceRequest')
49
+ ConfirmTransitVirtualInterfaceResponse = Shapes::StructureShape.new(name: 'ConfirmTransitVirtualInterfaceResponse')
46
50
  Connection = Shapes::StructureShape.new(name: 'Connection')
47
51
  ConnectionId = Shapes::StringShape.new(name: 'ConnectionId')
48
52
  ConnectionList = Shapes::ListShape.new(name: 'ConnectionList')
@@ -63,6 +67,8 @@ module Aws::DirectConnect
63
67
  CreateLagRequest = Shapes::StructureShape.new(name: 'CreateLagRequest')
64
68
  CreatePrivateVirtualInterfaceRequest = Shapes::StructureShape.new(name: 'CreatePrivateVirtualInterfaceRequest')
65
69
  CreatePublicVirtualInterfaceRequest = Shapes::StructureShape.new(name: 'CreatePublicVirtualInterfaceRequest')
70
+ CreateTransitVirtualInterfaceRequest = Shapes::StructureShape.new(name: 'CreateTransitVirtualInterfaceRequest')
71
+ CreateTransitVirtualInterfaceResult = Shapes::StructureShape.new(name: 'CreateTransitVirtualInterfaceResult')
66
72
  CustomerAddress = Shapes::StringShape.new(name: 'CustomerAddress')
67
73
  DeleteBGPPeerRequest = Shapes::StructureShape.new(name: 'DeleteBGPPeerRequest')
68
74
  DeleteBGPPeerResponse = Shapes::StructureShape.new(name: 'DeleteBGPPeerResponse')
@@ -112,6 +118,7 @@ module Aws::DirectConnect
112
118
  DirectConnectGatewayAttachment = Shapes::StructureShape.new(name: 'DirectConnectGatewayAttachment')
113
119
  DirectConnectGatewayAttachmentList = Shapes::ListShape.new(name: 'DirectConnectGatewayAttachmentList')
114
120
  DirectConnectGatewayAttachmentState = Shapes::StringShape.new(name: 'DirectConnectGatewayAttachmentState')
121
+ DirectConnectGatewayAttachmentType = Shapes::StringShape.new(name: 'DirectConnectGatewayAttachmentType')
115
122
  DirectConnectGatewayId = Shapes::StringShape.new(name: 'DirectConnectGatewayId')
116
123
  DirectConnectGatewayList = Shapes::ListShape.new(name: 'DirectConnectGatewayList')
117
124
  DirectConnectGatewayName = Shapes::StringShape.new(name: 'DirectConnectGatewayName')
@@ -154,6 +161,8 @@ module Aws::DirectConnect
154
161
  NewPrivateVirtualInterfaceAllocation = Shapes::StructureShape.new(name: 'NewPrivateVirtualInterfaceAllocation')
155
162
  NewPublicVirtualInterface = Shapes::StructureShape.new(name: 'NewPublicVirtualInterface')
156
163
  NewPublicVirtualInterfaceAllocation = Shapes::StructureShape.new(name: 'NewPublicVirtualInterfaceAllocation')
164
+ NewTransitVirtualInterface = Shapes::StructureShape.new(name: 'NewTransitVirtualInterface')
165
+ NewTransitVirtualInterfaceAllocation = Shapes::StructureShape.new(name: 'NewTransitVirtualInterfaceAllocation')
157
166
  OwnerAccount = Shapes::StringShape.new(name: 'OwnerAccount')
158
167
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
159
168
  PartnerName = Shapes::StringShape.new(name: 'PartnerName')
@@ -231,6 +240,14 @@ module Aws::DirectConnect
231
240
  AllocatePublicVirtualInterfaceRequest.add_member(:new_public_virtual_interface_allocation, Shapes::ShapeRef.new(shape: NewPublicVirtualInterfaceAllocation, required: true, location_name: "newPublicVirtualInterfaceAllocation"))
232
241
  AllocatePublicVirtualInterfaceRequest.struct_class = Types::AllocatePublicVirtualInterfaceRequest
233
242
 
243
+ AllocateTransitVirtualInterfaceRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, required: true, location_name: "connectionId"))
244
+ AllocateTransitVirtualInterfaceRequest.add_member(:owner_account, Shapes::ShapeRef.new(shape: OwnerAccount, required: true, location_name: "ownerAccount"))
245
+ AllocateTransitVirtualInterfaceRequest.add_member(:new_transit_virtual_interface_allocation, Shapes::ShapeRef.new(shape: NewTransitVirtualInterfaceAllocation, required: true, location_name: "newTransitVirtualInterfaceAllocation"))
246
+ AllocateTransitVirtualInterfaceRequest.struct_class = Types::AllocateTransitVirtualInterfaceRequest
247
+
248
+ AllocateTransitVirtualInterfaceResult.add_member(:virtual_interface, Shapes::ShapeRef.new(shape: VirtualInterface, location_name: "virtualInterface"))
249
+ AllocateTransitVirtualInterfaceResult.struct_class = Types::AllocateTransitVirtualInterfaceResult
250
+
234
251
  AssociateConnectionWithLagRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, required: true, location_name: "connectionId"))
235
252
  AssociateConnectionWithLagRequest.add_member(:lag_id, Shapes::ShapeRef.new(shape: LagId, required: true, location_name: "lagId"))
236
253
  AssociateConnectionWithLagRequest.struct_class = Types::AssociateConnectionWithLagRequest
@@ -284,6 +301,13 @@ module Aws::DirectConnect
284
301
  ConfirmPublicVirtualInterfaceResponse.add_member(:virtual_interface_state, Shapes::ShapeRef.new(shape: VirtualInterfaceState, location_name: "virtualInterfaceState"))
285
302
  ConfirmPublicVirtualInterfaceResponse.struct_class = Types::ConfirmPublicVirtualInterfaceResponse
286
303
 
304
+ ConfirmTransitVirtualInterfaceRequest.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, required: true, location_name: "virtualInterfaceId"))
305
+ ConfirmTransitVirtualInterfaceRequest.add_member(:direct_connect_gateway_id, Shapes::ShapeRef.new(shape: DirectConnectGatewayId, required: true, location_name: "directConnectGatewayId"))
306
+ ConfirmTransitVirtualInterfaceRequest.struct_class = Types::ConfirmTransitVirtualInterfaceRequest
307
+
308
+ ConfirmTransitVirtualInterfaceResponse.add_member(:virtual_interface_state, Shapes::ShapeRef.new(shape: VirtualInterfaceState, location_name: "virtualInterfaceState"))
309
+ ConfirmTransitVirtualInterfaceResponse.struct_class = Types::ConfirmTransitVirtualInterfaceResponse
310
+
287
311
  Connection.add_member(:owner_account, Shapes::ShapeRef.new(shape: OwnerAccount, location_name: "ownerAccount"))
288
312
  Connection.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, location_name: "connectionId"))
289
313
  Connection.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "connectionName"))
@@ -366,6 +390,13 @@ module Aws::DirectConnect
366
390
  CreatePublicVirtualInterfaceRequest.add_member(:new_public_virtual_interface, Shapes::ShapeRef.new(shape: NewPublicVirtualInterface, required: true, location_name: "newPublicVirtualInterface"))
367
391
  CreatePublicVirtualInterfaceRequest.struct_class = Types::CreatePublicVirtualInterfaceRequest
368
392
 
393
+ CreateTransitVirtualInterfaceRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, required: true, location_name: "connectionId"))
394
+ CreateTransitVirtualInterfaceRequest.add_member(:new_transit_virtual_interface, Shapes::ShapeRef.new(shape: NewTransitVirtualInterface, required: true, location_name: "newTransitVirtualInterface"))
395
+ CreateTransitVirtualInterfaceRequest.struct_class = Types::CreateTransitVirtualInterfaceRequest
396
+
397
+ CreateTransitVirtualInterfaceResult.add_member(:virtual_interface, Shapes::ShapeRef.new(shape: VirtualInterface, location_name: "virtualInterface"))
398
+ CreateTransitVirtualInterfaceResult.struct_class = Types::CreateTransitVirtualInterfaceResult
399
+
369
400
  DeleteBGPPeerRequest.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, location_name: "virtualInterfaceId"))
370
401
  DeleteBGPPeerRequest.add_member(:asn, Shapes::ShapeRef.new(shape: ASN, location_name: "asn"))
371
402
  DeleteBGPPeerRequest.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, location_name: "customerAddress"))
@@ -539,6 +570,7 @@ module Aws::DirectConnect
539
570
  DirectConnectGatewayAttachment.add_member(:virtual_interface_region, Shapes::ShapeRef.new(shape: VirtualInterfaceRegion, location_name: "virtualInterfaceRegion"))
540
571
  DirectConnectGatewayAttachment.add_member(:virtual_interface_owner_account, Shapes::ShapeRef.new(shape: OwnerAccount, location_name: "virtualInterfaceOwnerAccount"))
541
572
  DirectConnectGatewayAttachment.add_member(:attachment_state, Shapes::ShapeRef.new(shape: DirectConnectGatewayAttachmentState, location_name: "attachmentState"))
573
+ DirectConnectGatewayAttachment.add_member(:attachment_type, Shapes::ShapeRef.new(shape: DirectConnectGatewayAttachmentType, location_name: "attachmentType"))
542
574
  DirectConnectGatewayAttachment.add_member(:state_change_error, Shapes::ShapeRef.new(shape: StateChangeError, location_name: "stateChangeError"))
543
575
  DirectConnectGatewayAttachment.struct_class = Types::DirectConnectGatewayAttachment
544
576
 
@@ -655,6 +687,27 @@ module Aws::DirectConnect
655
687
  NewPublicVirtualInterfaceAllocation.add_member(:route_filter_prefixes, Shapes::ShapeRef.new(shape: RouteFilterPrefixList, location_name: "routeFilterPrefixes"))
656
688
  NewPublicVirtualInterfaceAllocation.struct_class = Types::NewPublicVirtualInterfaceAllocation
657
689
 
690
+ NewTransitVirtualInterface.add_member(:virtual_interface_name, Shapes::ShapeRef.new(shape: VirtualInterfaceName, location_name: "virtualInterfaceName"))
691
+ NewTransitVirtualInterface.add_member(:vlan, Shapes::ShapeRef.new(shape: VLAN, location_name: "vlan"))
692
+ NewTransitVirtualInterface.add_member(:asn, Shapes::ShapeRef.new(shape: ASN, location_name: "asn"))
693
+ NewTransitVirtualInterface.add_member(:mtu, Shapes::ShapeRef.new(shape: MTU, location_name: "mtu"))
694
+ NewTransitVirtualInterface.add_member(:auth_key, Shapes::ShapeRef.new(shape: BGPAuthKey, location_name: "authKey"))
695
+ NewTransitVirtualInterface.add_member(:amazon_address, Shapes::ShapeRef.new(shape: AmazonAddress, location_name: "amazonAddress"))
696
+ NewTransitVirtualInterface.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, location_name: "customerAddress"))
697
+ NewTransitVirtualInterface.add_member(:address_family, Shapes::ShapeRef.new(shape: AddressFamily, location_name: "addressFamily"))
698
+ NewTransitVirtualInterface.add_member(:direct_connect_gateway_id, Shapes::ShapeRef.new(shape: DirectConnectGatewayId, location_name: "directConnectGatewayId"))
699
+ NewTransitVirtualInterface.struct_class = Types::NewTransitVirtualInterface
700
+
701
+ NewTransitVirtualInterfaceAllocation.add_member(:virtual_interface_name, Shapes::ShapeRef.new(shape: VirtualInterfaceName, location_name: "virtualInterfaceName"))
702
+ NewTransitVirtualInterfaceAllocation.add_member(:vlan, Shapes::ShapeRef.new(shape: VLAN, location_name: "vlan"))
703
+ NewTransitVirtualInterfaceAllocation.add_member(:asn, Shapes::ShapeRef.new(shape: ASN, location_name: "asn"))
704
+ NewTransitVirtualInterfaceAllocation.add_member(:mtu, Shapes::ShapeRef.new(shape: MTU, location_name: "mtu"))
705
+ NewTransitVirtualInterfaceAllocation.add_member(:auth_key, Shapes::ShapeRef.new(shape: BGPAuthKey, location_name: "authKey"))
706
+ NewTransitVirtualInterfaceAllocation.add_member(:amazon_address, Shapes::ShapeRef.new(shape: AmazonAddress, location_name: "amazonAddress"))
707
+ NewTransitVirtualInterfaceAllocation.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, location_name: "customerAddress"))
708
+ NewTransitVirtualInterfaceAllocation.add_member(:address_family, Shapes::ShapeRef.new(shape: AddressFamily, location_name: "addressFamily"))
709
+ NewTransitVirtualInterfaceAllocation.struct_class = Types::NewTransitVirtualInterfaceAllocation
710
+
658
711
  ResourceArnList.member = Shapes::ShapeRef.new(shape: ResourceArn)
659
712
 
660
713
  ResourceTag.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "resourceArn"))
@@ -813,6 +866,16 @@ module Aws::DirectConnect
813
866
  o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
814
867
  end)
815
868
 
869
+ api.add_operation(:allocate_transit_virtual_interface, Seahorse::Model::Operation.new.tap do |o|
870
+ o.name = "AllocateTransitVirtualInterface"
871
+ o.http_method = "POST"
872
+ o.http_request_uri = "/"
873
+ o.input = Shapes::ShapeRef.new(shape: AllocateTransitVirtualInterfaceRequest)
874
+ o.output = Shapes::ShapeRef.new(shape: AllocateTransitVirtualInterfaceResult)
875
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectServerException)
876
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
877
+ end)
878
+
816
879
  api.add_operation(:associate_connection_with_lag, Seahorse::Model::Operation.new.tap do |o|
817
880
  o.name = "AssociateConnectionWithLag"
818
881
  o.http_method = "POST"
@@ -873,6 +936,16 @@ module Aws::DirectConnect
873
936
  o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
874
937
  end)
875
938
 
939
+ api.add_operation(:confirm_transit_virtual_interface, Seahorse::Model::Operation.new.tap do |o|
940
+ o.name = "ConfirmTransitVirtualInterface"
941
+ o.http_method = "POST"
942
+ o.http_request_uri = "/"
943
+ o.input = Shapes::ShapeRef.new(shape: ConfirmTransitVirtualInterfaceRequest)
944
+ o.output = Shapes::ShapeRef.new(shape: ConfirmTransitVirtualInterfaceResponse)
945
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectServerException)
946
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
947
+ end)
948
+
876
949
  api.add_operation(:create_bgp_peer, Seahorse::Model::Operation.new.tap do |o|
877
950
  o.name = "CreateBGPPeer"
878
951
  o.http_method = "POST"
@@ -963,6 +1036,16 @@ module Aws::DirectConnect
963
1036
  o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
964
1037
  end)
965
1038
 
1039
+ api.add_operation(:create_transit_virtual_interface, Seahorse::Model::Operation.new.tap do |o|
1040
+ o.name = "CreateTransitVirtualInterface"
1041
+ o.http_method = "POST"
1042
+ o.http_request_uri = "/"
1043
+ o.input = Shapes::ShapeRef.new(shape: CreateTransitVirtualInterfaceRequest)
1044
+ o.output = Shapes::ShapeRef.new(shape: CreateTransitVirtualInterfaceResult)
1045
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectServerException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
1047
+ end)
1048
+
966
1049
  api.add_operation(:delete_bgp_peer, Seahorse::Model::Operation.new.tap do |o|
967
1050
  o.name = "DeleteBGPPeer"
968
1051
  o.http_method = "POST"
@@ -31,12 +31,13 @@ module Aws::DirectConnect
31
31
  # @return [String]
32
32
  #
33
33
  # @!attribute [rw] associated_gateway_owner_account
34
- # The ID of the AWS account that owns the virtual private gateway.
34
+ # The ID of the AWS account that owns the virtual private gateway or
35
+ # transit gateway.
35
36
  # @return [String]
36
37
  #
37
38
  # @!attribute [rw] override_allowed_prefixes_to_direct_connect_gateway
38
- # Overrides the Amazon VPC prefixes advertised to the Direct Connect
39
- # gateway.
39
+ # Overrides the existing Amazon VPC prefixes advertised to the Direct
40
+ # Connect gateway.
40
41
  # @return [Array<Types::RouteFilterPrefix>]
41
42
  #
42
43
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AcceptDirectConnectGatewayAssociationProposalRequest AWS API Documentation
@@ -51,7 +52,7 @@ module Aws::DirectConnect
51
52
 
52
53
  # @!attribute [rw] direct_connect_gateway_association
53
54
  # Information about an association between a Direct Connect gateway
54
- # and a virtual private gateway.
55
+ # and a virtual private gateway or transit gateway.
55
56
  # @return [Types::DirectConnectGatewayAssociation]
56
57
  #
57
58
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AcceptDirectConnectGatewayAssociationProposalResult AWS API Documentation
@@ -239,6 +240,57 @@ module Aws::DirectConnect
239
240
  include Aws::Structure
240
241
  end
241
242
 
243
+ # @note When making an API call, you may pass AllocateTransitVirtualInterfaceRequest
244
+ # data as a hash:
245
+ #
246
+ # {
247
+ # connection_id: "ConnectionId", # required
248
+ # owner_account: "OwnerAccount", # required
249
+ # new_transit_virtual_interface_allocation: { # required
250
+ # virtual_interface_name: "VirtualInterfaceName",
251
+ # vlan: 1,
252
+ # asn: 1,
253
+ # mtu: 1,
254
+ # auth_key: "BGPAuthKey",
255
+ # amazon_address: "AmazonAddress",
256
+ # customer_address: "CustomerAddress",
257
+ # address_family: "ipv4", # accepts ipv4, ipv6
258
+ # },
259
+ # }
260
+ #
261
+ # @!attribute [rw] connection_id
262
+ # The ID of the connection on which the transit virtual interface is
263
+ # provisioned.
264
+ # @return [String]
265
+ #
266
+ # @!attribute [rw] owner_account
267
+ # The ID of the AWS account that owns the transit virtual interface.
268
+ # @return [String]
269
+ #
270
+ # @!attribute [rw] new_transit_virtual_interface_allocation
271
+ # Information about the transit virtual interface.
272
+ # @return [Types::NewTransitVirtualInterfaceAllocation]
273
+ #
274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateTransitVirtualInterfaceRequest AWS API Documentation
275
+ #
276
+ class AllocateTransitVirtualInterfaceRequest < Struct.new(
277
+ :connection_id,
278
+ :owner_account,
279
+ :new_transit_virtual_interface_allocation)
280
+ include Aws::Structure
281
+ end
282
+
283
+ # @!attribute [rw] virtual_interface
284
+ # Information about a virtual interface.
285
+ # @return [Types::VirtualInterface]
286
+ #
287
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateTransitVirtualInterfaceResult AWS API Documentation
288
+ #
289
+ class AllocateTransitVirtualInterfaceResult < Struct.new(
290
+ :virtual_interface)
291
+ include Aws::Structure
292
+ end
293
+
242
294
  # @note When making an API call, you may pass AssociateConnectionWithLagRequest
243
295
  # data as a hash:
244
296
  #
@@ -323,7 +375,7 @@ module Aws::DirectConnect
323
375
  #
324
376
  # @!attribute [rw] owner_account
325
377
  # The ID of the AWS account that owns the associated virtual private
326
- # gateway.
378
+ # gateway or transit gateway.
327
379
  # @return [String]
328
380
  #
329
381
  # @!attribute [rw] region
@@ -604,6 +656,73 @@ module Aws::DirectConnect
604
656
  include Aws::Structure
605
657
  end
606
658
 
659
+ # @note When making an API call, you may pass ConfirmTransitVirtualInterfaceRequest
660
+ # data as a hash:
661
+ #
662
+ # {
663
+ # virtual_interface_id: "VirtualInterfaceId", # required
664
+ # direct_connect_gateway_id: "DirectConnectGatewayId", # required
665
+ # }
666
+ #
667
+ # @!attribute [rw] virtual_interface_id
668
+ # The ID of the virtual interface.
669
+ # @return [String]
670
+ #
671
+ # @!attribute [rw] direct_connect_gateway_id
672
+ # The ID of the Direct Connect gateway.
673
+ # @return [String]
674
+ #
675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmTransitVirtualInterfaceRequest AWS API Documentation
676
+ #
677
+ class ConfirmTransitVirtualInterfaceRequest < Struct.new(
678
+ :virtual_interface_id,
679
+ :direct_connect_gateway_id)
680
+ include Aws::Structure
681
+ end
682
+
683
+ # @!attribute [rw] virtual_interface_state
684
+ # The state of the virtual interface. The following are the possible
685
+ # values:
686
+ #
687
+ # * `confirming`\: The creation of the virtual interface is pending
688
+ # confirmation from the virtual interface owner. If the owner of the
689
+ # virtual interface is different from the owner of the connection on
690
+ # which it is provisioned, then the virtual interface will remain in
691
+ # this state until it is confirmed by the virtual interface owner.
692
+ #
693
+ # * `verifying`\: This state only applies to public virtual
694
+ # interfaces. Each public virtual interface needs validation before
695
+ # the virtual interface can be created.
696
+ #
697
+ # * `pending`\: A virtual interface is in this state from the time
698
+ # that it is created until the virtual interface is ready to forward
699
+ # traffic.
700
+ #
701
+ # * `available`\: A virtual interface that is able to forward traffic.
702
+ #
703
+ # * `down`\: A virtual interface that is BGP down.
704
+ #
705
+ # * `deleting`\: A virtual interface is in this state immediately
706
+ # after calling DeleteVirtualInterface until it can no longer
707
+ # forward traffic.
708
+ #
709
+ # * `deleted`\: A virtual interface that cannot forward traffic.
710
+ #
711
+ # * `rejected`\: The virtual interface owner has declined creation of
712
+ # the virtual interface. If a virtual interface in the `Confirming`
713
+ # state is deleted by the virtual interface owner, the virtual
714
+ # interface enters the `Rejected` state.
715
+ #
716
+ # * `unknown`\: The state of the virtual interface is not available.
717
+ # @return [String]
718
+ #
719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmTransitVirtualInterfaceResponse AWS API Documentation
720
+ #
721
+ class ConfirmTransitVirtualInterfaceResponse < Struct.new(
722
+ :virtual_interface_state)
723
+ include Aws::Structure
724
+ end
725
+
607
726
  # Information about an AWS Direct Connect connection.
608
727
  #
609
728
  # @!attribute [rw] owner_account
@@ -833,7 +952,7 @@ module Aws::DirectConnect
833
952
  # @return [String]
834
953
  #
835
954
  # @!attribute [rw] gateway_id
836
- # The ID of the virtual private gateway.
955
+ # The ID of the virtual private gateway or transit gateway.
837
956
  # @return [String]
838
957
  #
839
958
  # @!attribute [rw] add_allowed_prefixes_to_direct_connect_gateway
@@ -886,7 +1005,7 @@ module Aws::DirectConnect
886
1005
  # @return [String]
887
1006
  #
888
1007
  # @!attribute [rw] gateway_id
889
- # The ID of the virtual private gateway.
1008
+ # The ID of the virtual private gateway or transit gateway.
890
1009
  # @return [String]
891
1010
  #
892
1011
  # @!attribute [rw] add_allowed_prefixes_to_direct_connect_gateway
@@ -1109,6 +1228,51 @@ module Aws::DirectConnect
1109
1228
  include Aws::Structure
1110
1229
  end
1111
1230
 
1231
+ # @note When making an API call, you may pass CreateTransitVirtualInterfaceRequest
1232
+ # data as a hash:
1233
+ #
1234
+ # {
1235
+ # connection_id: "ConnectionId", # required
1236
+ # new_transit_virtual_interface: { # required
1237
+ # virtual_interface_name: "VirtualInterfaceName",
1238
+ # vlan: 1,
1239
+ # asn: 1,
1240
+ # mtu: 1,
1241
+ # auth_key: "BGPAuthKey",
1242
+ # amazon_address: "AmazonAddress",
1243
+ # customer_address: "CustomerAddress",
1244
+ # address_family: "ipv4", # accepts ipv4, ipv6
1245
+ # direct_connect_gateway_id: "DirectConnectGatewayId",
1246
+ # },
1247
+ # }
1248
+ #
1249
+ # @!attribute [rw] connection_id
1250
+ # The ID of the connection.
1251
+ # @return [String]
1252
+ #
1253
+ # @!attribute [rw] new_transit_virtual_interface
1254
+ # Information about the transit virtual interface.
1255
+ # @return [Types::NewTransitVirtualInterface]
1256
+ #
1257
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateTransitVirtualInterfaceRequest AWS API Documentation
1258
+ #
1259
+ class CreateTransitVirtualInterfaceRequest < Struct.new(
1260
+ :connection_id,
1261
+ :new_transit_virtual_interface)
1262
+ include Aws::Structure
1263
+ end
1264
+
1265
+ # @!attribute [rw] virtual_interface
1266
+ # Information about a virtual interface.
1267
+ # @return [Types::VirtualInterface]
1268
+ #
1269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateTransitVirtualInterfaceResult AWS API Documentation
1270
+ #
1271
+ class CreateTransitVirtualInterfaceResult < Struct.new(
1272
+ :virtual_interface)
1273
+ include Aws::Structure
1274
+ end
1275
+
1112
1276
  # @note When making an API call, you may pass DeleteBGPPeerRequest
1113
1277
  # data as a hash:
1114
1278
  #
@@ -1194,7 +1358,7 @@ module Aws::DirectConnect
1194
1358
  end
1195
1359
 
1196
1360
  # @!attribute [rw] direct_connect_gateway_association_proposal
1197
- # The ID of the virtual private gateway.
1361
+ # The ID of the associated gateway.
1198
1362
  # @return [Types::DirectConnectGatewayAssociationProposal]
1199
1363
  #
1200
1364
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociationProposalResult AWS API Documentation
@@ -1503,7 +1667,7 @@ module Aws::DirectConnect
1503
1667
  # @return [String]
1504
1668
  #
1505
1669
  # @!attribute [rw] associated_gateway_id
1506
- # The ID of the associated virtual private gateway.
1670
+ # The ID of the associated gateway.
1507
1671
  # @return [String]
1508
1672
  #
1509
1673
  # @!attribute [rw] max_results
@@ -1912,7 +2076,8 @@ module Aws::DirectConnect
1912
2076
  end
1913
2077
 
1914
2078
  # Information about a Direct Connect gateway, which enables you to
1915
- # connect virtual interfaces and virtual private gateways.
2079
+ # connect virtual interfaces and virtual private gateway or transit
2080
+ # gateways.
1916
2081
  #
1917
2082
  # @!attribute [rw] direct_connect_gateway_id
1918
2083
  # The ID of the Direct Connect gateway.
@@ -1964,7 +2129,7 @@ module Aws::DirectConnect
1964
2129
  end
1965
2130
 
1966
2131
  # Information about an association between a Direct Connect gateway and
1967
- # a virtual private gateway.
2132
+ # a virtual private gateway or transit gateway.
1968
2133
  #
1969
2134
  # @!attribute [rw] direct_connect_gateway_id
1970
2135
  # The ID of the Direct Connect gateway.
@@ -1981,14 +2146,16 @@ module Aws::DirectConnect
1981
2146
  # CreateDirectConnectGatewayAssociation.
1982
2147
  #
1983
2148
  # * `associated`\: The Direct Connect gateway and virtual private
1984
- # gateway are successfully associated and ready to pass traffic.
2149
+ # gateway or transit gateway are successfully associated and ready
2150
+ # to pass traffic.
1985
2151
  #
1986
2152
  # * `disassociating`\: The initial state after calling
1987
2153
  # DeleteDirectConnectGatewayAssociation.
1988
2154
  #
1989
- # * `disassociated`\: The virtual private gateway is disassociated
1990
- # from the Direct Connect gateway. Traffic flow between the Direct
1991
- # Connect gateway and virtual private gateway is stopped.
2155
+ # * `disassociated`\: The virtual private gateway or transit gateway
2156
+ # is disassociated from the Direct Connect gateway. Traffic flow
2157
+ # between the Direct Connect gateway and virtual private gateway or
2158
+ # transit gateway is stopped.
1992
2159
  # @return [String]
1993
2160
  #
1994
2161
  # @!attribute [rw] state_change_error
@@ -1996,7 +2163,7 @@ module Aws::DirectConnect
1996
2163
  # @return [String]
1997
2164
  #
1998
2165
  # @!attribute [rw] associated_gateway
1999
- # Information about the associated virtual private gateway.
2166
+ # Information about the associated gateway.
2000
2167
  # @return [Types::AssociatedGateway]
2001
2168
  #
2002
2169
  # @!attribute [rw] association_id
@@ -2037,7 +2204,7 @@ module Aws::DirectConnect
2037
2204
  end
2038
2205
 
2039
2206
  # Information about the proposal request to attach a virtual private
2040
- # gateway to a DDirect Connect gateway.
2207
+ # gateway to a Direct Connect gateway.
2041
2208
  #
2042
2209
  # @!attribute [rw] proposal_id
2043
2210
  # The ID of the association proposal.
@@ -2066,7 +2233,7 @@ module Aws::DirectConnect
2066
2233
  # @return [String]
2067
2234
  #
2068
2235
  # @!attribute [rw] associated_gateway
2069
- # Information about the associated virtual private gateway.
2236
+ # Information about the associated gateway.
2070
2237
  # @return [Types::AssociatedGateway]
2071
2238
  #
2072
2239
  # @!attribute [rw] existing_allowed_prefixes_to_direct_connect_gateway
@@ -2127,6 +2294,10 @@ module Aws::DirectConnect
2127
2294
  # and virtual interface is stopped.
2128
2295
  # @return [String]
2129
2296
  #
2297
+ # @!attribute [rw] attachment_type
2298
+ # The type of attachment.
2299
+ # @return [String]
2300
+ #
2130
2301
  # @!attribute [rw] state_change_error
2131
2302
  # The error message if the state of an object failed to advance.
2132
2303
  # @return [String]
@@ -2139,6 +2310,7 @@ module Aws::DirectConnect
2139
2310
  :virtual_interface_region,
2140
2311
  :virtual_interface_owner_account,
2141
2312
  :attachment_state,
2313
+ :attachment_type,
2142
2314
  :state_change_error)
2143
2315
  include Aws::Structure
2144
2316
  end
@@ -2766,6 +2938,141 @@ module Aws::DirectConnect
2766
2938
  include Aws::Structure
2767
2939
  end
2768
2940
 
2941
+ # Information about a transit virtual interface.
2942
+ #
2943
+ # @note When making an API call, you may pass NewTransitVirtualInterface
2944
+ # data as a hash:
2945
+ #
2946
+ # {
2947
+ # virtual_interface_name: "VirtualInterfaceName",
2948
+ # vlan: 1,
2949
+ # asn: 1,
2950
+ # mtu: 1,
2951
+ # auth_key: "BGPAuthKey",
2952
+ # amazon_address: "AmazonAddress",
2953
+ # customer_address: "CustomerAddress",
2954
+ # address_family: "ipv4", # accepts ipv4, ipv6
2955
+ # direct_connect_gateway_id: "DirectConnectGatewayId",
2956
+ # }
2957
+ #
2958
+ # @!attribute [rw] virtual_interface_name
2959
+ # The name of the virtual interface assigned by the customer network.
2960
+ # @return [String]
2961
+ #
2962
+ # @!attribute [rw] vlan
2963
+ # The ID of the VLAN.
2964
+ # @return [Integer]
2965
+ #
2966
+ # @!attribute [rw] asn
2967
+ # The autonomous system (AS) number for Border Gateway Protocol (BGP)
2968
+ # configuration.
2969
+ # @return [Integer]
2970
+ #
2971
+ # @!attribute [rw] mtu
2972
+ # The maximum transmission unit (MTU), in bytes. The supported values
2973
+ # are 1500 and 9001. The default value is 1500.
2974
+ # @return [Integer]
2975
+ #
2976
+ # @!attribute [rw] auth_key
2977
+ # The authentication key for BGP configuration.
2978
+ # @return [String]
2979
+ #
2980
+ # @!attribute [rw] amazon_address
2981
+ # The IP address assigned to the Amazon interface.
2982
+ # @return [String]
2983
+ #
2984
+ # @!attribute [rw] customer_address
2985
+ # The IP address assigned to the customer interface.
2986
+ # @return [String]
2987
+ #
2988
+ # @!attribute [rw] address_family
2989
+ # The address family for the BGP peer.
2990
+ # @return [String]
2991
+ #
2992
+ # @!attribute [rw] direct_connect_gateway_id
2993
+ # The ID of the Direct Connect gateway.
2994
+ # @return [String]
2995
+ #
2996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewTransitVirtualInterface AWS API Documentation
2997
+ #
2998
+ class NewTransitVirtualInterface < Struct.new(
2999
+ :virtual_interface_name,
3000
+ :vlan,
3001
+ :asn,
3002
+ :mtu,
3003
+ :auth_key,
3004
+ :amazon_address,
3005
+ :customer_address,
3006
+ :address_family,
3007
+ :direct_connect_gateway_id)
3008
+ include Aws::Structure
3009
+ end
3010
+
3011
+ # Information about a transit virtual interface to be provisioned on a
3012
+ # connection.
3013
+ #
3014
+ # @note When making an API call, you may pass NewTransitVirtualInterfaceAllocation
3015
+ # data as a hash:
3016
+ #
3017
+ # {
3018
+ # virtual_interface_name: "VirtualInterfaceName",
3019
+ # vlan: 1,
3020
+ # asn: 1,
3021
+ # mtu: 1,
3022
+ # auth_key: "BGPAuthKey",
3023
+ # amazon_address: "AmazonAddress",
3024
+ # customer_address: "CustomerAddress",
3025
+ # address_family: "ipv4", # accepts ipv4, ipv6
3026
+ # }
3027
+ #
3028
+ # @!attribute [rw] virtual_interface_name
3029
+ # The name of the virtual interface assigned by the customer network.
3030
+ # @return [String]
3031
+ #
3032
+ # @!attribute [rw] vlan
3033
+ # The ID of the VLAN.
3034
+ # @return [Integer]
3035
+ #
3036
+ # @!attribute [rw] asn
3037
+ # The autonomous system (AS) number for Border Gateway Protocol (BGP)
3038
+ # configuration.
3039
+ # @return [Integer]
3040
+ #
3041
+ # @!attribute [rw] mtu
3042
+ # The maximum transmission unit (MTU), in bytes. The supported values
3043
+ # are 1500 and 9001. The default value is 1500.
3044
+ # @return [Integer]
3045
+ #
3046
+ # @!attribute [rw] auth_key
3047
+ # The authentication key for BGP configuration.
3048
+ # @return [String]
3049
+ #
3050
+ # @!attribute [rw] amazon_address
3051
+ # The IP address assigned to the Amazon interface.
3052
+ # @return [String]
3053
+ #
3054
+ # @!attribute [rw] customer_address
3055
+ # The IP address assigned to the customer interface.
3056
+ # @return [String]
3057
+ #
3058
+ # @!attribute [rw] address_family
3059
+ # The address family for the BGP peer.
3060
+ # @return [String]
3061
+ #
3062
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewTransitVirtualInterfaceAllocation AWS API Documentation
3063
+ #
3064
+ class NewTransitVirtualInterfaceAllocation < Struct.new(
3065
+ :virtual_interface_name,
3066
+ :vlan,
3067
+ :asn,
3068
+ :mtu,
3069
+ :auth_key,
3070
+ :amazon_address,
3071
+ :customer_address,
3072
+ :address_family)
3073
+ include Aws::Structure
3074
+ end
3075
+
2769
3076
  # Information about a tag associated with an AWS Direct Connect
2770
3077
  # resource.
2771
3078
  #
@@ -2935,7 +3242,7 @@ module Aws::DirectConnect
2935
3242
 
2936
3243
  # @!attribute [rw] direct_connect_gateway_association
2937
3244
  # Information about an association between a Direct Connect gateway
2938
- # and a virtual private gateway.
3245
+ # and a virtual private gateway or transit gateway.
2939
3246
  # @return [Types::DirectConnectGatewayAssociation]
2940
3247
  #
2941
3248
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateDirectConnectGatewayAssociationResult AWS API Documentation
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.16.0
4
+ version: 1.17.0
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: 2019-03-25 00:00:00.000000000 Z
11
+ date: 2019-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -59,7 +59,7 @@ files:
59
59
  - lib/aws-sdk-directconnect/errors.rb
60
60
  - lib/aws-sdk-directconnect/resource.rb
61
61
  - lib/aws-sdk-directconnect/types.rb
62
- homepage: http://github.com/aws/aws-sdk-ruby
62
+ homepage: https://github.com/aws/aws-sdk-ruby
63
63
  licenses:
64
64
  - Apache-2.0
65
65
  metadata: