aws-sdk-directconnect 1.36.0 → 1.41.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/CHANGELOG.md +288 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-directconnect.rb +2 -2
- data/lib/aws-sdk-directconnect/client.rb +506 -45
- data/lib/aws-sdk-directconnect/client_api.rb +92 -1
- data/lib/aws-sdk-directconnect/customizations.rb +1 -1
- data/lib/aws-sdk-directconnect/errors.rb +1 -1
- data/lib/aws-sdk-directconnect/resource.rb +1 -1
- data/lib/aws-sdk-directconnect/types.rb +323 -18
- metadata +10 -7
data/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.41.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-directconnect/customizations'
|
|
|
48
48
|
# @!group service
|
|
49
49
|
module Aws::DirectConnect
|
|
50
50
|
|
|
51
|
-
GEM_VERSION = '1.
|
|
51
|
+
GEM_VERSION = '1.41.0'
|
|
52
52
|
|
|
53
53
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -455,6 +455,10 @@ module Aws::DirectConnect
|
|
|
455
455
|
# * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
|
|
456
456
|
# * {Types::Connection#tags #tags} => Array<Types::Tag>
|
|
457
457
|
# * {Types::Connection#provider_name #provider_name} => String
|
|
458
|
+
# * {Types::Connection#mac_sec_capable #mac_sec_capable} => Boolean
|
|
459
|
+
# * {Types::Connection#port_encryption_status #port_encryption_status} => String
|
|
460
|
+
# * {Types::Connection#encryption_mode #encryption_mode} => String
|
|
461
|
+
# * {Types::Connection#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
458
462
|
#
|
|
459
463
|
# @example Request syntax with placeholder values
|
|
460
464
|
#
|
|
@@ -487,6 +491,14 @@ module Aws::DirectConnect
|
|
|
487
491
|
# resp.tags[0].key #=> String
|
|
488
492
|
# resp.tags[0].value #=> String
|
|
489
493
|
# resp.provider_name #=> String
|
|
494
|
+
# resp.mac_sec_capable #=> Boolean
|
|
495
|
+
# resp.port_encryption_status #=> String
|
|
496
|
+
# resp.encryption_mode #=> String
|
|
497
|
+
# resp.mac_sec_keys #=> Array
|
|
498
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
499
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
500
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
501
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
490
502
|
#
|
|
491
503
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnect AWS API Documentation
|
|
492
504
|
#
|
|
@@ -551,6 +563,10 @@ module Aws::DirectConnect
|
|
|
551
563
|
# * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
|
|
552
564
|
# * {Types::Connection#tags #tags} => Array<Types::Tag>
|
|
553
565
|
# * {Types::Connection#provider_name #provider_name} => String
|
|
566
|
+
# * {Types::Connection#mac_sec_capable #mac_sec_capable} => Boolean
|
|
567
|
+
# * {Types::Connection#port_encryption_status #port_encryption_status} => String
|
|
568
|
+
# * {Types::Connection#encryption_mode #encryption_mode} => String
|
|
569
|
+
# * {Types::Connection#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
554
570
|
#
|
|
555
571
|
# @example Request syntax with placeholder values
|
|
556
572
|
#
|
|
@@ -589,6 +605,14 @@ module Aws::DirectConnect
|
|
|
589
605
|
# resp.tags[0].key #=> String
|
|
590
606
|
# resp.tags[0].value #=> String
|
|
591
607
|
# resp.provider_name #=> String
|
|
608
|
+
# resp.mac_sec_capable #=> Boolean
|
|
609
|
+
# resp.port_encryption_status #=> String
|
|
610
|
+
# resp.encryption_mode #=> String
|
|
611
|
+
# resp.mac_sec_keys #=> Array
|
|
612
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
613
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
614
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
615
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
592
616
|
#
|
|
593
617
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnection AWS API Documentation
|
|
594
618
|
#
|
|
@@ -985,6 +1009,10 @@ module Aws::DirectConnect
|
|
|
985
1009
|
# * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
|
|
986
1010
|
# * {Types::Connection#tags #tags} => Array<Types::Tag>
|
|
987
1011
|
# * {Types::Connection#provider_name #provider_name} => String
|
|
1012
|
+
# * {Types::Connection#mac_sec_capable #mac_sec_capable} => Boolean
|
|
1013
|
+
# * {Types::Connection#port_encryption_status #port_encryption_status} => String
|
|
1014
|
+
# * {Types::Connection#encryption_mode #encryption_mode} => String
|
|
1015
|
+
# * {Types::Connection#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
988
1016
|
#
|
|
989
1017
|
# @example Request syntax with placeholder values
|
|
990
1018
|
#
|
|
@@ -1014,6 +1042,14 @@ module Aws::DirectConnect
|
|
|
1014
1042
|
# resp.tags[0].key #=> String
|
|
1015
1043
|
# resp.tags[0].value #=> String
|
|
1016
1044
|
# resp.provider_name #=> String
|
|
1045
|
+
# resp.mac_sec_capable #=> Boolean
|
|
1046
|
+
# resp.port_encryption_status #=> String
|
|
1047
|
+
# resp.encryption_mode #=> String
|
|
1048
|
+
# resp.mac_sec_keys #=> Array
|
|
1049
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
1050
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
1051
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
1052
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
1017
1053
|
#
|
|
1018
1054
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLag AWS API Documentation
|
|
1019
1055
|
#
|
|
@@ -1059,6 +1095,10 @@ module Aws::DirectConnect
|
|
|
1059
1095
|
# * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
|
|
1060
1096
|
# * {Types::Connection#tags #tags} => Array<Types::Tag>
|
|
1061
1097
|
# * {Types::Connection#provider_name #provider_name} => String
|
|
1098
|
+
# * {Types::Connection#mac_sec_capable #mac_sec_capable} => Boolean
|
|
1099
|
+
# * {Types::Connection#port_encryption_status #port_encryption_status} => String
|
|
1100
|
+
# * {Types::Connection#encryption_mode #encryption_mode} => String
|
|
1101
|
+
# * {Types::Connection#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
1062
1102
|
#
|
|
1063
1103
|
# @example Request syntax with placeholder values
|
|
1064
1104
|
#
|
|
@@ -1088,6 +1128,14 @@ module Aws::DirectConnect
|
|
|
1088
1128
|
# resp.tags[0].key #=> String
|
|
1089
1129
|
# resp.tags[0].value #=> String
|
|
1090
1130
|
# resp.provider_name #=> String
|
|
1131
|
+
# resp.mac_sec_capable #=> Boolean
|
|
1132
|
+
# resp.port_encryption_status #=> String
|
|
1133
|
+
# resp.encryption_mode #=> String
|
|
1134
|
+
# resp.mac_sec_keys #=> Array
|
|
1135
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
1136
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
1137
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
1138
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
1091
1139
|
#
|
|
1092
1140
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnection AWS API Documentation
|
|
1093
1141
|
#
|
|
@@ -1098,6 +1146,92 @@ module Aws::DirectConnect
|
|
|
1098
1146
|
req.send_request(options)
|
|
1099
1147
|
end
|
|
1100
1148
|
|
|
1149
|
+
# Associates a MAC Security (MACsec) Connection Key Name (CKN)/
|
|
1150
|
+
# Connectivity Association Key (CAK) pair with an AWS Direct Connect
|
|
1151
|
+
# dedicated connection.
|
|
1152
|
+
#
|
|
1153
|
+
# You must supply either the `secretARN,` or the CKN/CAK (`ckn` and
|
|
1154
|
+
# `cak`) pair in the request.
|
|
1155
|
+
#
|
|
1156
|
+
# For information about MAC Security (MACsec) key considerations, see
|
|
1157
|
+
# [MACsec pre-shared CKN/CAK key considerations ][1] in the *AWS Direct
|
|
1158
|
+
# Connect User Guide*.
|
|
1159
|
+
#
|
|
1160
|
+
#
|
|
1161
|
+
#
|
|
1162
|
+
# [1]: https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-key-consideration
|
|
1163
|
+
#
|
|
1164
|
+
# @option params [required, String] :connection_id
|
|
1165
|
+
# The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG
|
|
1166
|
+
# (dxlag-xxxx).
|
|
1167
|
+
#
|
|
1168
|
+
# You can use DescribeConnections or DescribeLags to retrieve connection
|
|
1169
|
+
# ID.
|
|
1170
|
+
#
|
|
1171
|
+
# @option params [String] :secret_arn
|
|
1172
|
+
# The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key
|
|
1173
|
+
# to associate with the dedicated connection.
|
|
1174
|
+
#
|
|
1175
|
+
# You can use DescribeConnections or DescribeLags to retrieve the MAC
|
|
1176
|
+
# Security (MACsec) secret key.
|
|
1177
|
+
#
|
|
1178
|
+
# If you use this request parameter, you do not use the `ckn` and `cak`
|
|
1179
|
+
# request parameters.
|
|
1180
|
+
#
|
|
1181
|
+
# @option params [String] :ckn
|
|
1182
|
+
# The MAC Security (MACsec) CKN to associate with the dedicated
|
|
1183
|
+
# connection.
|
|
1184
|
+
#
|
|
1185
|
+
# You can create the CKN/CAK pair using an industry standard tool.
|
|
1186
|
+
#
|
|
1187
|
+
# The valid values are 64 hexadecimal characters (0-9, A-E).
|
|
1188
|
+
#
|
|
1189
|
+
# If you use this request parameter, you must use the `cak` request
|
|
1190
|
+
# parameter and not use the `secretARN` request parameter.
|
|
1191
|
+
#
|
|
1192
|
+
# @option params [String] :cak
|
|
1193
|
+
# The MAC Security (MACsec) CAK to associate with the dedicated
|
|
1194
|
+
# connection.
|
|
1195
|
+
#
|
|
1196
|
+
# You can create the CKN/CAK pair using an industry standard tool.
|
|
1197
|
+
#
|
|
1198
|
+
# The valid values are 64 hexadecimal characters (0-9, A-E).
|
|
1199
|
+
#
|
|
1200
|
+
# If you use this request parameter, you must use the `ckn` request
|
|
1201
|
+
# parameter and not use the `secretARN` request parameter.
|
|
1202
|
+
#
|
|
1203
|
+
# @return [Types::AssociateMacSecKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1204
|
+
#
|
|
1205
|
+
# * {Types::AssociateMacSecKeyResponse#connection_id #connection_id} => String
|
|
1206
|
+
# * {Types::AssociateMacSecKeyResponse#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
1207
|
+
#
|
|
1208
|
+
# @example Request syntax with placeholder values
|
|
1209
|
+
#
|
|
1210
|
+
# resp = client.associate_mac_sec_key({
|
|
1211
|
+
# connection_id: "ConnectionId", # required
|
|
1212
|
+
# secret_arn: "SecretARN",
|
|
1213
|
+
# ckn: "Ckn",
|
|
1214
|
+
# cak: "Cak",
|
|
1215
|
+
# })
|
|
1216
|
+
#
|
|
1217
|
+
# @example Response structure
|
|
1218
|
+
#
|
|
1219
|
+
# resp.connection_id #=> String
|
|
1220
|
+
# resp.mac_sec_keys #=> Array
|
|
1221
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
1222
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
1223
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
1224
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
1225
|
+
#
|
|
1226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateMacSecKey AWS API Documentation
|
|
1227
|
+
#
|
|
1228
|
+
# @overload associate_mac_sec_key(params = {})
|
|
1229
|
+
# @param [Hash] params ({})
|
|
1230
|
+
def associate_mac_sec_key(params = {}, options = {})
|
|
1231
|
+
req = build_request(:associate_mac_sec_key, params)
|
|
1232
|
+
req.send_request(options)
|
|
1233
|
+
end
|
|
1234
|
+
|
|
1101
1235
|
# Associates a virtual interface with a specified link aggregation group
|
|
1102
1236
|
# (LAG) or connection. Connectivity to AWS is temporarily interrupted as
|
|
1103
1237
|
# the virtual interface is being migrated. If the target connection or
|
|
@@ -1361,7 +1495,8 @@ module Aws::DirectConnect
|
|
|
1361
1495
|
# pool of IPv6 addresses; you cannot specify custom IPv6 addresses.
|
|
1362
1496
|
#
|
|
1363
1497
|
# For a public virtual interface, the Autonomous System Number (ASN)
|
|
1364
|
-
# must be private or already
|
|
1498
|
+
# must be private or already on the allow list for the virtual
|
|
1499
|
+
# interface.
|
|
1365
1500
|
#
|
|
1366
1501
|
# @option params [String] :virtual_interface_id
|
|
1367
1502
|
# The ID of the virtual interface.
|
|
@@ -1469,6 +1604,18 @@ module Aws::DirectConnect
|
|
|
1469
1604
|
# The name of the service provider associated with the requested
|
|
1470
1605
|
# connection.
|
|
1471
1606
|
#
|
|
1607
|
+
# @option params [Boolean] :request_mac_sec
|
|
1608
|
+
# Indicates whether you want the connection to support MAC Security
|
|
1609
|
+
# (MACsec).
|
|
1610
|
+
#
|
|
1611
|
+
# MAC Security (MACsec) is only available on dedicated connections. For
|
|
1612
|
+
# information about MAC Security (MACsec) prerequisties, see [MACsec
|
|
1613
|
+
# prerequisties][1] in the *AWS Direct Connect User Guide*.
|
|
1614
|
+
#
|
|
1615
|
+
#
|
|
1616
|
+
#
|
|
1617
|
+
# [1]: https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites
|
|
1618
|
+
#
|
|
1472
1619
|
# @return [Types::Connection] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1473
1620
|
#
|
|
1474
1621
|
# * {Types::Connection#owner_account #owner_account} => String
|
|
@@ -1488,6 +1635,10 @@ module Aws::DirectConnect
|
|
|
1488
1635
|
# * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
|
|
1489
1636
|
# * {Types::Connection#tags #tags} => Array<Types::Tag>
|
|
1490
1637
|
# * {Types::Connection#provider_name #provider_name} => String
|
|
1638
|
+
# * {Types::Connection#mac_sec_capable #mac_sec_capable} => Boolean
|
|
1639
|
+
# * {Types::Connection#port_encryption_status #port_encryption_status} => String
|
|
1640
|
+
# * {Types::Connection#encryption_mode #encryption_mode} => String
|
|
1641
|
+
# * {Types::Connection#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
1491
1642
|
#
|
|
1492
1643
|
# @example Request syntax with placeholder values
|
|
1493
1644
|
#
|
|
@@ -1503,6 +1654,7 @@ module Aws::DirectConnect
|
|
|
1503
1654
|
# },
|
|
1504
1655
|
# ],
|
|
1505
1656
|
# provider_name: "ProviderName",
|
|
1657
|
+
# request_mac_sec: false,
|
|
1506
1658
|
# })
|
|
1507
1659
|
#
|
|
1508
1660
|
# @example Response structure
|
|
@@ -1526,6 +1678,14 @@ module Aws::DirectConnect
|
|
|
1526
1678
|
# resp.tags[0].key #=> String
|
|
1527
1679
|
# resp.tags[0].value #=> String
|
|
1528
1680
|
# resp.provider_name #=> String
|
|
1681
|
+
# resp.mac_sec_capable #=> Boolean
|
|
1682
|
+
# resp.port_encryption_status #=> String
|
|
1683
|
+
# resp.encryption_mode #=> String
|
|
1684
|
+
# resp.mac_sec_keys #=> Array
|
|
1685
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
1686
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
1687
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
1688
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
1529
1689
|
#
|
|
1530
1690
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnection AWS API Documentation
|
|
1531
1691
|
#
|
|
@@ -1828,26 +1988,28 @@ module Aws::DirectConnect
|
|
|
1828
1988
|
end
|
|
1829
1989
|
|
|
1830
1990
|
# Creates a link aggregation group (LAG) with the specified number of
|
|
1831
|
-
# bundled physical connections between the customer network
|
|
1832
|
-
# specific AWS Direct Connect location. A LAG is a logical
|
|
1833
|
-
# that uses the Link Aggregation Control Protocol (LACP) to
|
|
1834
|
-
# multiple interfaces, enabling you to treat them as a single
|
|
1835
|
-
#
|
|
1836
|
-
#
|
|
1837
|
-
#
|
|
1838
|
-
#
|
|
1839
|
-
#
|
|
1840
|
-
#
|
|
1841
|
-
#
|
|
1842
|
-
#
|
|
1843
|
-
#
|
|
1844
|
-
#
|
|
1845
|
-
#
|
|
1846
|
-
#
|
|
1991
|
+
# bundled physical dedicated connections between the customer network
|
|
1992
|
+
# and a specific AWS Direct Connect location. A LAG is a logical
|
|
1993
|
+
# interface that uses the Link Aggregation Control Protocol (LACP) to
|
|
1994
|
+
# aggregate multiple interfaces, enabling you to treat them as a single
|
|
1995
|
+
# interface.
|
|
1996
|
+
#
|
|
1997
|
+
# All connections in a LAG must use the same bandwidth (either 1Gbps or
|
|
1998
|
+
# 10Gbps) and must terminate at the same AWS Direct Connect endpoint.
|
|
1999
|
+
#
|
|
2000
|
+
# You can have up to 10 dedicated connections per LAG. Regardless of
|
|
2001
|
+
# this limit, if you request more connections for the LAG than AWS
|
|
2002
|
+
# Direct Connect can allocate on a single endpoint, no LAG is created.
|
|
2003
|
+
#
|
|
2004
|
+
# You can specify an existing physical dedicated connection or
|
|
2005
|
+
# interconnect to include in the LAG (which counts towards the total
|
|
2006
|
+
# number of connections). Doing so interrupts the current physical
|
|
2007
|
+
# dedicated connection, and re-establishes them as a member of the LAG.
|
|
1847
2008
|
# The LAG will be created on the same AWS Direct Connect endpoint to
|
|
1848
|
-
# which the connection terminates. Any virtual interfaces
|
|
1849
|
-
# with the connection are automatically
|
|
1850
|
-
# with the LAG. The connection ID does
|
|
2009
|
+
# which the dedicated connection terminates. Any virtual interfaces
|
|
2010
|
+
# associated with the dedicated connection are automatically
|
|
2011
|
+
# disassociated and re-associated with the LAG. The connection ID does
|
|
2012
|
+
# not change.
|
|
1851
2013
|
#
|
|
1852
2014
|
# If the AWS account used to create a LAG is a registered AWS Direct
|
|
1853
2015
|
# Connect Partner, the LAG is automatically enabled to host
|
|
@@ -1855,22 +2017,21 @@ module Aws::DirectConnect
|
|
|
1855
2017
|
# interfaces cannot be directly configured.
|
|
1856
2018
|
#
|
|
1857
2019
|
# @option params [required, Integer] :number_of_connections
|
|
1858
|
-
# The number of physical connections initially provisioned and
|
|
1859
|
-
# by the LAG.
|
|
2020
|
+
# The number of physical dedicated connections initially provisioned and
|
|
2021
|
+
# bundled by the LAG.
|
|
1860
2022
|
#
|
|
1861
2023
|
# @option params [required, String] :location
|
|
1862
2024
|
# The location for the LAG.
|
|
1863
2025
|
#
|
|
1864
2026
|
# @option params [required, String] :connections_bandwidth
|
|
1865
|
-
# The bandwidth of the individual physical connections bundled
|
|
1866
|
-
# LAG. The possible values are
|
|
1867
|
-
# 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps.
|
|
2027
|
+
# The bandwidth of the individual physical dedicated connections bundled
|
|
2028
|
+
# by the LAG. The possible values are 1Gbps and 10Gbps.
|
|
1868
2029
|
#
|
|
1869
2030
|
# @option params [required, String] :lag_name
|
|
1870
2031
|
# The name of the LAG.
|
|
1871
2032
|
#
|
|
1872
2033
|
# @option params [String] :connection_id
|
|
1873
|
-
# The ID of an existing connection to migrate to the LAG.
|
|
2034
|
+
# The ID of an existing dedicated connection to migrate to the LAG.
|
|
1874
2035
|
#
|
|
1875
2036
|
# @option params [Array<Types::Tag>] :tags
|
|
1876
2037
|
# The tags to associate with the LAG.
|
|
@@ -1881,6 +2042,19 @@ module Aws::DirectConnect
|
|
|
1881
2042
|
# @option params [String] :provider_name
|
|
1882
2043
|
# The name of the service provider associated with the LAG.
|
|
1883
2044
|
#
|
|
2045
|
+
# @option params [Boolean] :request_mac_sec
|
|
2046
|
+
# Indicates whether the connection will support MAC Security (MACsec).
|
|
2047
|
+
#
|
|
2048
|
+
# <note markdown="1"> All connections in the LAG must be capable of supporting MAC Security
|
|
2049
|
+
# (MACsec). For information about MAC Security (MACsec) prerequisties,
|
|
2050
|
+
# see [MACsec prerequisties][1] in the *AWS Direct Connect User Guide*.
|
|
2051
|
+
#
|
|
2052
|
+
# </note>
|
|
2053
|
+
#
|
|
2054
|
+
#
|
|
2055
|
+
#
|
|
2056
|
+
# [1]: https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites
|
|
2057
|
+
#
|
|
1884
2058
|
# @return [Types::Lag] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1885
2059
|
#
|
|
1886
2060
|
# * {Types::Lag#connections_bandwidth #connections_bandwidth} => String
|
|
@@ -1900,6 +2074,9 @@ module Aws::DirectConnect
|
|
|
1900
2074
|
# * {Types::Lag#has_logical_redundancy #has_logical_redundancy} => String
|
|
1901
2075
|
# * {Types::Lag#tags #tags} => Array<Types::Tag>
|
|
1902
2076
|
# * {Types::Lag#provider_name #provider_name} => String
|
|
2077
|
+
# * {Types::Lag#mac_sec_capable #mac_sec_capable} => Boolean
|
|
2078
|
+
# * {Types::Lag#encryption_mode #encryption_mode} => String
|
|
2079
|
+
# * {Types::Lag#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
1903
2080
|
#
|
|
1904
2081
|
# @example Request syntax with placeholder values
|
|
1905
2082
|
#
|
|
@@ -1922,6 +2099,7 @@ module Aws::DirectConnect
|
|
|
1922
2099
|
# },
|
|
1923
2100
|
# ],
|
|
1924
2101
|
# provider_name: "ProviderName",
|
|
2102
|
+
# request_mac_sec: false,
|
|
1925
2103
|
# })
|
|
1926
2104
|
#
|
|
1927
2105
|
# @example Response structure
|
|
@@ -1957,6 +2135,14 @@ module Aws::DirectConnect
|
|
|
1957
2135
|
# resp.connections[0].tags[0].key #=> String
|
|
1958
2136
|
# resp.connections[0].tags[0].value #=> String
|
|
1959
2137
|
# resp.connections[0].provider_name #=> String
|
|
2138
|
+
# resp.connections[0].mac_sec_capable #=> Boolean
|
|
2139
|
+
# resp.connections[0].port_encryption_status #=> String
|
|
2140
|
+
# resp.connections[0].encryption_mode #=> String
|
|
2141
|
+
# resp.connections[0].mac_sec_keys #=> Array
|
|
2142
|
+
# resp.connections[0].mac_sec_keys[0].secret_arn #=> String
|
|
2143
|
+
# resp.connections[0].mac_sec_keys[0].ckn #=> String
|
|
2144
|
+
# resp.connections[0].mac_sec_keys[0].state #=> String
|
|
2145
|
+
# resp.connections[0].mac_sec_keys[0].start_on #=> String
|
|
1960
2146
|
# resp.allows_hosted_connections #=> Boolean
|
|
1961
2147
|
# resp.jumbo_frame_capable #=> Boolean
|
|
1962
2148
|
# resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no"
|
|
@@ -1964,6 +2150,13 @@ module Aws::DirectConnect
|
|
|
1964
2150
|
# resp.tags[0].key #=> String
|
|
1965
2151
|
# resp.tags[0].value #=> String
|
|
1966
2152
|
# resp.provider_name #=> String
|
|
2153
|
+
# resp.mac_sec_capable #=> Boolean
|
|
2154
|
+
# resp.encryption_mode #=> String
|
|
2155
|
+
# resp.mac_sec_keys #=> Array
|
|
2156
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
2157
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
2158
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
2159
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
1967
2160
|
#
|
|
1968
2161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLag AWS API Documentation
|
|
1969
2162
|
#
|
|
@@ -2422,6 +2615,10 @@ module Aws::DirectConnect
|
|
|
2422
2615
|
# * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
|
|
2423
2616
|
# * {Types::Connection#tags #tags} => Array<Types::Tag>
|
|
2424
2617
|
# * {Types::Connection#provider_name #provider_name} => String
|
|
2618
|
+
# * {Types::Connection#mac_sec_capable #mac_sec_capable} => Boolean
|
|
2619
|
+
# * {Types::Connection#port_encryption_status #port_encryption_status} => String
|
|
2620
|
+
# * {Types::Connection#encryption_mode #encryption_mode} => String
|
|
2621
|
+
# * {Types::Connection#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
2425
2622
|
#
|
|
2426
2623
|
# @example Request syntax with placeholder values
|
|
2427
2624
|
#
|
|
@@ -2450,6 +2647,14 @@ module Aws::DirectConnect
|
|
|
2450
2647
|
# resp.tags[0].key #=> String
|
|
2451
2648
|
# resp.tags[0].value #=> String
|
|
2452
2649
|
# resp.provider_name #=> String
|
|
2650
|
+
# resp.mac_sec_capable #=> Boolean
|
|
2651
|
+
# resp.port_encryption_status #=> String
|
|
2652
|
+
# resp.encryption_mode #=> String
|
|
2653
|
+
# resp.mac_sec_keys #=> Array
|
|
2654
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
2655
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
2656
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
2657
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
2453
2658
|
#
|
|
2454
2659
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnection AWS API Documentation
|
|
2455
2660
|
#
|
|
@@ -2648,6 +2853,9 @@ module Aws::DirectConnect
|
|
|
2648
2853
|
# * {Types::Lag#has_logical_redundancy #has_logical_redundancy} => String
|
|
2649
2854
|
# * {Types::Lag#tags #tags} => Array<Types::Tag>
|
|
2650
2855
|
# * {Types::Lag#provider_name #provider_name} => String
|
|
2856
|
+
# * {Types::Lag#mac_sec_capable #mac_sec_capable} => Boolean
|
|
2857
|
+
# * {Types::Lag#encryption_mode #encryption_mode} => String
|
|
2858
|
+
# * {Types::Lag#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
2651
2859
|
#
|
|
2652
2860
|
# @example Request syntax with placeholder values
|
|
2653
2861
|
#
|
|
@@ -2688,6 +2896,14 @@ module Aws::DirectConnect
|
|
|
2688
2896
|
# resp.connections[0].tags[0].key #=> String
|
|
2689
2897
|
# resp.connections[0].tags[0].value #=> String
|
|
2690
2898
|
# resp.connections[0].provider_name #=> String
|
|
2899
|
+
# resp.connections[0].mac_sec_capable #=> Boolean
|
|
2900
|
+
# resp.connections[0].port_encryption_status #=> String
|
|
2901
|
+
# resp.connections[0].encryption_mode #=> String
|
|
2902
|
+
# resp.connections[0].mac_sec_keys #=> Array
|
|
2903
|
+
# resp.connections[0].mac_sec_keys[0].secret_arn #=> String
|
|
2904
|
+
# resp.connections[0].mac_sec_keys[0].ckn #=> String
|
|
2905
|
+
# resp.connections[0].mac_sec_keys[0].state #=> String
|
|
2906
|
+
# resp.connections[0].mac_sec_keys[0].start_on #=> String
|
|
2691
2907
|
# resp.allows_hosted_connections #=> Boolean
|
|
2692
2908
|
# resp.jumbo_frame_capable #=> Boolean
|
|
2693
2909
|
# resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no"
|
|
@@ -2695,6 +2911,13 @@ module Aws::DirectConnect
|
|
|
2695
2911
|
# resp.tags[0].key #=> String
|
|
2696
2912
|
# resp.tags[0].value #=> String
|
|
2697
2913
|
# resp.provider_name #=> String
|
|
2914
|
+
# resp.mac_sec_capable #=> Boolean
|
|
2915
|
+
# resp.encryption_mode #=> String
|
|
2916
|
+
# resp.mac_sec_keys #=> Array
|
|
2917
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
2918
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
2919
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
2920
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
2698
2921
|
#
|
|
2699
2922
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLag AWS API Documentation
|
|
2700
2923
|
#
|
|
@@ -2823,6 +3046,14 @@ module Aws::DirectConnect
|
|
|
2823
3046
|
# resp.connections[0].tags[0].key #=> String
|
|
2824
3047
|
# resp.connections[0].tags[0].value #=> String
|
|
2825
3048
|
# resp.connections[0].provider_name #=> String
|
|
3049
|
+
# resp.connections[0].mac_sec_capable #=> Boolean
|
|
3050
|
+
# resp.connections[0].port_encryption_status #=> String
|
|
3051
|
+
# resp.connections[0].encryption_mode #=> String
|
|
3052
|
+
# resp.connections[0].mac_sec_keys #=> Array
|
|
3053
|
+
# resp.connections[0].mac_sec_keys[0].secret_arn #=> String
|
|
3054
|
+
# resp.connections[0].mac_sec_keys[0].ckn #=> String
|
|
3055
|
+
# resp.connections[0].mac_sec_keys[0].state #=> String
|
|
3056
|
+
# resp.connections[0].mac_sec_keys[0].start_on #=> String
|
|
2826
3057
|
#
|
|
2827
3058
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnections AWS API Documentation
|
|
2828
3059
|
#
|
|
@@ -2877,6 +3108,14 @@ module Aws::DirectConnect
|
|
|
2877
3108
|
# resp.connections[0].tags[0].key #=> String
|
|
2878
3109
|
# resp.connections[0].tags[0].value #=> String
|
|
2879
3110
|
# resp.connections[0].provider_name #=> String
|
|
3111
|
+
# resp.connections[0].mac_sec_capable #=> Boolean
|
|
3112
|
+
# resp.connections[0].port_encryption_status #=> String
|
|
3113
|
+
# resp.connections[0].encryption_mode #=> String
|
|
3114
|
+
# resp.connections[0].mac_sec_keys #=> Array
|
|
3115
|
+
# resp.connections[0].mac_sec_keys[0].secret_arn #=> String
|
|
3116
|
+
# resp.connections[0].mac_sec_keys[0].ckn #=> String
|
|
3117
|
+
# resp.connections[0].mac_sec_keys[0].state #=> String
|
|
3118
|
+
# resp.connections[0].mac_sec_keys[0].start_on #=> String
|
|
2880
3119
|
#
|
|
2881
3120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnect AWS API Documentation
|
|
2882
3121
|
#
|
|
@@ -2953,14 +3192,31 @@ module Aws::DirectConnect
|
|
|
2953
3192
|
end
|
|
2954
3193
|
|
|
2955
3194
|
# Lists the associations between your Direct Connect gateways and
|
|
2956
|
-
# virtual private gateways. You must specify
|
|
2957
|
-
#
|
|
2958
|
-
#
|
|
2959
|
-
#
|
|
2960
|
-
#
|
|
2961
|
-
#
|
|
2962
|
-
#
|
|
2963
|
-
#
|
|
3195
|
+
# virtual private gateways and transit gateways. You must specify one of
|
|
3196
|
+
# the following:
|
|
3197
|
+
#
|
|
3198
|
+
# * A Direct Connect gateway
|
|
3199
|
+
#
|
|
3200
|
+
# The response contains all virtual private gateways and transit
|
|
3201
|
+
# gateways associated with the Direct Connect gateway.
|
|
3202
|
+
#
|
|
3203
|
+
# * A virtual private gateway
|
|
3204
|
+
#
|
|
3205
|
+
# The response contains the Direct Connect gateway.
|
|
3206
|
+
#
|
|
3207
|
+
# * A transit gateway
|
|
3208
|
+
#
|
|
3209
|
+
# The response contains the Direct Connect gateway.
|
|
3210
|
+
#
|
|
3211
|
+
# * A Direct Connect gateway and a virtual private gateway
|
|
3212
|
+
#
|
|
3213
|
+
# The response contains the association between the Direct Connect
|
|
3214
|
+
# gateway and virtual private gateway.
|
|
3215
|
+
#
|
|
3216
|
+
# * A Direct Connect gateway and a transit gateway
|
|
3217
|
+
#
|
|
3218
|
+
# The response contains the association between the Direct Connect
|
|
3219
|
+
# gateway and transit gateway.
|
|
2964
3220
|
#
|
|
2965
3221
|
# @option params [String] :association_id
|
|
2966
3222
|
# The ID of the Direct Connect gateway association.
|
|
@@ -2983,7 +3239,7 @@ module Aws::DirectConnect
|
|
|
2983
3239
|
# The token provided in the previous call to retrieve the next page.
|
|
2984
3240
|
#
|
|
2985
3241
|
# @option params [String] :virtual_gateway_id
|
|
2986
|
-
# The ID of the virtual private gateway.
|
|
3242
|
+
# The ID of the virtual private gateway or transit gateway.
|
|
2987
3243
|
#
|
|
2988
3244
|
# @return [Types::DescribeDirectConnectGatewayAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2989
3245
|
#
|
|
@@ -3182,6 +3438,14 @@ module Aws::DirectConnect
|
|
|
3182
3438
|
# resp.connections[0].tags[0].key #=> String
|
|
3183
3439
|
# resp.connections[0].tags[0].value #=> String
|
|
3184
3440
|
# resp.connections[0].provider_name #=> String
|
|
3441
|
+
# resp.connections[0].mac_sec_capable #=> Boolean
|
|
3442
|
+
# resp.connections[0].port_encryption_status #=> String
|
|
3443
|
+
# resp.connections[0].encryption_mode #=> String
|
|
3444
|
+
# resp.connections[0].mac_sec_keys #=> Array
|
|
3445
|
+
# resp.connections[0].mac_sec_keys[0].secret_arn #=> String
|
|
3446
|
+
# resp.connections[0].mac_sec_keys[0].ckn #=> String
|
|
3447
|
+
# resp.connections[0].mac_sec_keys[0].state #=> String
|
|
3448
|
+
# resp.connections[0].mac_sec_keys[0].start_on #=> String
|
|
3185
3449
|
#
|
|
3186
3450
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnections AWS API Documentation
|
|
3187
3451
|
#
|
|
@@ -3339,6 +3603,14 @@ module Aws::DirectConnect
|
|
|
3339
3603
|
# resp.lags[0].connections[0].tags[0].key #=> String
|
|
3340
3604
|
# resp.lags[0].connections[0].tags[0].value #=> String
|
|
3341
3605
|
# resp.lags[0].connections[0].provider_name #=> String
|
|
3606
|
+
# resp.lags[0].connections[0].mac_sec_capable #=> Boolean
|
|
3607
|
+
# resp.lags[0].connections[0].port_encryption_status #=> String
|
|
3608
|
+
# resp.lags[0].connections[0].encryption_mode #=> String
|
|
3609
|
+
# resp.lags[0].connections[0].mac_sec_keys #=> Array
|
|
3610
|
+
# resp.lags[0].connections[0].mac_sec_keys[0].secret_arn #=> String
|
|
3611
|
+
# resp.lags[0].connections[0].mac_sec_keys[0].ckn #=> String
|
|
3612
|
+
# resp.lags[0].connections[0].mac_sec_keys[0].state #=> String
|
|
3613
|
+
# resp.lags[0].connections[0].mac_sec_keys[0].start_on #=> String
|
|
3342
3614
|
# resp.lags[0].allows_hosted_connections #=> Boolean
|
|
3343
3615
|
# resp.lags[0].jumbo_frame_capable #=> Boolean
|
|
3344
3616
|
# resp.lags[0].has_logical_redundancy #=> String, one of "unknown", "yes", "no"
|
|
@@ -3346,6 +3618,13 @@ module Aws::DirectConnect
|
|
|
3346
3618
|
# resp.lags[0].tags[0].key #=> String
|
|
3347
3619
|
# resp.lags[0].tags[0].value #=> String
|
|
3348
3620
|
# resp.lags[0].provider_name #=> String
|
|
3621
|
+
# resp.lags[0].mac_sec_capable #=> Boolean
|
|
3622
|
+
# resp.lags[0].encryption_mode #=> String
|
|
3623
|
+
# resp.lags[0].mac_sec_keys #=> Array
|
|
3624
|
+
# resp.lags[0].mac_sec_keys[0].secret_arn #=> String
|
|
3625
|
+
# resp.lags[0].mac_sec_keys[0].ckn #=> String
|
|
3626
|
+
# resp.lags[0].mac_sec_keys[0].state #=> String
|
|
3627
|
+
# resp.lags[0].mac_sec_keys[0].start_on #=> String
|
|
3349
3628
|
#
|
|
3350
3629
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLags AWS API Documentation
|
|
3351
3630
|
#
|
|
@@ -3427,6 +3706,8 @@ module Aws::DirectConnect
|
|
|
3427
3706
|
# resp.locations[0].available_port_speeds[0] #=> String
|
|
3428
3707
|
# resp.locations[0].available_providers #=> Array
|
|
3429
3708
|
# resp.locations[0].available_providers[0] #=> String
|
|
3709
|
+
# resp.locations[0].available_mac_sec_port_speeds #=> Array
|
|
3710
|
+
# resp.locations[0].available_mac_sec_port_speeds[0] #=> String
|
|
3430
3711
|
#
|
|
3431
3712
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocations AWS API Documentation
|
|
3432
3713
|
#
|
|
@@ -3608,6 +3889,10 @@ module Aws::DirectConnect
|
|
|
3608
3889
|
# * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
|
|
3609
3890
|
# * {Types::Connection#tags #tags} => Array<Types::Tag>
|
|
3610
3891
|
# * {Types::Connection#provider_name #provider_name} => String
|
|
3892
|
+
# * {Types::Connection#mac_sec_capable #mac_sec_capable} => Boolean
|
|
3893
|
+
# * {Types::Connection#port_encryption_status #port_encryption_status} => String
|
|
3894
|
+
# * {Types::Connection#encryption_mode #encryption_mode} => String
|
|
3895
|
+
# * {Types::Connection#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
3611
3896
|
#
|
|
3612
3897
|
# @example Request syntax with placeholder values
|
|
3613
3898
|
#
|
|
@@ -3637,6 +3922,14 @@ module Aws::DirectConnect
|
|
|
3637
3922
|
# resp.tags[0].key #=> String
|
|
3638
3923
|
# resp.tags[0].value #=> String
|
|
3639
3924
|
# resp.provider_name #=> String
|
|
3925
|
+
# resp.mac_sec_capable #=> Boolean
|
|
3926
|
+
# resp.port_encryption_status #=> String
|
|
3927
|
+
# resp.encryption_mode #=> String
|
|
3928
|
+
# resp.mac_sec_keys #=> Array
|
|
3929
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
3930
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
3931
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
3932
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
3640
3933
|
#
|
|
3641
3934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLag AWS API Documentation
|
|
3642
3935
|
#
|
|
@@ -3647,6 +3940,53 @@ module Aws::DirectConnect
|
|
|
3647
3940
|
req.send_request(options)
|
|
3648
3941
|
end
|
|
3649
3942
|
|
|
3943
|
+
# Removes the association between a MAC Security (MACsec) security key
|
|
3944
|
+
# and an AWS Direct Connect dedicated connection.
|
|
3945
|
+
#
|
|
3946
|
+
# @option params [required, String] :connection_id
|
|
3947
|
+
# The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG
|
|
3948
|
+
# (dxlag-xxxx).
|
|
3949
|
+
#
|
|
3950
|
+
# You can use DescribeConnections or DescribeLags to retrieve connection
|
|
3951
|
+
# ID.
|
|
3952
|
+
#
|
|
3953
|
+
# @option params [required, String] :secret_arn
|
|
3954
|
+
# The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret
|
|
3955
|
+
# key.
|
|
3956
|
+
#
|
|
3957
|
+
# You can use DescribeConnections to retrieve the ARN of the MAC
|
|
3958
|
+
# Security (MACsec) secret key.
|
|
3959
|
+
#
|
|
3960
|
+
# @return [Types::DisassociateMacSecKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3961
|
+
#
|
|
3962
|
+
# * {Types::DisassociateMacSecKeyResponse#connection_id #connection_id} => String
|
|
3963
|
+
# * {Types::DisassociateMacSecKeyResponse#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
3964
|
+
#
|
|
3965
|
+
# @example Request syntax with placeholder values
|
|
3966
|
+
#
|
|
3967
|
+
# resp = client.disassociate_mac_sec_key({
|
|
3968
|
+
# connection_id: "ConnectionId", # required
|
|
3969
|
+
# secret_arn: "SecretARN", # required
|
|
3970
|
+
# })
|
|
3971
|
+
#
|
|
3972
|
+
# @example Response structure
|
|
3973
|
+
#
|
|
3974
|
+
# resp.connection_id #=> String
|
|
3975
|
+
# resp.mac_sec_keys #=> Array
|
|
3976
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
3977
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
3978
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
3979
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
3980
|
+
#
|
|
3981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateMacSecKey AWS API Documentation
|
|
3982
|
+
#
|
|
3983
|
+
# @overload disassociate_mac_sec_key(params = {})
|
|
3984
|
+
# @param [Hash] params ({})
|
|
3985
|
+
def disassociate_mac_sec_key(params = {}, options = {})
|
|
3986
|
+
req = build_request(:disassociate_mac_sec_key, params)
|
|
3987
|
+
req.send_request(options)
|
|
3988
|
+
end
|
|
3989
|
+
|
|
3650
3990
|
# Lists the virtual interface failover test history.
|
|
3651
3991
|
#
|
|
3652
3992
|
# @option params [String] :test_id
|
|
@@ -3877,6 +4217,99 @@ module Aws::DirectConnect
|
|
|
3877
4217
|
req.send_request(options)
|
|
3878
4218
|
end
|
|
3879
4219
|
|
|
4220
|
+
# Updates the AWS Direct Connect dedicated connection configuration.
|
|
4221
|
+
#
|
|
4222
|
+
# You can update the following parameters for a connection:
|
|
4223
|
+
#
|
|
4224
|
+
# * The connection name
|
|
4225
|
+
#
|
|
4226
|
+
# * The connection's MAC Security (MACsec) encryption mode.
|
|
4227
|
+
#
|
|
4228
|
+
# @option params [required, String] :connection_id
|
|
4229
|
+
# The ID of the dedicated connection.
|
|
4230
|
+
#
|
|
4231
|
+
# You can use DescribeConnections to retrieve the connection ID.
|
|
4232
|
+
#
|
|
4233
|
+
# @option params [String] :connection_name
|
|
4234
|
+
# The name of the connection.
|
|
4235
|
+
#
|
|
4236
|
+
# @option params [String] :encryption_mode
|
|
4237
|
+
# The connection MAC Security (MACsec) encryption mode.
|
|
4238
|
+
#
|
|
4239
|
+
# The valid values are `no_encrypt`, `should_encrypt`, and
|
|
4240
|
+
# `must_encrypt`.
|
|
4241
|
+
#
|
|
4242
|
+
# @return [Types::Connection] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4243
|
+
#
|
|
4244
|
+
# * {Types::Connection#owner_account #owner_account} => String
|
|
4245
|
+
# * {Types::Connection#connection_id #connection_id} => String
|
|
4246
|
+
# * {Types::Connection#connection_name #connection_name} => String
|
|
4247
|
+
# * {Types::Connection#connection_state #connection_state} => String
|
|
4248
|
+
# * {Types::Connection#region #region} => String
|
|
4249
|
+
# * {Types::Connection#location #location} => String
|
|
4250
|
+
# * {Types::Connection#bandwidth #bandwidth} => String
|
|
4251
|
+
# * {Types::Connection#vlan #vlan} => Integer
|
|
4252
|
+
# * {Types::Connection#partner_name #partner_name} => String
|
|
4253
|
+
# * {Types::Connection#loa_issue_time #loa_issue_time} => Time
|
|
4254
|
+
# * {Types::Connection#lag_id #lag_id} => String
|
|
4255
|
+
# * {Types::Connection#aws_device #aws_device} => String
|
|
4256
|
+
# * {Types::Connection#jumbo_frame_capable #jumbo_frame_capable} => Boolean
|
|
4257
|
+
# * {Types::Connection#aws_device_v2 #aws_device_v2} => String
|
|
4258
|
+
# * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
|
|
4259
|
+
# * {Types::Connection#tags #tags} => Array<Types::Tag>
|
|
4260
|
+
# * {Types::Connection#provider_name #provider_name} => String
|
|
4261
|
+
# * {Types::Connection#mac_sec_capable #mac_sec_capable} => Boolean
|
|
4262
|
+
# * {Types::Connection#port_encryption_status #port_encryption_status} => String
|
|
4263
|
+
# * {Types::Connection#encryption_mode #encryption_mode} => String
|
|
4264
|
+
# * {Types::Connection#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
4265
|
+
#
|
|
4266
|
+
# @example Request syntax with placeholder values
|
|
4267
|
+
#
|
|
4268
|
+
# resp = client.update_connection({
|
|
4269
|
+
# connection_id: "ConnectionId", # required
|
|
4270
|
+
# connection_name: "ConnectionName",
|
|
4271
|
+
# encryption_mode: "EncryptionMode",
|
|
4272
|
+
# })
|
|
4273
|
+
#
|
|
4274
|
+
# @example Response structure
|
|
4275
|
+
#
|
|
4276
|
+
# resp.owner_account #=> String
|
|
4277
|
+
# resp.connection_id #=> String
|
|
4278
|
+
# resp.connection_name #=> String
|
|
4279
|
+
# resp.connection_state #=> String, one of "ordering", "requested", "pending", "available", "down", "deleting", "deleted", "rejected", "unknown"
|
|
4280
|
+
# resp.region #=> String
|
|
4281
|
+
# resp.location #=> String
|
|
4282
|
+
# resp.bandwidth #=> String
|
|
4283
|
+
# resp.vlan #=> Integer
|
|
4284
|
+
# resp.partner_name #=> String
|
|
4285
|
+
# resp.loa_issue_time #=> Time
|
|
4286
|
+
# resp.lag_id #=> String
|
|
4287
|
+
# resp.aws_device #=> String
|
|
4288
|
+
# resp.jumbo_frame_capable #=> Boolean
|
|
4289
|
+
# resp.aws_device_v2 #=> String
|
|
4290
|
+
# resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no"
|
|
4291
|
+
# resp.tags #=> Array
|
|
4292
|
+
# resp.tags[0].key #=> String
|
|
4293
|
+
# resp.tags[0].value #=> String
|
|
4294
|
+
# resp.provider_name #=> String
|
|
4295
|
+
# resp.mac_sec_capable #=> Boolean
|
|
4296
|
+
# resp.port_encryption_status #=> String
|
|
4297
|
+
# resp.encryption_mode #=> String
|
|
4298
|
+
# resp.mac_sec_keys #=> Array
|
|
4299
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
4300
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
4301
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
4302
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
4303
|
+
#
|
|
4304
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateConnection AWS API Documentation
|
|
4305
|
+
#
|
|
4306
|
+
# @overload update_connection(params = {})
|
|
4307
|
+
# @param [Hash] params ({})
|
|
4308
|
+
def update_connection(params = {}, options = {})
|
|
4309
|
+
req = build_request(:update_connection, params)
|
|
4310
|
+
req.send_request(options)
|
|
4311
|
+
end
|
|
4312
|
+
|
|
3880
4313
|
# Updates the specified attributes of the Direct Connect gateway
|
|
3881
4314
|
# association.
|
|
3882
4315
|
#
|
|
@@ -3940,20 +4373,24 @@ module Aws::DirectConnect
|
|
|
3940
4373
|
|
|
3941
4374
|
# Updates the attributes of the specified link aggregation group (LAG).
|
|
3942
4375
|
#
|
|
3943
|
-
# You can update the following attributes:
|
|
4376
|
+
# You can update the following LAG attributes:
|
|
3944
4377
|
#
|
|
3945
4378
|
# * The name of the LAG.
|
|
3946
4379
|
#
|
|
3947
4380
|
# * The value for the minimum number of connections that must be
|
|
3948
4381
|
# operational for the LAG itself to be operational.
|
|
3949
4382
|
#
|
|
3950
|
-
#
|
|
3951
|
-
#
|
|
3952
|
-
#
|
|
3953
|
-
#
|
|
3954
|
-
#
|
|
3955
|
-
#
|
|
3956
|
-
#
|
|
4383
|
+
# * The LAG's MACsec encryption mode.
|
|
4384
|
+
#
|
|
4385
|
+
# AWS assigns this value to each connection which is part of the LAG.
|
|
4386
|
+
#
|
|
4387
|
+
# * The tags
|
|
4388
|
+
#
|
|
4389
|
+
# <note markdown="1"> If you adjust the threshold value for the minimum number of
|
|
4390
|
+
# operational connections, ensure that the new value does not cause the
|
|
4391
|
+
# LAG to fall below the threshold and become non-operational.
|
|
4392
|
+
#
|
|
4393
|
+
# </note>
|
|
3957
4394
|
#
|
|
3958
4395
|
# @option params [required, String] :lag_id
|
|
3959
4396
|
# The ID of the LAG.
|
|
@@ -3965,6 +4402,11 @@ module Aws::DirectConnect
|
|
|
3965
4402
|
# The minimum number of physical connections that must be operational
|
|
3966
4403
|
# for the LAG itself to be operational.
|
|
3967
4404
|
#
|
|
4405
|
+
# @option params [String] :encryption_mode
|
|
4406
|
+
# The LAG MAC Security (MACsec) encryption mode.
|
|
4407
|
+
#
|
|
4408
|
+
# AWS applies the value to all connections which are part of the LAG.
|
|
4409
|
+
#
|
|
3968
4410
|
# @return [Types::Lag] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3969
4411
|
#
|
|
3970
4412
|
# * {Types::Lag#connections_bandwidth #connections_bandwidth} => String
|
|
@@ -3984,6 +4426,9 @@ module Aws::DirectConnect
|
|
|
3984
4426
|
# * {Types::Lag#has_logical_redundancy #has_logical_redundancy} => String
|
|
3985
4427
|
# * {Types::Lag#tags #tags} => Array<Types::Tag>
|
|
3986
4428
|
# * {Types::Lag#provider_name #provider_name} => String
|
|
4429
|
+
# * {Types::Lag#mac_sec_capable #mac_sec_capable} => Boolean
|
|
4430
|
+
# * {Types::Lag#encryption_mode #encryption_mode} => String
|
|
4431
|
+
# * {Types::Lag#mac_sec_keys #mac_sec_keys} => Array<Types::MacSecKey>
|
|
3987
4432
|
#
|
|
3988
4433
|
# @example Request syntax with placeholder values
|
|
3989
4434
|
#
|
|
@@ -3991,6 +4436,7 @@ module Aws::DirectConnect
|
|
|
3991
4436
|
# lag_id: "LagId", # required
|
|
3992
4437
|
# lag_name: "LagName",
|
|
3993
4438
|
# minimum_links: 1,
|
|
4439
|
+
# encryption_mode: "EncryptionMode",
|
|
3994
4440
|
# })
|
|
3995
4441
|
#
|
|
3996
4442
|
# @example Response structure
|
|
@@ -4026,6 +4472,14 @@ module Aws::DirectConnect
|
|
|
4026
4472
|
# resp.connections[0].tags[0].key #=> String
|
|
4027
4473
|
# resp.connections[0].tags[0].value #=> String
|
|
4028
4474
|
# resp.connections[0].provider_name #=> String
|
|
4475
|
+
# resp.connections[0].mac_sec_capable #=> Boolean
|
|
4476
|
+
# resp.connections[0].port_encryption_status #=> String
|
|
4477
|
+
# resp.connections[0].encryption_mode #=> String
|
|
4478
|
+
# resp.connections[0].mac_sec_keys #=> Array
|
|
4479
|
+
# resp.connections[0].mac_sec_keys[0].secret_arn #=> String
|
|
4480
|
+
# resp.connections[0].mac_sec_keys[0].ckn #=> String
|
|
4481
|
+
# resp.connections[0].mac_sec_keys[0].state #=> String
|
|
4482
|
+
# resp.connections[0].mac_sec_keys[0].start_on #=> String
|
|
4029
4483
|
# resp.allows_hosted_connections #=> Boolean
|
|
4030
4484
|
# resp.jumbo_frame_capable #=> Boolean
|
|
4031
4485
|
# resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no"
|
|
@@ -4033,6 +4487,13 @@ module Aws::DirectConnect
|
|
|
4033
4487
|
# resp.tags[0].key #=> String
|
|
4034
4488
|
# resp.tags[0].value #=> String
|
|
4035
4489
|
# resp.provider_name #=> String
|
|
4490
|
+
# resp.mac_sec_capable #=> Boolean
|
|
4491
|
+
# resp.encryption_mode #=> String
|
|
4492
|
+
# resp.mac_sec_keys #=> Array
|
|
4493
|
+
# resp.mac_sec_keys[0].secret_arn #=> String
|
|
4494
|
+
# resp.mac_sec_keys[0].ckn #=> String
|
|
4495
|
+
# resp.mac_sec_keys[0].state #=> String
|
|
4496
|
+
# resp.mac_sec_keys[0].start_on #=> String
|
|
4036
4497
|
#
|
|
4037
4498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLag AWS API Documentation
|
|
4038
4499
|
#
|
|
@@ -4157,7 +4618,7 @@ module Aws::DirectConnect
|
|
|
4157
4618
|
params: params,
|
|
4158
4619
|
config: config)
|
|
4159
4620
|
context[:gem_name] = 'aws-sdk-directconnect'
|
|
4160
|
-
context[:gem_version] = '1.
|
|
4621
|
+
context[:gem_version] = '1.41.0'
|
|
4161
4622
|
Seahorse::Client::Request.new(handlers, context)
|
|
4162
4623
|
end
|
|
4163
4624
|
|