aws-sdk-directconnect 1.15.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-directconnect.rb +1 -1
- data/lib/aws-sdk-directconnect/client.rb +417 -50
- data/lib/aws-sdk-directconnect/client_api.rb +151 -11
- data/lib/aws-sdk-directconnect/types.rb +454 -35
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03a787ac1e6182a963000428724eaa9417bcb4ca
|
4
|
+
data.tar.gz: 0a438f718ddec4db3a238765285a0b6eaa2b796a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f975542300ed737d3b99bf2e309c0cf34451e73b67a4fb8dc36b22b9a594d56b6035ce07b4028f47a1624b60268f269461453034385bdf6fc2fdccbab4aacee
|
7
|
+
data.tar.gz: 4b66013671211c46728cb14462d198cdbabd5424b841a4d5b79f2f9a2cde195516ca44ff86863c56b20ef527e4e4cfa3cf6fefcfa7866bdf228a974be5befbf1
|
@@ -215,6 +215,65 @@ module Aws::DirectConnect
|
|
215
215
|
|
216
216
|
# @!group API Operations
|
217
217
|
|
218
|
+
# Accepts a proposal request to attach a virtual private gateway to a
|
219
|
+
# Direct Connect gateway.
|
220
|
+
#
|
221
|
+
# @option params [required, String] :direct_connect_gateway_id
|
222
|
+
# The ID of the Direct Connect gateway.
|
223
|
+
#
|
224
|
+
# @option params [required, String] :proposal_id
|
225
|
+
# The ID of the request proposal.
|
226
|
+
#
|
227
|
+
# @option params [required, String] :associated_gateway_owner_account
|
228
|
+
# The ID of the AWS account that owns the virtual private gateway.
|
229
|
+
#
|
230
|
+
# @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.
|
233
|
+
#
|
234
|
+
# @return [Types::AcceptDirectConnectGatewayAssociationProposalResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
235
|
+
#
|
236
|
+
# * {Types::AcceptDirectConnectGatewayAssociationProposalResult#direct_connect_gateway_association #direct_connect_gateway_association} => Types::DirectConnectGatewayAssociation
|
237
|
+
#
|
238
|
+
# @example Request syntax with placeholder values
|
239
|
+
#
|
240
|
+
# resp = client.accept_direct_connect_gateway_association_proposal({
|
241
|
+
# direct_connect_gateway_id: "DirectConnectGatewayId", # required
|
242
|
+
# proposal_id: "DirectConnectGatewayAssociationProposalId", # required
|
243
|
+
# associated_gateway_owner_account: "OwnerAccount", # required
|
244
|
+
# override_allowed_prefixes_to_direct_connect_gateway: [
|
245
|
+
# {
|
246
|
+
# cidr: "CIDR",
|
247
|
+
# },
|
248
|
+
# ],
|
249
|
+
# })
|
250
|
+
#
|
251
|
+
# @example Response structure
|
252
|
+
#
|
253
|
+
# resp.direct_connect_gateway_association.direct_connect_gateway_id #=> String
|
254
|
+
# resp.direct_connect_gateway_association.direct_connect_gateway_owner_account #=> String
|
255
|
+
# resp.direct_connect_gateway_association.association_state #=> String, one of "associating", "associated", "disassociating", "disassociated", "updating"
|
256
|
+
# resp.direct_connect_gateway_association.state_change_error #=> String
|
257
|
+
# resp.direct_connect_gateway_association.associated_gateway.id #=> String
|
258
|
+
# resp.direct_connect_gateway_association.associated_gateway.type #=> String, one of "virtualPrivateGateway"
|
259
|
+
# resp.direct_connect_gateway_association.associated_gateway.owner_account #=> String
|
260
|
+
# resp.direct_connect_gateway_association.associated_gateway.region #=> String
|
261
|
+
# resp.direct_connect_gateway_association.association_id #=> String
|
262
|
+
# resp.direct_connect_gateway_association.allowed_prefixes_to_direct_connect_gateway #=> Array
|
263
|
+
# resp.direct_connect_gateway_association.allowed_prefixes_to_direct_connect_gateway[0].cidr #=> String
|
264
|
+
# resp.direct_connect_gateway_association.virtual_gateway_id #=> String
|
265
|
+
# resp.direct_connect_gateway_association.virtual_gateway_region #=> String
|
266
|
+
# resp.direct_connect_gateway_association.virtual_gateway_owner_account #=> String
|
267
|
+
#
|
268
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AcceptDirectConnectGatewayAssociationProposal AWS API Documentation
|
269
|
+
#
|
270
|
+
# @overload accept_direct_connect_gateway_association_proposal(params = {})
|
271
|
+
# @param [Hash] params ({})
|
272
|
+
def accept_direct_connect_gateway_association_proposal(params = {}, options = {})
|
273
|
+
req = build_request(:accept_direct_connect_gateway_association_proposal, params)
|
274
|
+
req.send_request(options)
|
275
|
+
end
|
276
|
+
|
218
277
|
# Deprecated. Use AllocateHostedConnection instead.
|
219
278
|
#
|
220
279
|
# Creates a hosted connection on an interconnect.
|
@@ -222,13 +281,16 @@ module Aws::DirectConnect
|
|
222
281
|
# Allocates a VLAN number and a specified amount of bandwidth for use by
|
223
282
|
# a hosted connection on the specified interconnect.
|
224
283
|
#
|
225
|
-
# <note markdown="1"> Intended for use by AWS Direct Connect
|
284
|
+
# <note markdown="1"> Intended for use by AWS Direct Connect Partners only.
|
226
285
|
#
|
227
286
|
# </note>
|
228
287
|
#
|
229
288
|
# @option params [required, String] :bandwidth
|
230
|
-
# The bandwidth of the connection
|
231
|
-
#
|
289
|
+
# The bandwidth of the connection. The possible values are 50Mbps,
|
290
|
+
# 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and
|
291
|
+
# 10Gbps. Note that only those AWS Direct Connect Partners who have met
|
292
|
+
# specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or
|
293
|
+
# 10Gbps hosted connection.
|
232
294
|
#
|
233
295
|
# @option params [required, String] :connection_name
|
234
296
|
# The name of the provisioned connection.
|
@@ -300,12 +362,15 @@ module Aws::DirectConnect
|
|
300
362
|
end
|
301
363
|
|
302
364
|
# Creates a hosted connection on the specified interconnect or a link
|
303
|
-
# aggregation group (LAG).
|
365
|
+
# aggregation group (LAG) of interconnects.
|
304
366
|
#
|
305
|
-
# Allocates a VLAN number and a specified amount of bandwidth
|
306
|
-
# a hosted connection on the specified interconnect or LAG
|
367
|
+
# Allocates a VLAN number and a specified amount of capacity (bandwidth)
|
368
|
+
# for use by a hosted connection on the specified interconnect or LAG of
|
369
|
+
# interconnects. AWS polices the hosted connection for the specified
|
370
|
+
# capacity and the AWS Direct Connect Partner must also police the
|
371
|
+
# hosted connection for the specified capacity.
|
307
372
|
#
|
308
|
-
# <note markdown="1"> Intended for use by AWS Direct Connect
|
373
|
+
# <note markdown="1"> Intended for use by AWS Direct Connect Partners only.
|
309
374
|
#
|
310
375
|
# </note>
|
311
376
|
#
|
@@ -316,8 +381,11 @@ module Aws::DirectConnect
|
|
316
381
|
# The ID of the AWS account ID of the customer for the connection.
|
317
382
|
#
|
318
383
|
# @option params [required, String] :bandwidth
|
319
|
-
# The bandwidth of the
|
320
|
-
#
|
384
|
+
# The bandwidth of the connection. The possible values are 50Mbps,
|
385
|
+
# 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and
|
386
|
+
# 10Gbps. Note that only those AWS Direct Connect Partners who have met
|
387
|
+
# specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or
|
388
|
+
# 10Gbps hosted connection.
|
321
389
|
#
|
322
390
|
# @option params [required, String] :connection_name
|
323
391
|
# The name of the hosted connection.
|
@@ -688,7 +756,7 @@ module Aws::DirectConnect
|
|
688
756
|
# or IP address, the operation fails. This action temporarily interrupts
|
689
757
|
# the hosted connection's connectivity to AWS as it is being migrated.
|
690
758
|
#
|
691
|
-
# <note markdown="1"> Intended for use by AWS Direct Connect
|
759
|
+
# <note markdown="1"> Intended for use by AWS Direct Connect Partners only.
|
692
760
|
#
|
693
761
|
# </note>
|
694
762
|
#
|
@@ -1178,7 +1246,13 @@ module Aws::DirectConnect
|
|
1178
1246
|
# @option params [required, String] :direct_connect_gateway_id
|
1179
1247
|
# The ID of the Direct Connect gateway.
|
1180
1248
|
#
|
1181
|
-
# @option params [
|
1249
|
+
# @option params [String] :gateway_id
|
1250
|
+
# The ID of the virtual private gateway.
|
1251
|
+
#
|
1252
|
+
# @option params [Array<Types::RouteFilterPrefix>] :add_allowed_prefixes_to_direct_connect_gateway
|
1253
|
+
# The Amazon VPC prefixes to advertise to the Direct Connect gateway
|
1254
|
+
#
|
1255
|
+
# @option params [String] :virtual_gateway_id
|
1182
1256
|
# The ID of the virtual private gateway.
|
1183
1257
|
#
|
1184
1258
|
# @return [Types::CreateDirectConnectGatewayAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1189,17 +1263,31 @@ module Aws::DirectConnect
|
|
1189
1263
|
#
|
1190
1264
|
# resp = client.create_direct_connect_gateway_association({
|
1191
1265
|
# direct_connect_gateway_id: "DirectConnectGatewayId", # required
|
1192
|
-
#
|
1266
|
+
# gateway_id: "GatewayIdToAssociate",
|
1267
|
+
# add_allowed_prefixes_to_direct_connect_gateway: [
|
1268
|
+
# {
|
1269
|
+
# cidr: "CIDR",
|
1270
|
+
# },
|
1271
|
+
# ],
|
1272
|
+
# virtual_gateway_id: "VirtualGatewayId",
|
1193
1273
|
# })
|
1194
1274
|
#
|
1195
1275
|
# @example Response structure
|
1196
1276
|
#
|
1197
1277
|
# resp.direct_connect_gateway_association.direct_connect_gateway_id #=> String
|
1278
|
+
# resp.direct_connect_gateway_association.direct_connect_gateway_owner_account #=> String
|
1279
|
+
# resp.direct_connect_gateway_association.association_state #=> String, one of "associating", "associated", "disassociating", "disassociated", "updating"
|
1280
|
+
# resp.direct_connect_gateway_association.state_change_error #=> String
|
1281
|
+
# resp.direct_connect_gateway_association.associated_gateway.id #=> String
|
1282
|
+
# resp.direct_connect_gateway_association.associated_gateway.type #=> String, one of "virtualPrivateGateway"
|
1283
|
+
# resp.direct_connect_gateway_association.associated_gateway.owner_account #=> String
|
1284
|
+
# resp.direct_connect_gateway_association.associated_gateway.region #=> String
|
1285
|
+
# resp.direct_connect_gateway_association.association_id #=> String
|
1286
|
+
# resp.direct_connect_gateway_association.allowed_prefixes_to_direct_connect_gateway #=> Array
|
1287
|
+
# resp.direct_connect_gateway_association.allowed_prefixes_to_direct_connect_gateway[0].cidr #=> String
|
1198
1288
|
# resp.direct_connect_gateway_association.virtual_gateway_id #=> String
|
1199
1289
|
# resp.direct_connect_gateway_association.virtual_gateway_region #=> String
|
1200
1290
|
# resp.direct_connect_gateway_association.virtual_gateway_owner_account #=> String
|
1201
|
-
# resp.direct_connect_gateway_association.association_state #=> String, one of "associating", "associated", "disassociating", "disassociated"
|
1202
|
-
# resp.direct_connect_gateway_association.state_change_error #=> String
|
1203
1291
|
#
|
1204
1292
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociation AWS API Documentation
|
1205
1293
|
#
|
@@ -1210,16 +1298,86 @@ module Aws::DirectConnect
|
|
1210
1298
|
req.send_request(options)
|
1211
1299
|
end
|
1212
1300
|
|
1213
|
-
# Creates
|
1301
|
+
# Creates a proposal to associate the specified virtual private gateway
|
1302
|
+
# with the specified Direct Connect gateway.
|
1303
|
+
#
|
1304
|
+
# 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.
|
1307
|
+
#
|
1308
|
+
# @option params [required, String] :direct_connect_gateway_id
|
1309
|
+
# The ID of the Direct Connect gateway.
|
1310
|
+
#
|
1311
|
+
# @option params [required, String] :direct_connect_gateway_owner_account
|
1312
|
+
# The ID of the AWS account that owns the Direct Connect gateway.
|
1313
|
+
#
|
1314
|
+
# @option params [required, String] :gateway_id
|
1315
|
+
# The ID of the virtual private gateway.
|
1316
|
+
#
|
1317
|
+
# @option params [Array<Types::RouteFilterPrefix>] :add_allowed_prefixes_to_direct_connect_gateway
|
1318
|
+
# The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
1319
|
+
#
|
1320
|
+
# @option params [Array<Types::RouteFilterPrefix>] :remove_allowed_prefixes_to_direct_connect_gateway
|
1321
|
+
# The Amazon VPC prefixes to no longer advertise to the Direct Connect
|
1322
|
+
# gateway.
|
1323
|
+
#
|
1324
|
+
# @return [Types::CreateDirectConnectGatewayAssociationProposalResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1325
|
+
#
|
1326
|
+
# * {Types::CreateDirectConnectGatewayAssociationProposalResult#direct_connect_gateway_association_proposal #direct_connect_gateway_association_proposal} => Types::DirectConnectGatewayAssociationProposal
|
1327
|
+
#
|
1328
|
+
# @example Request syntax with placeholder values
|
1329
|
+
#
|
1330
|
+
# resp = client.create_direct_connect_gateway_association_proposal({
|
1331
|
+
# direct_connect_gateway_id: "DirectConnectGatewayId", # required
|
1332
|
+
# direct_connect_gateway_owner_account: "OwnerAccount", # required
|
1333
|
+
# gateway_id: "GatewayIdToAssociate", # required
|
1334
|
+
# add_allowed_prefixes_to_direct_connect_gateway: [
|
1335
|
+
# {
|
1336
|
+
# cidr: "CIDR",
|
1337
|
+
# },
|
1338
|
+
# ],
|
1339
|
+
# remove_allowed_prefixes_to_direct_connect_gateway: [
|
1340
|
+
# {
|
1341
|
+
# cidr: "CIDR",
|
1342
|
+
# },
|
1343
|
+
# ],
|
1344
|
+
# })
|
1345
|
+
#
|
1346
|
+
# @example Response structure
|
1347
|
+
#
|
1348
|
+
# resp.direct_connect_gateway_association_proposal.proposal_id #=> String
|
1349
|
+
# resp.direct_connect_gateway_association_proposal.direct_connect_gateway_id #=> String
|
1350
|
+
# resp.direct_connect_gateway_association_proposal.direct_connect_gateway_owner_account #=> String
|
1351
|
+
# resp.direct_connect_gateway_association_proposal.proposal_state #=> String, one of "requested", "accepted", "deleted"
|
1352
|
+
# resp.direct_connect_gateway_association_proposal.associated_gateway.id #=> String
|
1353
|
+
# resp.direct_connect_gateway_association_proposal.associated_gateway.type #=> String, one of "virtualPrivateGateway"
|
1354
|
+
# resp.direct_connect_gateway_association_proposal.associated_gateway.owner_account #=> String
|
1355
|
+
# resp.direct_connect_gateway_association_proposal.associated_gateway.region #=> String
|
1356
|
+
# resp.direct_connect_gateway_association_proposal.existing_allowed_prefixes_to_direct_connect_gateway #=> Array
|
1357
|
+
# resp.direct_connect_gateway_association_proposal.existing_allowed_prefixes_to_direct_connect_gateway[0].cidr #=> String
|
1358
|
+
# resp.direct_connect_gateway_association_proposal.requested_allowed_prefixes_to_direct_connect_gateway #=> Array
|
1359
|
+
# resp.direct_connect_gateway_association_proposal.requested_allowed_prefixes_to_direct_connect_gateway[0].cidr #=> String
|
1360
|
+
#
|
1361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociationProposal AWS API Documentation
|
1362
|
+
#
|
1363
|
+
# @overload create_direct_connect_gateway_association_proposal(params = {})
|
1364
|
+
# @param [Hash] params ({})
|
1365
|
+
def create_direct_connect_gateway_association_proposal(params = {}, options = {})
|
1366
|
+
req = build_request(:create_direct_connect_gateway_association_proposal, params)
|
1367
|
+
req.send_request(options)
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
# Creates an interconnect between an AWS Direct Connect Partner's
|
1214
1371
|
# network and a specific AWS Direct Connect location.
|
1215
1372
|
#
|
1216
|
-
# An interconnect is a connection
|
1217
|
-
# connections. The partner can use an interconnect to
|
1218
|
-
# AWS Direct Connect
|
1219
|
-
# own
|
1220
|
-
# partner's network to an AWS Direct Connect
|
1221
|
-
# Ethernet fiber-optic cable. One end is
|
1222
|
-
# router, the other to an AWS Direct Connect
|
1373
|
+
# An interconnect is a connection that is capable of hosting other
|
1374
|
+
# connections. The AWS Direct Connect partner can use an interconnect to
|
1375
|
+
# provide AWS Direct Connect hosted connections to customers through
|
1376
|
+
# their own network services. Like a standard connection, an
|
1377
|
+
# interconnect links the partner's network to an AWS Direct Connect
|
1378
|
+
# location over a standard Ethernet fiber-optic cable. One end is
|
1379
|
+
# connected to the partner's router, the other to an AWS Direct Connect
|
1380
|
+
# router.
|
1223
1381
|
#
|
1224
1382
|
# You can automatically add the new interconnect to a link aggregation
|
1225
1383
|
# group (LAG) by specifying a LAG ID in the request. This ensures that
|
@@ -1227,13 +1385,13 @@ module Aws::DirectConnect
|
|
1227
1385
|
# endpoint that hosts the specified LAG. If there are no available ports
|
1228
1386
|
# on the endpoint, the request fails and no interconnect is created.
|
1229
1387
|
#
|
1230
|
-
# For each end customer, the AWS Direct Connect
|
1231
|
-
# connection on their interconnect by calling
|
1232
|
-
#
|
1233
|
-
#
|
1234
|
-
#
|
1388
|
+
# For each end customer, the AWS Direct Connect Partner provisions a
|
1389
|
+
# connection on their interconnect by calling AllocateHostedConnection.
|
1390
|
+
# The end customer can then connect to AWS resources by creating a
|
1391
|
+
# virtual interface on their connection, using the VLAN assigned to them
|
1392
|
+
# by the AWS Direct Connect Partner.
|
1235
1393
|
#
|
1236
|
-
# <note markdown="1"> Intended for use by AWS Direct Connect
|
1394
|
+
# <note markdown="1"> Intended for use by AWS Direct Connect Partners only.
|
1237
1395
|
#
|
1238
1396
|
# </note>
|
1239
1397
|
#
|
@@ -1320,7 +1478,7 @@ module Aws::DirectConnect
|
|
1320
1478
|
# with the LAG. The connection ID does not change.
|
1321
1479
|
#
|
1322
1480
|
# If the AWS account used to create a LAG is a registered AWS Direct
|
1323
|
-
# Connect
|
1481
|
+
# Connect Partner, the LAG is automatically enabled to host
|
1324
1482
|
# sub-connections. For a LAG owned by a partner, any associated virtual
|
1325
1483
|
# interfaces cannot be directly configured.
|
1326
1484
|
#
|
@@ -1333,7 +1491,8 @@ module Aws::DirectConnect
|
|
1333
1491
|
#
|
1334
1492
|
# @option params [required, String] :connections_bandwidth
|
1335
1493
|
# The bandwidth of the individual physical connections bundled by the
|
1336
|
-
# LAG. The possible values are
|
1494
|
+
# LAG. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps,
|
1495
|
+
# 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps.
|
1337
1496
|
#
|
1338
1497
|
# @option params [required, String] :lag_name
|
1339
1498
|
# The name of the LAG.
|
@@ -1796,10 +1955,13 @@ module Aws::DirectConnect
|
|
1796
1955
|
# Deletes the association between the specified Direct Connect gateway
|
1797
1956
|
# and virtual private gateway.
|
1798
1957
|
#
|
1799
|
-
# @option params [
|
1958
|
+
# @option params [String] :association_id
|
1959
|
+
# The ID of the Direct Connect gateway association.
|
1960
|
+
#
|
1961
|
+
# @option params [String] :direct_connect_gateway_id
|
1800
1962
|
# The ID of the Direct Connect gateway.
|
1801
1963
|
#
|
1802
|
-
# @option params [
|
1964
|
+
# @option params [String] :virtual_gateway_id
|
1803
1965
|
# The ID of the virtual private gateway.
|
1804
1966
|
#
|
1805
1967
|
# @return [Types::DeleteDirectConnectGatewayAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1809,18 +1971,27 @@ module Aws::DirectConnect
|
|
1809
1971
|
# @example Request syntax with placeholder values
|
1810
1972
|
#
|
1811
1973
|
# resp = client.delete_direct_connect_gateway_association({
|
1812
|
-
#
|
1813
|
-
#
|
1974
|
+
# association_id: "DirectConnectGatewayAssociationId",
|
1975
|
+
# direct_connect_gateway_id: "DirectConnectGatewayId",
|
1976
|
+
# virtual_gateway_id: "VirtualGatewayId",
|
1814
1977
|
# })
|
1815
1978
|
#
|
1816
1979
|
# @example Response structure
|
1817
1980
|
#
|
1818
1981
|
# resp.direct_connect_gateway_association.direct_connect_gateway_id #=> String
|
1982
|
+
# resp.direct_connect_gateway_association.direct_connect_gateway_owner_account #=> String
|
1983
|
+
# resp.direct_connect_gateway_association.association_state #=> String, one of "associating", "associated", "disassociating", "disassociated", "updating"
|
1984
|
+
# resp.direct_connect_gateway_association.state_change_error #=> String
|
1985
|
+
# resp.direct_connect_gateway_association.associated_gateway.id #=> String
|
1986
|
+
# resp.direct_connect_gateway_association.associated_gateway.type #=> String, one of "virtualPrivateGateway"
|
1987
|
+
# resp.direct_connect_gateway_association.associated_gateway.owner_account #=> String
|
1988
|
+
# resp.direct_connect_gateway_association.associated_gateway.region #=> String
|
1989
|
+
# resp.direct_connect_gateway_association.association_id #=> String
|
1990
|
+
# resp.direct_connect_gateway_association.allowed_prefixes_to_direct_connect_gateway #=> Array
|
1991
|
+
# resp.direct_connect_gateway_association.allowed_prefixes_to_direct_connect_gateway[0].cidr #=> String
|
1819
1992
|
# resp.direct_connect_gateway_association.virtual_gateway_id #=> String
|
1820
1993
|
# resp.direct_connect_gateway_association.virtual_gateway_region #=> String
|
1821
1994
|
# resp.direct_connect_gateway_association.virtual_gateway_owner_account #=> String
|
1822
|
-
# resp.direct_connect_gateway_association.association_state #=> String, one of "associating", "associated", "disassociating", "disassociated"
|
1823
|
-
# resp.direct_connect_gateway_association.state_change_error #=> String
|
1824
1995
|
#
|
1825
1996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociation AWS API Documentation
|
1826
1997
|
#
|
@@ -1831,9 +2002,49 @@ module Aws::DirectConnect
|
|
1831
2002
|
req.send_request(options)
|
1832
2003
|
end
|
1833
2004
|
|
2005
|
+
# Deletes the association proposal request between the specified Direct
|
2006
|
+
# Connect gateway and virtual private gateway.
|
2007
|
+
#
|
2008
|
+
# @option params [required, String] :proposal_id
|
2009
|
+
# The ID of the proposal.
|
2010
|
+
#
|
2011
|
+
# @return [Types::DeleteDirectConnectGatewayAssociationProposalResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2012
|
+
#
|
2013
|
+
# * {Types::DeleteDirectConnectGatewayAssociationProposalResult#direct_connect_gateway_association_proposal #direct_connect_gateway_association_proposal} => Types::DirectConnectGatewayAssociationProposal
|
2014
|
+
#
|
2015
|
+
# @example Request syntax with placeholder values
|
2016
|
+
#
|
2017
|
+
# resp = client.delete_direct_connect_gateway_association_proposal({
|
2018
|
+
# proposal_id: "DirectConnectGatewayAssociationProposalId", # required
|
2019
|
+
# })
|
2020
|
+
#
|
2021
|
+
# @example Response structure
|
2022
|
+
#
|
2023
|
+
# resp.direct_connect_gateway_association_proposal.proposal_id #=> String
|
2024
|
+
# resp.direct_connect_gateway_association_proposal.direct_connect_gateway_id #=> String
|
2025
|
+
# resp.direct_connect_gateway_association_proposal.direct_connect_gateway_owner_account #=> String
|
2026
|
+
# resp.direct_connect_gateway_association_proposal.proposal_state #=> String, one of "requested", "accepted", "deleted"
|
2027
|
+
# resp.direct_connect_gateway_association_proposal.associated_gateway.id #=> String
|
2028
|
+
# resp.direct_connect_gateway_association_proposal.associated_gateway.type #=> String, one of "virtualPrivateGateway"
|
2029
|
+
# resp.direct_connect_gateway_association_proposal.associated_gateway.owner_account #=> String
|
2030
|
+
# resp.direct_connect_gateway_association_proposal.associated_gateway.region #=> String
|
2031
|
+
# resp.direct_connect_gateway_association_proposal.existing_allowed_prefixes_to_direct_connect_gateway #=> Array
|
2032
|
+
# resp.direct_connect_gateway_association_proposal.existing_allowed_prefixes_to_direct_connect_gateway[0].cidr #=> String
|
2033
|
+
# resp.direct_connect_gateway_association_proposal.requested_allowed_prefixes_to_direct_connect_gateway #=> Array
|
2034
|
+
# resp.direct_connect_gateway_association_proposal.requested_allowed_prefixes_to_direct_connect_gateway[0].cidr #=> String
|
2035
|
+
#
|
2036
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociationProposal AWS API Documentation
|
2037
|
+
#
|
2038
|
+
# @overload delete_direct_connect_gateway_association_proposal(params = {})
|
2039
|
+
# @param [Hash] params ({})
|
2040
|
+
def delete_direct_connect_gateway_association_proposal(params = {}, options = {})
|
2041
|
+
req = build_request(:delete_direct_connect_gateway_association_proposal, params)
|
2042
|
+
req.send_request(options)
|
2043
|
+
end
|
2044
|
+
|
1834
2045
|
# Deletes the specified interconnect.
|
1835
2046
|
#
|
1836
|
-
# <note markdown="1"> Intended for use by AWS Direct Connect
|
2047
|
+
# <note markdown="1"> Intended for use by AWS Direct Connect Partners only.
|
1837
2048
|
#
|
1838
2049
|
# </note>
|
1839
2050
|
#
|
@@ -2064,7 +2275,7 @@ module Aws::DirectConnect
|
|
2064
2275
|
# Lists the connections that have been provisioned on the specified
|
2065
2276
|
# interconnect.
|
2066
2277
|
#
|
2067
|
-
# <note markdown="1"> Intended for use by AWS Direct Connect
|
2278
|
+
# <note markdown="1"> Intended for use by AWS Direct Connect Partners only.
|
2068
2279
|
#
|
2069
2280
|
# </note>
|
2070
2281
|
#
|
@@ -2109,6 +2320,70 @@ module Aws::DirectConnect
|
|
2109
2320
|
req.send_request(options)
|
2110
2321
|
end
|
2111
2322
|
|
2323
|
+
# Describes one or more association proposals for connection between a
|
2324
|
+
# virtual private gateway and a Direct Connect gateway.
|
2325
|
+
#
|
2326
|
+
# @option params [String] :direct_connect_gateway_id
|
2327
|
+
# The ID of the Direct Connect gateway.
|
2328
|
+
#
|
2329
|
+
# @option params [String] :proposal_id
|
2330
|
+
# The ID of the proposal.
|
2331
|
+
#
|
2332
|
+
# @option params [String] :associated_gateway_id
|
2333
|
+
# The ID of the associated virtual private gateway.
|
2334
|
+
#
|
2335
|
+
# @option params [Integer] :max_results
|
2336
|
+
# The maximum number of results to return with a single call. To
|
2337
|
+
# retrieve the remaining results, make another call with the returned
|
2338
|
+
# `nextToken` value.
|
2339
|
+
#
|
2340
|
+
# If `MaxResults` is given a value larger than 100, only 100 results are
|
2341
|
+
# returned.
|
2342
|
+
#
|
2343
|
+
# @option params [String] :next_token
|
2344
|
+
# The token for the next page of results.
|
2345
|
+
#
|
2346
|
+
# @return [Types::DescribeDirectConnectGatewayAssociationProposalsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2347
|
+
#
|
2348
|
+
# * {Types::DescribeDirectConnectGatewayAssociationProposalsResult#direct_connect_gateway_association_proposals #direct_connect_gateway_association_proposals} => Array<Types::DirectConnectGatewayAssociationProposal>
|
2349
|
+
# * {Types::DescribeDirectConnectGatewayAssociationProposalsResult#next_token #next_token} => String
|
2350
|
+
#
|
2351
|
+
# @example Request syntax with placeholder values
|
2352
|
+
#
|
2353
|
+
# resp = client.describe_direct_connect_gateway_association_proposals({
|
2354
|
+
# direct_connect_gateway_id: "DirectConnectGatewayId",
|
2355
|
+
# proposal_id: "DirectConnectGatewayAssociationProposalId",
|
2356
|
+
# associated_gateway_id: "AssociatedGatewayId",
|
2357
|
+
# max_results: 1,
|
2358
|
+
# next_token: "PaginationToken",
|
2359
|
+
# })
|
2360
|
+
#
|
2361
|
+
# @example Response structure
|
2362
|
+
#
|
2363
|
+
# resp.direct_connect_gateway_association_proposals #=> Array
|
2364
|
+
# resp.direct_connect_gateway_association_proposals[0].proposal_id #=> String
|
2365
|
+
# resp.direct_connect_gateway_association_proposals[0].direct_connect_gateway_id #=> String
|
2366
|
+
# resp.direct_connect_gateway_association_proposals[0].direct_connect_gateway_owner_account #=> String
|
2367
|
+
# resp.direct_connect_gateway_association_proposals[0].proposal_state #=> String, one of "requested", "accepted", "deleted"
|
2368
|
+
# 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"
|
2370
|
+
# resp.direct_connect_gateway_association_proposals[0].associated_gateway.owner_account #=> String
|
2371
|
+
# resp.direct_connect_gateway_association_proposals[0].associated_gateway.region #=> String
|
2372
|
+
# resp.direct_connect_gateway_association_proposals[0].existing_allowed_prefixes_to_direct_connect_gateway #=> Array
|
2373
|
+
# resp.direct_connect_gateway_association_proposals[0].existing_allowed_prefixes_to_direct_connect_gateway[0].cidr #=> String
|
2374
|
+
# resp.direct_connect_gateway_association_proposals[0].requested_allowed_prefixes_to_direct_connect_gateway #=> Array
|
2375
|
+
# resp.direct_connect_gateway_association_proposals[0].requested_allowed_prefixes_to_direct_connect_gateway[0].cidr #=> String
|
2376
|
+
# resp.next_token #=> String
|
2377
|
+
#
|
2378
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociationProposals AWS API Documentation
|
2379
|
+
#
|
2380
|
+
# @overload describe_direct_connect_gateway_association_proposals(params = {})
|
2381
|
+
# @param [Hash] params ({})
|
2382
|
+
def describe_direct_connect_gateway_association_proposals(params = {}, options = {})
|
2383
|
+
req = build_request(:describe_direct_connect_gateway_association_proposals, params)
|
2384
|
+
req.send_request(options)
|
2385
|
+
end
|
2386
|
+
|
2112
2387
|
# Lists the associations between your Direct Connect gateways and
|
2113
2388
|
# virtual private gateways. You must specify a Direct Connect gateway, a
|
2114
2389
|
# virtual private gateway, or both. If you specify a Direct Connect
|
@@ -2119,18 +2394,29 @@ module Aws::DirectConnect
|
|
2119
2394
|
# contains the association between the Direct Connect gateway and the
|
2120
2395
|
# virtual private gateway.
|
2121
2396
|
#
|
2397
|
+
# @option params [String] :association_id
|
2398
|
+
# The ID of the Direct Connect gateway association.
|
2399
|
+
#
|
2400
|
+
# @option params [String] :associated_gateway_id
|
2401
|
+
# The ID of the associated gateway.
|
2402
|
+
#
|
2122
2403
|
# @option params [String] :direct_connect_gateway_id
|
2123
2404
|
# The ID of the Direct Connect gateway.
|
2124
2405
|
#
|
2125
|
-
# @option params [String] :virtual_gateway_id
|
2126
|
-
# The ID of the virtual private gateway.
|
2127
|
-
#
|
2128
2406
|
# @option params [Integer] :max_results
|
2129
|
-
# The maximum number of
|
2407
|
+
# The maximum number of results to return with a single call. To
|
2408
|
+
# retrieve the remaining results, make another call with the returned
|
2409
|
+
# `nextToken` value.
|
2410
|
+
#
|
2411
|
+
# If `MaxResults` is given a value larger than 100, only 100 results are
|
2412
|
+
# returned.
|
2130
2413
|
#
|
2131
2414
|
# @option params [String] :next_token
|
2132
2415
|
# The token provided in the previous call to retrieve the next page.
|
2133
2416
|
#
|
2417
|
+
# @option params [String] :virtual_gateway_id
|
2418
|
+
# The ID of the virtual private gateway.
|
2419
|
+
#
|
2134
2420
|
# @return [Types::DescribeDirectConnectGatewayAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2135
2421
|
#
|
2136
2422
|
# * {Types::DescribeDirectConnectGatewayAssociationsResult#direct_connect_gateway_associations #direct_connect_gateway_associations} => Array<Types::DirectConnectGatewayAssociation>
|
@@ -2139,21 +2425,31 @@ module Aws::DirectConnect
|
|
2139
2425
|
# @example Request syntax with placeholder values
|
2140
2426
|
#
|
2141
2427
|
# resp = client.describe_direct_connect_gateway_associations({
|
2428
|
+
# association_id: "DirectConnectGatewayAssociationId",
|
2429
|
+
# associated_gateway_id: "AssociatedGatewayId",
|
2142
2430
|
# direct_connect_gateway_id: "DirectConnectGatewayId",
|
2143
|
-
# virtual_gateway_id: "VirtualGatewayId",
|
2144
2431
|
# max_results: 1,
|
2145
2432
|
# next_token: "PaginationToken",
|
2433
|
+
# virtual_gateway_id: "VirtualGatewayId",
|
2146
2434
|
# })
|
2147
2435
|
#
|
2148
2436
|
# @example Response structure
|
2149
2437
|
#
|
2150
2438
|
# resp.direct_connect_gateway_associations #=> Array
|
2151
2439
|
# resp.direct_connect_gateway_associations[0].direct_connect_gateway_id #=> String
|
2440
|
+
# resp.direct_connect_gateway_associations[0].direct_connect_gateway_owner_account #=> String
|
2441
|
+
# resp.direct_connect_gateway_associations[0].association_state #=> String, one of "associating", "associated", "disassociating", "disassociated", "updating"
|
2442
|
+
# resp.direct_connect_gateway_associations[0].state_change_error #=> String
|
2443
|
+
# resp.direct_connect_gateway_associations[0].associated_gateway.id #=> String
|
2444
|
+
# resp.direct_connect_gateway_associations[0].associated_gateway.type #=> String, one of "virtualPrivateGateway"
|
2445
|
+
# resp.direct_connect_gateway_associations[0].associated_gateway.owner_account #=> String
|
2446
|
+
# resp.direct_connect_gateway_associations[0].associated_gateway.region #=> String
|
2447
|
+
# resp.direct_connect_gateway_associations[0].association_id #=> String
|
2448
|
+
# resp.direct_connect_gateway_associations[0].allowed_prefixes_to_direct_connect_gateway #=> Array
|
2449
|
+
# resp.direct_connect_gateway_associations[0].allowed_prefixes_to_direct_connect_gateway[0].cidr #=> String
|
2152
2450
|
# resp.direct_connect_gateway_associations[0].virtual_gateway_id #=> String
|
2153
2451
|
# resp.direct_connect_gateway_associations[0].virtual_gateway_region #=> String
|
2154
2452
|
# resp.direct_connect_gateway_associations[0].virtual_gateway_owner_account #=> String
|
2155
|
-
# resp.direct_connect_gateway_associations[0].association_state #=> String, one of "associating", "associated", "disassociating", "disassociated"
|
2156
|
-
# resp.direct_connect_gateway_associations[0].state_change_error #=> String
|
2157
2453
|
# resp.next_token #=> String
|
2158
2454
|
#
|
2159
2455
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociations AWS API Documentation
|
@@ -2181,7 +2477,12 @@ module Aws::DirectConnect
|
|
2181
2477
|
# The ID of the virtual interface.
|
2182
2478
|
#
|
2183
2479
|
# @option params [Integer] :max_results
|
2184
|
-
# The maximum number of
|
2480
|
+
# The maximum number of results to return with a single call. To
|
2481
|
+
# retrieve the remaining results, make another call with the returned
|
2482
|
+
# `nextToken` value.
|
2483
|
+
#
|
2484
|
+
# If `MaxResults` is given a value larger than 100, only 100 results are
|
2485
|
+
# returned.
|
2185
2486
|
#
|
2186
2487
|
# @option params [String] :next_token
|
2187
2488
|
# The token provided in the previous call to retrieve the next page.
|
@@ -2227,7 +2528,12 @@ module Aws::DirectConnect
|
|
2227
2528
|
# The ID of the Direct Connect gateway.
|
2228
2529
|
#
|
2229
2530
|
# @option params [Integer] :max_results
|
2230
|
-
# The maximum number of
|
2531
|
+
# The maximum number of results to return with a single call. To
|
2532
|
+
# retrieve the remaining results, make another call with the returned
|
2533
|
+
# `nextToken` value.
|
2534
|
+
#
|
2535
|
+
# If `MaxResults` is given a value larger than 100, only 100 results are
|
2536
|
+
# returned.
|
2231
2537
|
#
|
2232
2538
|
# @option params [String] :next_token
|
2233
2539
|
# The token provided in the previous call to retrieve the next page.
|
@@ -2268,7 +2574,7 @@ module Aws::DirectConnect
|
|
2268
2574
|
# Lists the hosted connections that have been provisioned on the
|
2269
2575
|
# specified interconnect or link aggregation group (LAG).
|
2270
2576
|
#
|
2271
|
-
# <note markdown="1"> Intended for use by AWS Direct Connect
|
2577
|
+
# <note markdown="1"> Intended for use by AWS Direct Connect Partners only.
|
2272
2578
|
#
|
2273
2579
|
# </note>
|
2274
2580
|
#
|
@@ -2678,7 +2984,7 @@ module Aws::DirectConnect
|
|
2678
2984
|
# connection (the connection is not deleted; to delete the connection,
|
2679
2985
|
# use the DeleteConnection request). If the LAG has associated virtual
|
2680
2986
|
# interfaces or hosted connections, they remain associated with the LAG.
|
2681
|
-
# A disassociated connection owned by an AWS Direct Connect
|
2987
|
+
# A disassociated connection owned by an AWS Direct Connect Partner is
|
2682
2988
|
# automatically converted to an interconnect.
|
2683
2989
|
#
|
2684
2990
|
# If disassociating the connection would cause the LAG to fall below its
|
@@ -2808,6 +3114,67 @@ module Aws::DirectConnect
|
|
2808
3114
|
req.send_request(options)
|
2809
3115
|
end
|
2810
3116
|
|
3117
|
+
# Updates the specified attributes of the Direct Connect gateway
|
3118
|
+
# association.
|
3119
|
+
#
|
3120
|
+
# Add or remove prefixes from the association.
|
3121
|
+
#
|
3122
|
+
# @option params [String] :association_id
|
3123
|
+
# The ID of the Direct Connect gateway association.
|
3124
|
+
#
|
3125
|
+
# @option params [Array<Types::RouteFilterPrefix>] :add_allowed_prefixes_to_direct_connect_gateway
|
3126
|
+
# The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
3127
|
+
#
|
3128
|
+
# @option params [Array<Types::RouteFilterPrefix>] :remove_allowed_prefixes_to_direct_connect_gateway
|
3129
|
+
# The Amazon VPC prefixes to no longer advertise to the Direct Connect
|
3130
|
+
# gateway.
|
3131
|
+
#
|
3132
|
+
# @return [Types::UpdateDirectConnectGatewayAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3133
|
+
#
|
3134
|
+
# * {Types::UpdateDirectConnectGatewayAssociationResult#direct_connect_gateway_association #direct_connect_gateway_association} => Types::DirectConnectGatewayAssociation
|
3135
|
+
#
|
3136
|
+
# @example Request syntax with placeholder values
|
3137
|
+
#
|
3138
|
+
# resp = client.update_direct_connect_gateway_association({
|
3139
|
+
# association_id: "DirectConnectGatewayAssociationId",
|
3140
|
+
# add_allowed_prefixes_to_direct_connect_gateway: [
|
3141
|
+
# {
|
3142
|
+
# cidr: "CIDR",
|
3143
|
+
# },
|
3144
|
+
# ],
|
3145
|
+
# remove_allowed_prefixes_to_direct_connect_gateway: [
|
3146
|
+
# {
|
3147
|
+
# cidr: "CIDR",
|
3148
|
+
# },
|
3149
|
+
# ],
|
3150
|
+
# })
|
3151
|
+
#
|
3152
|
+
# @example Response structure
|
3153
|
+
#
|
3154
|
+
# resp.direct_connect_gateway_association.direct_connect_gateway_id #=> String
|
3155
|
+
# resp.direct_connect_gateway_association.direct_connect_gateway_owner_account #=> String
|
3156
|
+
# resp.direct_connect_gateway_association.association_state #=> String, one of "associating", "associated", "disassociating", "disassociated", "updating"
|
3157
|
+
# resp.direct_connect_gateway_association.state_change_error #=> String
|
3158
|
+
# resp.direct_connect_gateway_association.associated_gateway.id #=> String
|
3159
|
+
# resp.direct_connect_gateway_association.associated_gateway.type #=> String, one of "virtualPrivateGateway"
|
3160
|
+
# resp.direct_connect_gateway_association.associated_gateway.owner_account #=> String
|
3161
|
+
# resp.direct_connect_gateway_association.associated_gateway.region #=> String
|
3162
|
+
# resp.direct_connect_gateway_association.association_id #=> String
|
3163
|
+
# resp.direct_connect_gateway_association.allowed_prefixes_to_direct_connect_gateway #=> Array
|
3164
|
+
# resp.direct_connect_gateway_association.allowed_prefixes_to_direct_connect_gateway[0].cidr #=> String
|
3165
|
+
# resp.direct_connect_gateway_association.virtual_gateway_id #=> String
|
3166
|
+
# resp.direct_connect_gateway_association.virtual_gateway_region #=> String
|
3167
|
+
# resp.direct_connect_gateway_association.virtual_gateway_owner_account #=> String
|
3168
|
+
#
|
3169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateDirectConnectGatewayAssociation AWS API Documentation
|
3170
|
+
#
|
3171
|
+
# @overload update_direct_connect_gateway_association(params = {})
|
3172
|
+
# @param [Hash] params ({})
|
3173
|
+
def update_direct_connect_gateway_association(params = {}, options = {})
|
3174
|
+
req = build_request(:update_direct_connect_gateway_association, params)
|
3175
|
+
req.send_request(options)
|
3176
|
+
end
|
3177
|
+
|
2811
3178
|
# Updates the attributes of the specified link aggregation group (LAG).
|
2812
3179
|
#
|
2813
3180
|
# You can update the following attributes:
|
@@ -3013,7 +3380,7 @@ module Aws::DirectConnect
|
|
3013
3380
|
params: params,
|
3014
3381
|
config: config)
|
3015
3382
|
context[:gem_name] = 'aws-sdk-directconnect'
|
3016
|
-
context[:gem_version] = '1.
|
3383
|
+
context[:gem_version] = '1.16.0'
|
3017
3384
|
Seahorse::Client::Request.new(handlers, context)
|
3018
3385
|
end
|
3019
3386
|
|