aws-sdk-directconnect 1.40.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78dddddf0c0d142b94dd7ac347fb9c9b947c2430c2bb422a7c6bcc9dd08656fa
4
- data.tar.gz: a41dea904789c6a546f1e0179e399a5e264c54b870e5dbb5fdfcc100eb92a299
3
+ metadata.gz: f27bd60e658b1d2874b41cfee7bcfa1895ca59637a7d698b95d520c839c304e4
4
+ data.tar.gz: ba7266c911e4e7c1d3e052307d58d520887d6595f2787049dd3aa0b32127f5e3
5
5
  SHA512:
6
- metadata.gz: b02fc9c21421552f79304a2c0bd791927b5260a742d1a5d3c974f8d75577a5cfe8fc8deedf147e09d584ba90d266f98470591c41198b52065e3923c65ad612e0
7
- data.tar.gz: 24626a959f8c2a1c87b2a3d922db866f9366881f3f720992642e9a8e6319d3258e52c039a467c34a0885f4f87efa64e6c373246be8e7be61d32b8a37b32cb20d
6
+ metadata.gz: e73b54cc99be8e919bf51b8abee79ca0a2b10982fc9d9cd567a41333ff195dc43dd07c076484e7dce1048429f5addbc6d454b3de2ef15fc7ba9526ebc6f4bac6
7
+ data.tar.gz: 168c3519d9ba5b1e1e4ddab43b29d77d04eb9ecd359929bfb4c552f922440348402ad1ae16e613b4a5fff4a60e1285e44ea480b4260a3096a4985581c71886f2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2021-03-31)
5
+ ------------------
6
+
7
+ * Feature - This release adds MACsec support to AWS Direct Connect
8
+
4
9
  1.40.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.41.0
@@ -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.40.0'
51
+ GEM_VERSION = '1.41.0'
52
52
 
53
53
  end
@@ -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
@@ -1470,6 +1604,18 @@ module Aws::DirectConnect
1470
1604
  # The name of the service provider associated with the requested
1471
1605
  # connection.
1472
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
+ #
1473
1619
  # @return [Types::Connection] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1474
1620
  #
1475
1621
  # * {Types::Connection#owner_account #owner_account} => String
@@ -1489,6 +1635,10 @@ module Aws::DirectConnect
1489
1635
  # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
1490
1636
  # * {Types::Connection#tags #tags} => Array<Types::Tag>
1491
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>
1492
1642
  #
1493
1643
  # @example Request syntax with placeholder values
1494
1644
  #
@@ -1504,6 +1654,7 @@ module Aws::DirectConnect
1504
1654
  # },
1505
1655
  # ],
1506
1656
  # provider_name: "ProviderName",
1657
+ # request_mac_sec: false,
1507
1658
  # })
1508
1659
  #
1509
1660
  # @example Response structure
@@ -1527,6 +1678,14 @@ module Aws::DirectConnect
1527
1678
  # resp.tags[0].key #=> String
1528
1679
  # resp.tags[0].value #=> String
1529
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
1530
1689
  #
1531
1690
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnection AWS API Documentation
1532
1691
  #
@@ -1883,6 +2042,19 @@ module Aws::DirectConnect
1883
2042
  # @option params [String] :provider_name
1884
2043
  # The name of the service provider associated with the LAG.
1885
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
+ #
1886
2058
  # @return [Types::Lag] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1887
2059
  #
1888
2060
  # * {Types::Lag#connections_bandwidth #connections_bandwidth} => String
@@ -1902,6 +2074,9 @@ module Aws::DirectConnect
1902
2074
  # * {Types::Lag#has_logical_redundancy #has_logical_redundancy} => String
1903
2075
  # * {Types::Lag#tags #tags} => Array&lt;Types::Tag&gt;
1904
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&lt;Types::MacSecKey&gt;
1905
2080
  #
1906
2081
  # @example Request syntax with placeholder values
1907
2082
  #
@@ -1924,6 +2099,7 @@ module Aws::DirectConnect
1924
2099
  # },
1925
2100
  # ],
1926
2101
  # provider_name: "ProviderName",
2102
+ # request_mac_sec: false,
1927
2103
  # })
1928
2104
  #
1929
2105
  # @example Response structure
@@ -1959,6 +2135,14 @@ module Aws::DirectConnect
1959
2135
  # resp.connections[0].tags[0].key #=> String
1960
2136
  # resp.connections[0].tags[0].value #=> String
1961
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
1962
2146
  # resp.allows_hosted_connections #=> Boolean
1963
2147
  # resp.jumbo_frame_capable #=> Boolean
1964
2148
  # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no"
@@ -1966,6 +2150,13 @@ module Aws::DirectConnect
1966
2150
  # resp.tags[0].key #=> String
1967
2151
  # resp.tags[0].value #=> String
1968
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
1969
2160
  #
1970
2161
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLag AWS API Documentation
1971
2162
  #
@@ -2424,6 +2615,10 @@ module Aws::DirectConnect
2424
2615
  # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
2425
2616
  # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt;
2426
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&lt;Types::MacSecKey&gt;
2427
2622
  #
2428
2623
  # @example Request syntax with placeholder values
2429
2624
  #
@@ -2452,6 +2647,14 @@ module Aws::DirectConnect
2452
2647
  # resp.tags[0].key #=> String
2453
2648
  # resp.tags[0].value #=> String
2454
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
2455
2658
  #
2456
2659
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnection AWS API Documentation
2457
2660
  #
@@ -2650,6 +2853,9 @@ module Aws::DirectConnect
2650
2853
  # * {Types::Lag#has_logical_redundancy #has_logical_redundancy} => String
2651
2854
  # * {Types::Lag#tags #tags} => Array&lt;Types::Tag&gt;
2652
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&lt;Types::MacSecKey&gt;
2653
2859
  #
2654
2860
  # @example Request syntax with placeholder values
2655
2861
  #
@@ -2690,6 +2896,14 @@ module Aws::DirectConnect
2690
2896
  # resp.connections[0].tags[0].key #=> String
2691
2897
  # resp.connections[0].tags[0].value #=> String
2692
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
2693
2907
  # resp.allows_hosted_connections #=> Boolean
2694
2908
  # resp.jumbo_frame_capable #=> Boolean
2695
2909
  # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no"
@@ -2697,6 +2911,13 @@ module Aws::DirectConnect
2697
2911
  # resp.tags[0].key #=> String
2698
2912
  # resp.tags[0].value #=> String
2699
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
2700
2921
  #
2701
2922
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLag AWS API Documentation
2702
2923
  #
@@ -2825,6 +3046,14 @@ module Aws::DirectConnect
2825
3046
  # resp.connections[0].tags[0].key #=> String
2826
3047
  # resp.connections[0].tags[0].value #=> String
2827
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
2828
3057
  #
2829
3058
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnections AWS API Documentation
2830
3059
  #
@@ -2879,6 +3108,14 @@ module Aws::DirectConnect
2879
3108
  # resp.connections[0].tags[0].key #=> String
2880
3109
  # resp.connections[0].tags[0].value #=> String
2881
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
2882
3119
  #
2883
3120
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnect AWS API Documentation
2884
3121
  #
@@ -3201,6 +3438,14 @@ module Aws::DirectConnect
3201
3438
  # resp.connections[0].tags[0].key #=> String
3202
3439
  # resp.connections[0].tags[0].value #=> String
3203
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
3204
3449
  #
3205
3450
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnections AWS API Documentation
3206
3451
  #
@@ -3358,6 +3603,14 @@ module Aws::DirectConnect
3358
3603
  # resp.lags[0].connections[0].tags[0].key #=> String
3359
3604
  # resp.lags[0].connections[0].tags[0].value #=> String
3360
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
3361
3614
  # resp.lags[0].allows_hosted_connections #=> Boolean
3362
3615
  # resp.lags[0].jumbo_frame_capable #=> Boolean
3363
3616
  # resp.lags[0].has_logical_redundancy #=> String, one of "unknown", "yes", "no"
@@ -3365,6 +3618,13 @@ module Aws::DirectConnect
3365
3618
  # resp.lags[0].tags[0].key #=> String
3366
3619
  # resp.lags[0].tags[0].value #=> String
3367
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
3368
3628
  #
3369
3629
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLags AWS API Documentation
3370
3630
  #
@@ -3446,6 +3706,8 @@ module Aws::DirectConnect
3446
3706
  # resp.locations[0].available_port_speeds[0] #=> String
3447
3707
  # resp.locations[0].available_providers #=> Array
3448
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
3449
3711
  #
3450
3712
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocations AWS API Documentation
3451
3713
  #
@@ -3627,6 +3889,10 @@ module Aws::DirectConnect
3627
3889
  # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
3628
3890
  # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt;
3629
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&lt;Types::MacSecKey&gt;
3630
3896
  #
3631
3897
  # @example Request syntax with placeholder values
3632
3898
  #
@@ -3656,6 +3922,14 @@ module Aws::DirectConnect
3656
3922
  # resp.tags[0].key #=> String
3657
3923
  # resp.tags[0].value #=> String
3658
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
3659
3933
  #
3660
3934
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLag AWS API Documentation
3661
3935
  #
@@ -3666,6 +3940,53 @@ module Aws::DirectConnect
3666
3940
  req.send_request(options)
3667
3941
  end
3668
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&lt;Types::MacSecKey&gt;
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
+
3669
3990
  # Lists the virtual interface failover test history.
3670
3991
  #
3671
3992
  # @option params [String] :test_id
@@ -3896,6 +4217,99 @@ module Aws::DirectConnect
3896
4217
  req.send_request(options)
3897
4218
  end
3898
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&lt;Types::Tag&gt;
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&lt;Types::MacSecKey&gt;
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
+
3899
4313
  # Updates the specified attributes of the Direct Connect gateway
3900
4314
  # association.
3901
4315
  #
@@ -3959,20 +4373,24 @@ module Aws::DirectConnect
3959
4373
 
3960
4374
  # Updates the attributes of the specified link aggregation group (LAG).
3961
4375
  #
3962
- # You can update the following attributes:
4376
+ # You can update the following LAG attributes:
3963
4377
  #
3964
4378
  # * The name of the LAG.
3965
4379
  #
3966
4380
  # * The value for the minimum number of connections that must be
3967
4381
  # operational for the LAG itself to be operational.
3968
4382
  #
3969
- # When you create a LAG, the default value for the minimum number of
3970
- # operational connections is zero (0). If you update this value and the
3971
- # number of operational connections falls below the specified value, the
3972
- # LAG automatically goes down to avoid over-utilization of the remaining
3973
- # connections. Adjust this value with care, as it could force the LAG
3974
- # down if it is set higher than the current number of operational
3975
- # connections.
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>
3976
4394
  #
3977
4395
  # @option params [required, String] :lag_id
3978
4396
  # The ID of the LAG.
@@ -3984,6 +4402,11 @@ module Aws::DirectConnect
3984
4402
  # The minimum number of physical connections that must be operational
3985
4403
  # for the LAG itself to be operational.
3986
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
+ #
3987
4410
  # @return [Types::Lag] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3988
4411
  #
3989
4412
  # * {Types::Lag#connections_bandwidth #connections_bandwidth} => String
@@ -4003,6 +4426,9 @@ module Aws::DirectConnect
4003
4426
  # * {Types::Lag#has_logical_redundancy #has_logical_redundancy} => String
4004
4427
  # * {Types::Lag#tags #tags} => Array&lt;Types::Tag&gt;
4005
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&lt;Types::MacSecKey&gt;
4006
4432
  #
4007
4433
  # @example Request syntax with placeholder values
4008
4434
  #
@@ -4010,6 +4436,7 @@ module Aws::DirectConnect
4010
4436
  # lag_id: "LagId", # required
4011
4437
  # lag_name: "LagName",
4012
4438
  # minimum_links: 1,
4439
+ # encryption_mode: "EncryptionMode",
4013
4440
  # })
4014
4441
  #
4015
4442
  # @example Response structure
@@ -4045,6 +4472,14 @@ module Aws::DirectConnect
4045
4472
  # resp.connections[0].tags[0].key #=> String
4046
4473
  # resp.connections[0].tags[0].value #=> String
4047
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
4048
4483
  # resp.allows_hosted_connections #=> Boolean
4049
4484
  # resp.jumbo_frame_capable #=> Boolean
4050
4485
  # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no"
@@ -4052,6 +4487,13 @@ module Aws::DirectConnect
4052
4487
  # resp.tags[0].key #=> String
4053
4488
  # resp.tags[0].value #=> String
4054
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
4055
4497
  #
4056
4498
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLag AWS API Documentation
4057
4499
  #
@@ -4176,7 +4618,7 @@ module Aws::DirectConnect
4176
4618
  params: params,
4177
4619
  config: config)
4178
4620
  context[:gem_name] = 'aws-sdk-directconnect'
4179
- context[:gem_version] = '1.40.0'
4621
+ context[:gem_version] = '1.41.0'
4180
4622
  Seahorse::Client::Request.new(handlers, context)
4181
4623
  end
4182
4624