aws-sdk-networkmanager 1.54.0 → 1.56.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: 3af938a378a67073292e382f270a507b6fb4203d11ed752e395ccfec3dec392a
4
- data.tar.gz: 385ecd145bcc45f8adb345eacc29107fd7c9d26505902af82b1d183cc2055ee7
3
+ metadata.gz: 1bb50bb31bcca279733460df550de90b0785321057ed98859f8c75522f99ca3d
4
+ data.tar.gz: 19666ef11684dc2ffe16be3af27d00c32d3255e14a8038e3dcd285176de6b804
5
5
  SHA512:
6
- metadata.gz: dcb0325592f191e6fc0eab69c1fb364d46632c43ba67a9a97aa8485e17e2ab54835c58177b666a2d076ea4c860a5207a9b02d68de74b4be2b9dea5cb061b8bff
7
- data.tar.gz: 1ceae79cbf3d06cd186a2dc03c6ec5b0f675efd3ee61886a4ce440ab69625beb19c930d8cb2916b8ac1272fc13cc8c299b0604c81c7ea9ec89d3335c492959f3
6
+ metadata.gz: ced9f56245934ea9bc8421c27c0b20840b2dad18b3a536464ea6c65927c4ee1e26074da3db6d4adbe45b4ac7cf53babeb490856f95888620a3f1fc6e9e92fd56
7
+ data.tar.gz: 66568bdd928b22686e51d8c05bd02ce3f80fa79721f5d6d927fc6abc4c7effed2fa6c6a9bd54e3e35982663cdb92fbb22b1dc5dd175634927b7c57f92be4c7a2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.56.0 (2024-11-25)
5
+ ------------------
6
+
7
+ * Feature - This release adds native Direct Connect integration on Cloud WAN enabling customers to directly attach their Direct Connect gateways to Cloud WAN without the need for an intermediate Transit Gateway.
8
+
9
+ 1.55.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.54.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.54.0
1
+ 1.56.0
@@ -471,9 +471,11 @@ module Aws::NetworkManager
471
471
  # resp.attachment.core_network_arn #=> String
472
472
  # resp.attachment.attachment_id #=> String
473
473
  # resp.attachment.owner_account_id #=> String
474
- # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
474
+ # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
475
475
  # resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
476
476
  # resp.attachment.edge_location #=> String
477
+ # resp.attachment.edge_locations #=> Array
478
+ # resp.attachment.edge_locations[0] #=> String
477
479
  # resp.attachment.resource_arn #=> String
478
480
  # resp.attachment.attachment_policy_rule_number #=> Integer
479
481
  # resp.attachment.segment_name #=> String
@@ -494,7 +496,7 @@ module Aws::NetworkManager
494
496
  # resp.attachment.created_at #=> Time
495
497
  # resp.attachment.updated_at #=> Time
496
498
  # resp.attachment.last_modification_errors #=> Array
497
- # resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
499
+ # resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
498
500
  # resp.attachment.last_modification_errors[0].message #=> String
499
501
  # resp.attachment.last_modification_errors[0].resource_arn #=> String
500
502
  # resp.attachment.last_modification_errors[0].request_id #=> String
@@ -770,9 +772,11 @@ module Aws::NetworkManager
770
772
  # resp.connect_attachment.attachment.core_network_arn #=> String
771
773
  # resp.connect_attachment.attachment.attachment_id #=> String
772
774
  # resp.connect_attachment.attachment.owner_account_id #=> String
773
- # resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
775
+ # resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
774
776
  # resp.connect_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
775
777
  # resp.connect_attachment.attachment.edge_location #=> String
778
+ # resp.connect_attachment.attachment.edge_locations #=> Array
779
+ # resp.connect_attachment.attachment.edge_locations[0] #=> String
776
780
  # resp.connect_attachment.attachment.resource_arn #=> String
777
781
  # resp.connect_attachment.attachment.attachment_policy_rule_number #=> Integer
778
782
  # resp.connect_attachment.attachment.segment_name #=> String
@@ -793,7 +797,7 @@ module Aws::NetworkManager
793
797
  # resp.connect_attachment.attachment.created_at #=> Time
794
798
  # resp.connect_attachment.attachment.updated_at #=> Time
795
799
  # resp.connect_attachment.attachment.last_modification_errors #=> Array
796
- # resp.connect_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
800
+ # resp.connect_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
797
801
  # resp.connect_attachment.attachment.last_modification_errors[0].message #=> String
798
802
  # resp.connect_attachment.attachment.last_modification_errors[0].resource_arn #=> String
799
803
  # resp.connect_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -1164,6 +1168,94 @@ module Aws::NetworkManager
1164
1168
  req.send_request(options)
1165
1169
  end
1166
1170
 
1171
+ # Creates an Amazon Web Services Direct Connect gateway attachment
1172
+ #
1173
+ # @option params [required, String] :core_network_id
1174
+ # The ID of the Cloud WAN core network that the Direct Connect gateway
1175
+ # attachment should be attached to.
1176
+ #
1177
+ # @option params [required, String] :direct_connect_gateway_arn
1178
+ # The ARN of the Direct Connect gateway attachment.
1179
+ #
1180
+ # @option params [required, Array<String>] :edge_locations
1181
+ # One or more core network edge locations that the Direct Connect
1182
+ # gateway attachment is associated with.
1183
+ #
1184
+ # @option params [Array<Types::Tag>] :tags
1185
+ # The key value tags to apply to the Direct Connect gateway attachment
1186
+ # during creation.
1187
+ #
1188
+ # @option params [String] :client_token
1189
+ # client token
1190
+ #
1191
+ # **A suitable default value is auto-generated.** You should normally
1192
+ # not need to pass this option.**
1193
+ #
1194
+ # @return [Types::CreateDirectConnectGatewayAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1195
+ #
1196
+ # * {Types::CreateDirectConnectGatewayAttachmentResponse#direct_connect_gateway_attachment #direct_connect_gateway_attachment} => Types::DirectConnectGatewayAttachment
1197
+ #
1198
+ # @example Request syntax with placeholder values
1199
+ #
1200
+ # resp = client.create_direct_connect_gateway_attachment({
1201
+ # core_network_id: "CoreNetworkId", # required
1202
+ # direct_connect_gateway_arn: "DirectConnectGatewayArn", # required
1203
+ # edge_locations: ["ExternalRegionCode"], # required
1204
+ # tags: [
1205
+ # {
1206
+ # key: "TagKey",
1207
+ # value: "TagValue",
1208
+ # },
1209
+ # ],
1210
+ # client_token: "ClientToken",
1211
+ # })
1212
+ #
1213
+ # @example Response structure
1214
+ #
1215
+ # resp.direct_connect_gateway_attachment.attachment.core_network_id #=> String
1216
+ # resp.direct_connect_gateway_attachment.attachment.core_network_arn #=> String
1217
+ # resp.direct_connect_gateway_attachment.attachment.attachment_id #=> String
1218
+ # resp.direct_connect_gateway_attachment.attachment.owner_account_id #=> String
1219
+ # resp.direct_connect_gateway_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
1220
+ # resp.direct_connect_gateway_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
1221
+ # resp.direct_connect_gateway_attachment.attachment.edge_location #=> String
1222
+ # resp.direct_connect_gateway_attachment.attachment.edge_locations #=> Array
1223
+ # resp.direct_connect_gateway_attachment.attachment.edge_locations[0] #=> String
1224
+ # resp.direct_connect_gateway_attachment.attachment.resource_arn #=> String
1225
+ # resp.direct_connect_gateway_attachment.attachment.attachment_policy_rule_number #=> Integer
1226
+ # resp.direct_connect_gateway_attachment.attachment.segment_name #=> String
1227
+ # resp.direct_connect_gateway_attachment.attachment.network_function_group_name #=> String
1228
+ # resp.direct_connect_gateway_attachment.attachment.tags #=> Array
1229
+ # resp.direct_connect_gateway_attachment.attachment.tags[0].key #=> String
1230
+ # resp.direct_connect_gateway_attachment.attachment.tags[0].value #=> String
1231
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags #=> Array
1232
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags[0].key #=> String
1233
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags[0].value #=> String
1234
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
1235
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.segment_name #=> String
1236
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags #=> Array
1237
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
1238
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
1239
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
1240
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
1241
+ # resp.direct_connect_gateway_attachment.attachment.created_at #=> Time
1242
+ # resp.direct_connect_gateway_attachment.attachment.updated_at #=> Time
1243
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors #=> Array
1244
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
1245
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].message #=> String
1246
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].resource_arn #=> String
1247
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].request_id #=> String
1248
+ # resp.direct_connect_gateway_attachment.direct_connect_gateway_arn #=> String
1249
+ #
1250
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateDirectConnectGatewayAttachment AWS API Documentation
1251
+ #
1252
+ # @overload create_direct_connect_gateway_attachment(params = {})
1253
+ # @param [Hash] params ({})
1254
+ def create_direct_connect_gateway_attachment(params = {}, options = {})
1255
+ req = build_request(:create_direct_connect_gateway_attachment, params)
1256
+ req.send_request(options)
1257
+ end
1258
+
1167
1259
  # Creates a new, empty global network.
1168
1260
  #
1169
1261
  # @option params [String] :description
@@ -1404,9 +1496,11 @@ module Aws::NetworkManager
1404
1496
  # resp.site_to_site_vpn_attachment.attachment.core_network_arn #=> String
1405
1497
  # resp.site_to_site_vpn_attachment.attachment.attachment_id #=> String
1406
1498
  # resp.site_to_site_vpn_attachment.attachment.owner_account_id #=> String
1407
- # resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
1499
+ # resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
1408
1500
  # resp.site_to_site_vpn_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
1409
1501
  # resp.site_to_site_vpn_attachment.attachment.edge_location #=> String
1502
+ # resp.site_to_site_vpn_attachment.attachment.edge_locations #=> Array
1503
+ # resp.site_to_site_vpn_attachment.attachment.edge_locations[0] #=> String
1410
1504
  # resp.site_to_site_vpn_attachment.attachment.resource_arn #=> String
1411
1505
  # resp.site_to_site_vpn_attachment.attachment.attachment_policy_rule_number #=> Integer
1412
1506
  # resp.site_to_site_vpn_attachment.attachment.segment_name #=> String
@@ -1427,7 +1521,7 @@ module Aws::NetworkManager
1427
1521
  # resp.site_to_site_vpn_attachment.attachment.created_at #=> Time
1428
1522
  # resp.site_to_site_vpn_attachment.attachment.updated_at #=> Time
1429
1523
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors #=> Array
1430
- # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
1524
+ # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
1431
1525
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].message #=> String
1432
1526
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].resource_arn #=> String
1433
1527
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -1552,9 +1646,11 @@ module Aws::NetworkManager
1552
1646
  # resp.transit_gateway_route_table_attachment.attachment.core_network_arn #=> String
1553
1647
  # resp.transit_gateway_route_table_attachment.attachment.attachment_id #=> String
1554
1648
  # resp.transit_gateway_route_table_attachment.attachment.owner_account_id #=> String
1555
- # resp.transit_gateway_route_table_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
1649
+ # resp.transit_gateway_route_table_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
1556
1650
  # resp.transit_gateway_route_table_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
1557
1651
  # resp.transit_gateway_route_table_attachment.attachment.edge_location #=> String
1652
+ # resp.transit_gateway_route_table_attachment.attachment.edge_locations #=> Array
1653
+ # resp.transit_gateway_route_table_attachment.attachment.edge_locations[0] #=> String
1558
1654
  # resp.transit_gateway_route_table_attachment.attachment.resource_arn #=> String
1559
1655
  # resp.transit_gateway_route_table_attachment.attachment.attachment_policy_rule_number #=> Integer
1560
1656
  # resp.transit_gateway_route_table_attachment.attachment.segment_name #=> String
@@ -1575,7 +1671,7 @@ module Aws::NetworkManager
1575
1671
  # resp.transit_gateway_route_table_attachment.attachment.created_at #=> Time
1576
1672
  # resp.transit_gateway_route_table_attachment.attachment.updated_at #=> Time
1577
1673
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors #=> Array
1578
- # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
1674
+ # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
1579
1675
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].message #=> String
1580
1676
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].resource_arn #=> String
1581
1677
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -1643,9 +1739,11 @@ module Aws::NetworkManager
1643
1739
  # resp.vpc_attachment.attachment.core_network_arn #=> String
1644
1740
  # resp.vpc_attachment.attachment.attachment_id #=> String
1645
1741
  # resp.vpc_attachment.attachment.owner_account_id #=> String
1646
- # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
1742
+ # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
1647
1743
  # resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
1648
1744
  # resp.vpc_attachment.attachment.edge_location #=> String
1745
+ # resp.vpc_attachment.attachment.edge_locations #=> Array
1746
+ # resp.vpc_attachment.attachment.edge_locations[0] #=> String
1649
1747
  # resp.vpc_attachment.attachment.resource_arn #=> String
1650
1748
  # resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
1651
1749
  # resp.vpc_attachment.attachment.segment_name #=> String
@@ -1666,7 +1764,7 @@ module Aws::NetworkManager
1666
1764
  # resp.vpc_attachment.attachment.created_at #=> Time
1667
1765
  # resp.vpc_attachment.attachment.updated_at #=> Time
1668
1766
  # resp.vpc_attachment.attachment.last_modification_errors #=> Array
1669
- # resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
1767
+ # resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
1670
1768
  # resp.vpc_attachment.attachment.last_modification_errors[0].message #=> String
1671
1769
  # resp.vpc_attachment.attachment.last_modification_errors[0].resource_arn #=> String
1672
1770
  # resp.vpc_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -1705,9 +1803,11 @@ module Aws::NetworkManager
1705
1803
  # resp.attachment.core_network_arn #=> String
1706
1804
  # resp.attachment.attachment_id #=> String
1707
1805
  # resp.attachment.owner_account_id #=> String
1708
- # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
1806
+ # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
1709
1807
  # resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
1710
1808
  # resp.attachment.edge_location #=> String
1809
+ # resp.attachment.edge_locations #=> Array
1810
+ # resp.attachment.edge_locations[0] #=> String
1711
1811
  # resp.attachment.resource_arn #=> String
1712
1812
  # resp.attachment.attachment_policy_rule_number #=> Integer
1713
1813
  # resp.attachment.segment_name #=> String
@@ -1728,7 +1828,7 @@ module Aws::NetworkManager
1728
1828
  # resp.attachment.created_at #=> Time
1729
1829
  # resp.attachment.updated_at #=> Time
1730
1830
  # resp.attachment.last_modification_errors #=> Array
1731
- # resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
1831
+ # resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
1732
1832
  # resp.attachment.last_modification_errors[0].message #=> String
1733
1833
  # resp.attachment.last_modification_errors[0].resource_arn #=> String
1734
1834
  # resp.attachment.last_modification_errors[0].request_id #=> String
@@ -2468,9 +2568,11 @@ module Aws::NetworkManager
2468
2568
  # resp.connect_attachment.attachment.core_network_arn #=> String
2469
2569
  # resp.connect_attachment.attachment.attachment_id #=> String
2470
2570
  # resp.connect_attachment.attachment.owner_account_id #=> String
2471
- # resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
2571
+ # resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
2472
2572
  # resp.connect_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
2473
2573
  # resp.connect_attachment.attachment.edge_location #=> String
2574
+ # resp.connect_attachment.attachment.edge_locations #=> Array
2575
+ # resp.connect_attachment.attachment.edge_locations[0] #=> String
2474
2576
  # resp.connect_attachment.attachment.resource_arn #=> String
2475
2577
  # resp.connect_attachment.attachment.attachment_policy_rule_number #=> Integer
2476
2578
  # resp.connect_attachment.attachment.segment_name #=> String
@@ -2491,7 +2593,7 @@ module Aws::NetworkManager
2491
2593
  # resp.connect_attachment.attachment.created_at #=> Time
2492
2594
  # resp.connect_attachment.attachment.updated_at #=> Time
2493
2595
  # resp.connect_attachment.attachment.last_modification_errors #=> Array
2494
- # resp.connect_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
2596
+ # resp.connect_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
2495
2597
  # resp.connect_attachment.attachment.last_modification_errors[0].message #=> String
2496
2598
  # resp.connect_attachment.attachment.last_modification_errors[0].resource_arn #=> String
2497
2599
  # resp.connect_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -3040,6 +3142,69 @@ module Aws::NetworkManager
3040
3142
  req.send_request(options)
3041
3143
  end
3042
3144
 
3145
+ # Returns information about a specific Amazon Web Services Direct
3146
+ # Connect gateway attachment.
3147
+ #
3148
+ # @option params [required, String] :attachment_id
3149
+ # The ID of the Direct Connect gateway attachment that you want to see
3150
+ # details about.
3151
+ #
3152
+ # @return [Types::GetDirectConnectGatewayAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3153
+ #
3154
+ # * {Types::GetDirectConnectGatewayAttachmentResponse#direct_connect_gateway_attachment #direct_connect_gateway_attachment} => Types::DirectConnectGatewayAttachment
3155
+ #
3156
+ # @example Request syntax with placeholder values
3157
+ #
3158
+ # resp = client.get_direct_connect_gateway_attachment({
3159
+ # attachment_id: "AttachmentId", # required
3160
+ # })
3161
+ #
3162
+ # @example Response structure
3163
+ #
3164
+ # resp.direct_connect_gateway_attachment.attachment.core_network_id #=> String
3165
+ # resp.direct_connect_gateway_attachment.attachment.core_network_arn #=> String
3166
+ # resp.direct_connect_gateway_attachment.attachment.attachment_id #=> String
3167
+ # resp.direct_connect_gateway_attachment.attachment.owner_account_id #=> String
3168
+ # resp.direct_connect_gateway_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
3169
+ # resp.direct_connect_gateway_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
3170
+ # resp.direct_connect_gateway_attachment.attachment.edge_location #=> String
3171
+ # resp.direct_connect_gateway_attachment.attachment.edge_locations #=> Array
3172
+ # resp.direct_connect_gateway_attachment.attachment.edge_locations[0] #=> String
3173
+ # resp.direct_connect_gateway_attachment.attachment.resource_arn #=> String
3174
+ # resp.direct_connect_gateway_attachment.attachment.attachment_policy_rule_number #=> Integer
3175
+ # resp.direct_connect_gateway_attachment.attachment.segment_name #=> String
3176
+ # resp.direct_connect_gateway_attachment.attachment.network_function_group_name #=> String
3177
+ # resp.direct_connect_gateway_attachment.attachment.tags #=> Array
3178
+ # resp.direct_connect_gateway_attachment.attachment.tags[0].key #=> String
3179
+ # resp.direct_connect_gateway_attachment.attachment.tags[0].value #=> String
3180
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags #=> Array
3181
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags[0].key #=> String
3182
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags[0].value #=> String
3183
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
3184
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.segment_name #=> String
3185
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags #=> Array
3186
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
3187
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
3188
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
3189
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
3190
+ # resp.direct_connect_gateway_attachment.attachment.created_at #=> Time
3191
+ # resp.direct_connect_gateway_attachment.attachment.updated_at #=> Time
3192
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors #=> Array
3193
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
3194
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].message #=> String
3195
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].resource_arn #=> String
3196
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].request_id #=> String
3197
+ # resp.direct_connect_gateway_attachment.direct_connect_gateway_arn #=> String
3198
+ #
3199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetDirectConnectGatewayAttachment AWS API Documentation
3200
+ #
3201
+ # @overload get_direct_connect_gateway_attachment(params = {})
3202
+ # @param [Hash] params ({})
3203
+ def get_direct_connect_gateway_attachment(params = {}, options = {})
3204
+ req = build_request(:get_direct_connect_gateway_attachment, params)
3205
+ req.send_request(options)
3206
+ end
3207
+
3043
3208
  # Gets the link associations for a device or a link. Either the device
3044
3209
  # ID or the link ID must be specified.
3045
3210
  #
@@ -3787,9 +3952,11 @@ module Aws::NetworkManager
3787
3952
  # resp.site_to_site_vpn_attachment.attachment.core_network_arn #=> String
3788
3953
  # resp.site_to_site_vpn_attachment.attachment.attachment_id #=> String
3789
3954
  # resp.site_to_site_vpn_attachment.attachment.owner_account_id #=> String
3790
- # resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
3955
+ # resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
3791
3956
  # resp.site_to_site_vpn_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
3792
3957
  # resp.site_to_site_vpn_attachment.attachment.edge_location #=> String
3958
+ # resp.site_to_site_vpn_attachment.attachment.edge_locations #=> Array
3959
+ # resp.site_to_site_vpn_attachment.attachment.edge_locations[0] #=> String
3793
3960
  # resp.site_to_site_vpn_attachment.attachment.resource_arn #=> String
3794
3961
  # resp.site_to_site_vpn_attachment.attachment.attachment_policy_rule_number #=> Integer
3795
3962
  # resp.site_to_site_vpn_attachment.attachment.segment_name #=> String
@@ -3810,7 +3977,7 @@ module Aws::NetworkManager
3810
3977
  # resp.site_to_site_vpn_attachment.attachment.created_at #=> Time
3811
3978
  # resp.site_to_site_vpn_attachment.attachment.updated_at #=> Time
3812
3979
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors #=> Array
3813
- # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
3980
+ # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
3814
3981
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].message #=> String
3815
3982
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].resource_arn #=> String
3816
3983
  # resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -4049,9 +4216,11 @@ module Aws::NetworkManager
4049
4216
  # resp.transit_gateway_route_table_attachment.attachment.core_network_arn #=> String
4050
4217
  # resp.transit_gateway_route_table_attachment.attachment.attachment_id #=> String
4051
4218
  # resp.transit_gateway_route_table_attachment.attachment.owner_account_id #=> String
4052
- # resp.transit_gateway_route_table_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
4219
+ # resp.transit_gateway_route_table_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
4053
4220
  # resp.transit_gateway_route_table_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
4054
4221
  # resp.transit_gateway_route_table_attachment.attachment.edge_location #=> String
4222
+ # resp.transit_gateway_route_table_attachment.attachment.edge_locations #=> Array
4223
+ # resp.transit_gateway_route_table_attachment.attachment.edge_locations[0] #=> String
4055
4224
  # resp.transit_gateway_route_table_attachment.attachment.resource_arn #=> String
4056
4225
  # resp.transit_gateway_route_table_attachment.attachment.attachment_policy_rule_number #=> Integer
4057
4226
  # resp.transit_gateway_route_table_attachment.attachment.segment_name #=> String
@@ -4072,7 +4241,7 @@ module Aws::NetworkManager
4072
4241
  # resp.transit_gateway_route_table_attachment.attachment.created_at #=> Time
4073
4242
  # resp.transit_gateway_route_table_attachment.attachment.updated_at #=> Time
4074
4243
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors #=> Array
4075
- # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
4244
+ # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
4076
4245
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].message #=> String
4077
4246
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].resource_arn #=> String
4078
4247
  # resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -4109,9 +4278,11 @@ module Aws::NetworkManager
4109
4278
  # resp.vpc_attachment.attachment.core_network_arn #=> String
4110
4279
  # resp.vpc_attachment.attachment.attachment_id #=> String
4111
4280
  # resp.vpc_attachment.attachment.owner_account_id #=> String
4112
- # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
4281
+ # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
4113
4282
  # resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
4114
4283
  # resp.vpc_attachment.attachment.edge_location #=> String
4284
+ # resp.vpc_attachment.attachment.edge_locations #=> Array
4285
+ # resp.vpc_attachment.attachment.edge_locations[0] #=> String
4115
4286
  # resp.vpc_attachment.attachment.resource_arn #=> String
4116
4287
  # resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
4117
4288
  # resp.vpc_attachment.attachment.segment_name #=> String
@@ -4132,7 +4303,7 @@ module Aws::NetworkManager
4132
4303
  # resp.vpc_attachment.attachment.created_at #=> Time
4133
4304
  # resp.vpc_attachment.attachment.updated_at #=> Time
4134
4305
  # resp.vpc_attachment.attachment.last_modification_errors #=> Array
4135
- # resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
4306
+ # resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
4136
4307
  # resp.vpc_attachment.attachment.last_modification_errors[0].message #=> String
4137
4308
  # resp.vpc_attachment.attachment.last_modification_errors[0].resource_arn #=> String
4138
4309
  # resp.vpc_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -4181,7 +4352,7 @@ module Aws::NetworkManager
4181
4352
  #
4182
4353
  # resp = client.list_attachments({
4183
4354
  # core_network_id: "CoreNetworkId",
4184
- # attachment_type: "CONNECT", # accepts CONNECT, SITE_TO_SITE_VPN, VPC, TRANSIT_GATEWAY_ROUTE_TABLE
4355
+ # attachment_type: "CONNECT", # accepts CONNECT, SITE_TO_SITE_VPN, VPC, DIRECT_CONNECT_GATEWAY, TRANSIT_GATEWAY_ROUTE_TABLE
4185
4356
  # edge_location: "ExternalRegionCode",
4186
4357
  # state: "REJECTED", # accepts REJECTED, PENDING_ATTACHMENT_ACCEPTANCE, CREATING, FAILED, AVAILABLE, UPDATING, PENDING_NETWORK_UPDATE, PENDING_TAG_ACCEPTANCE, DELETING
4187
4358
  # max_results: 1,
@@ -4195,9 +4366,11 @@ module Aws::NetworkManager
4195
4366
  # resp.attachments[0].core_network_arn #=> String
4196
4367
  # resp.attachments[0].attachment_id #=> String
4197
4368
  # resp.attachments[0].owner_account_id #=> String
4198
- # resp.attachments[0].attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
4369
+ # resp.attachments[0].attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
4199
4370
  # resp.attachments[0].state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
4200
4371
  # resp.attachments[0].edge_location #=> String
4372
+ # resp.attachments[0].edge_locations #=> Array
4373
+ # resp.attachments[0].edge_locations[0] #=> String
4201
4374
  # resp.attachments[0].resource_arn #=> String
4202
4375
  # resp.attachments[0].attachment_policy_rule_number #=> Integer
4203
4376
  # resp.attachments[0].segment_name #=> String
@@ -4218,7 +4391,7 @@ module Aws::NetworkManager
4218
4391
  # resp.attachments[0].created_at #=> Time
4219
4392
  # resp.attachments[0].updated_at #=> Time
4220
4393
  # resp.attachments[0].last_modification_errors #=> Array
4221
- # resp.attachments[0].last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
4394
+ # resp.attachments[0].last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
4222
4395
  # resp.attachments[0].last_modification_errors[0].message #=> String
4223
4396
  # resp.attachments[0].last_modification_errors[0].resource_arn #=> String
4224
4397
  # resp.attachments[0].last_modification_errors[0].request_id #=> String
@@ -4678,9 +4851,11 @@ module Aws::NetworkManager
4678
4851
  # resp.attachment.core_network_arn #=> String
4679
4852
  # resp.attachment.attachment_id #=> String
4680
4853
  # resp.attachment.owner_account_id #=> String
4681
- # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
4854
+ # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
4682
4855
  # resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
4683
4856
  # resp.attachment.edge_location #=> String
4857
+ # resp.attachment.edge_locations #=> Array
4858
+ # resp.attachment.edge_locations[0] #=> String
4684
4859
  # resp.attachment.resource_arn #=> String
4685
4860
  # resp.attachment.attachment_policy_rule_number #=> Integer
4686
4861
  # resp.attachment.segment_name #=> String
@@ -4701,7 +4876,7 @@ module Aws::NetworkManager
4701
4876
  # resp.attachment.created_at #=> Time
4702
4877
  # resp.attachment.updated_at #=> Time
4703
4878
  # resp.attachment.last_modification_errors #=> Array
4704
- # resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
4879
+ # resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
4705
4880
  # resp.attachment.last_modification_errors[0].message #=> String
4706
4881
  # resp.attachment.last_modification_errors[0].resource_arn #=> String
4707
4882
  # resp.attachment.last_modification_errors[0].request_id #=> String
@@ -5163,6 +5338,76 @@ module Aws::NetworkManager
5163
5338
  req.send_request(options)
5164
5339
  end
5165
5340
 
5341
+ # Updates the edge locations associated with an Amazon Web Services
5342
+ # Direct Connect gateway attachment.
5343
+ #
5344
+ # @option params [required, String] :attachment_id
5345
+ # The ID of the Direct Connect gateway attachment for the updated edge
5346
+ # locations.
5347
+ #
5348
+ # @option params [Array<String>] :edge_locations
5349
+ # One or more edge locations to update for the Direct Connect gateway
5350
+ # attachment. The updated array of edge locations overwrites the
5351
+ # previous array of locations. `EdgeLocations` is only used for Direct
5352
+ # Connect gateway attachments. Do
5353
+ #
5354
+ # @return [Types::UpdateDirectConnectGatewayAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5355
+ #
5356
+ # * {Types::UpdateDirectConnectGatewayAttachmentResponse#direct_connect_gateway_attachment #direct_connect_gateway_attachment} => Types::DirectConnectGatewayAttachment
5357
+ #
5358
+ # @example Request syntax with placeholder values
5359
+ #
5360
+ # resp = client.update_direct_connect_gateway_attachment({
5361
+ # attachment_id: "AttachmentId", # required
5362
+ # edge_locations: ["ExternalRegionCode"],
5363
+ # })
5364
+ #
5365
+ # @example Response structure
5366
+ #
5367
+ # resp.direct_connect_gateway_attachment.attachment.core_network_id #=> String
5368
+ # resp.direct_connect_gateway_attachment.attachment.core_network_arn #=> String
5369
+ # resp.direct_connect_gateway_attachment.attachment.attachment_id #=> String
5370
+ # resp.direct_connect_gateway_attachment.attachment.owner_account_id #=> String
5371
+ # resp.direct_connect_gateway_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
5372
+ # resp.direct_connect_gateway_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
5373
+ # resp.direct_connect_gateway_attachment.attachment.edge_location #=> String
5374
+ # resp.direct_connect_gateway_attachment.attachment.edge_locations #=> Array
5375
+ # resp.direct_connect_gateway_attachment.attachment.edge_locations[0] #=> String
5376
+ # resp.direct_connect_gateway_attachment.attachment.resource_arn #=> String
5377
+ # resp.direct_connect_gateway_attachment.attachment.attachment_policy_rule_number #=> Integer
5378
+ # resp.direct_connect_gateway_attachment.attachment.segment_name #=> String
5379
+ # resp.direct_connect_gateway_attachment.attachment.network_function_group_name #=> String
5380
+ # resp.direct_connect_gateway_attachment.attachment.tags #=> Array
5381
+ # resp.direct_connect_gateway_attachment.attachment.tags[0].key #=> String
5382
+ # resp.direct_connect_gateway_attachment.attachment.tags[0].value #=> String
5383
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags #=> Array
5384
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags[0].key #=> String
5385
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags[0].value #=> String
5386
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
5387
+ # resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.segment_name #=> String
5388
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags #=> Array
5389
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
5390
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
5391
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
5392
+ # resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
5393
+ # resp.direct_connect_gateway_attachment.attachment.created_at #=> Time
5394
+ # resp.direct_connect_gateway_attachment.attachment.updated_at #=> Time
5395
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors #=> Array
5396
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
5397
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].message #=> String
5398
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].resource_arn #=> String
5399
+ # resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].request_id #=> String
5400
+ # resp.direct_connect_gateway_attachment.direct_connect_gateway_arn #=> String
5401
+ #
5402
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateDirectConnectGatewayAttachment AWS API Documentation
5403
+ #
5404
+ # @overload update_direct_connect_gateway_attachment(params = {})
5405
+ # @param [Hash] params ({})
5406
+ def update_direct_connect_gateway_attachment(params = {}, options = {})
5407
+ req = build_request(:update_direct_connect_gateway_attachment, params)
5408
+ req.send_request(options)
5409
+ end
5410
+
5166
5411
  # Updates an existing global network. To remove information for any of
5167
5412
  # the parameters, specify an empty string.
5168
5413
  #
@@ -5417,9 +5662,11 @@ module Aws::NetworkManager
5417
5662
  # resp.vpc_attachment.attachment.core_network_arn #=> String
5418
5663
  # resp.vpc_attachment.attachment.attachment_id #=> String
5419
5664
  # resp.vpc_attachment.attachment.owner_account_id #=> String
5420
- # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "TRANSIT_GATEWAY_ROUTE_TABLE"
5665
+ # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
5421
5666
  # resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
5422
5667
  # resp.vpc_attachment.attachment.edge_location #=> String
5668
+ # resp.vpc_attachment.attachment.edge_locations #=> Array
5669
+ # resp.vpc_attachment.attachment.edge_locations[0] #=> String
5423
5670
  # resp.vpc_attachment.attachment.resource_arn #=> String
5424
5671
  # resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
5425
5672
  # resp.vpc_attachment.attachment.segment_name #=> String
@@ -5440,7 +5687,7 @@ module Aws::NetworkManager
5440
5687
  # resp.vpc_attachment.attachment.created_at #=> Time
5441
5688
  # resp.vpc_attachment.attachment.updated_at #=> Time
5442
5689
  # resp.vpc_attachment.attachment.last_modification_errors #=> Array
5443
- # resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"
5690
+ # resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"
5444
5691
  # resp.vpc_attachment.attachment.last_modification_errors[0].message #=> String
5445
5692
  # resp.vpc_attachment.attachment.last_modification_errors[0].resource_arn #=> String
5446
5693
  # resp.vpc_attachment.attachment.last_modification_errors[0].request_id #=> String
@@ -5476,7 +5723,7 @@ module Aws::NetworkManager
5476
5723
  tracer: tracer
5477
5724
  )
5478
5725
  context[:gem_name] = 'aws-sdk-networkmanager'
5479
- context[:gem_version] = '1.54.0'
5726
+ context[:gem_version] = '1.56.0'
5480
5727
  Seahorse::Client::Request.new(handlers, context)
5481
5728
  end
5482
5729