aws-sdk-networkmanager 1.55.0 → 1.56.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fe2756e6b717844d796124b88616ecbe1157384609a43bf8737636ea878a036
4
- data.tar.gz: 12951a2e10e750a3fd627bdda029044f91aedd8c1c0d4994d6476ec67f3c4779
3
+ metadata.gz: 1bb50bb31bcca279733460df550de90b0785321057ed98859f8c75522f99ca3d
4
+ data.tar.gz: 19666ef11684dc2ffe16be3af27d00c32d3255e14a8038e3dcd285176de6b804
5
5
  SHA512:
6
- metadata.gz: 267ad5c8e4fef5be3a8d5d580b1bdc4174141fe3c8ad71a111a39359a639dafaaaba06c33e7c078cad6440c3bbd3d7e8719f87e4f46cc5aa77c3627673e5f9c4
7
- data.tar.gz: f2f67426fb3335b69c7d496e481b5553880390798122bfe16c92725f11fd253839d1c358de4e797dac2e2c4851345bea7876080c5c6cd92ff0abe69ed233c544
6
+ metadata.gz: ced9f56245934ea9bc8421c27c0b20840b2dad18b3a536464ea6c65927c4ee1e26074da3db6d4adbe45b4ac7cf53babeb490856f95888620a3f1fc6e9e92fd56
7
+ data.tar.gz: 66568bdd928b22686e51d8c05bd02ce3f80fa79721f5d6d927fc6abc4c7effed2fa6c6a9bd54e3e35982663cdb92fbb22b1dc5dd175634927b7c57f92be4c7a2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.55.0 (2024-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.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.55.0'
5726
+ context[:gem_version] = '1.56.0'
5480
5727
  Seahorse::Client::Request.new(handlers, context)
5481
5728
  end
5482
5729
 
@@ -114,6 +114,8 @@ module Aws::NetworkManager
114
114
  CreateCoreNetworkResponse = Shapes::StructureShape.new(name: 'CreateCoreNetworkResponse')
115
115
  CreateDeviceRequest = Shapes::StructureShape.new(name: 'CreateDeviceRequest')
116
116
  CreateDeviceResponse = Shapes::StructureShape.new(name: 'CreateDeviceResponse')
117
+ CreateDirectConnectGatewayAttachmentRequest = Shapes::StructureShape.new(name: 'CreateDirectConnectGatewayAttachmentRequest')
118
+ CreateDirectConnectGatewayAttachmentResponse = Shapes::StructureShape.new(name: 'CreateDirectConnectGatewayAttachmentResponse')
117
119
  CreateGlobalNetworkRequest = Shapes::StructureShape.new(name: 'CreateGlobalNetworkRequest')
118
120
  CreateGlobalNetworkResponse = Shapes::StructureShape.new(name: 'CreateGlobalNetworkResponse')
119
121
  CreateLinkRequest = Shapes::StructureShape.new(name: 'CreateLinkRequest')
@@ -166,6 +168,8 @@ module Aws::NetworkManager
166
168
  DeviceIdList = Shapes::ListShape.new(name: 'DeviceIdList')
167
169
  DeviceList = Shapes::ListShape.new(name: 'DeviceList')
168
170
  DeviceState = Shapes::StringShape.new(name: 'DeviceState')
171
+ DirectConnectGatewayArn = Shapes::StringShape.new(name: 'DirectConnectGatewayArn')
172
+ DirectConnectGatewayAttachment = Shapes::StructureShape.new(name: 'DirectConnectGatewayAttachment')
169
173
  DisassociateConnectPeerRequest = Shapes::StructureShape.new(name: 'DisassociateConnectPeerRequest')
170
174
  DisassociateConnectPeerResponse = Shapes::StructureShape.new(name: 'DisassociateConnectPeerResponse')
171
175
  DisassociateCustomerGatewayRequest = Shapes::StructureShape.new(name: 'DisassociateCustomerGatewayRequest')
@@ -208,6 +212,8 @@ module Aws::NetworkManager
208
212
  GetCustomerGatewayAssociationsResponse = Shapes::StructureShape.new(name: 'GetCustomerGatewayAssociationsResponse')
209
213
  GetDevicesRequest = Shapes::StructureShape.new(name: 'GetDevicesRequest')
210
214
  GetDevicesResponse = Shapes::StructureShape.new(name: 'GetDevicesResponse')
215
+ GetDirectConnectGatewayAttachmentRequest = Shapes::StructureShape.new(name: 'GetDirectConnectGatewayAttachmentRequest')
216
+ GetDirectConnectGatewayAttachmentResponse = Shapes::StructureShape.new(name: 'GetDirectConnectGatewayAttachmentResponse')
211
217
  GetLinkAssociationsRequest = Shapes::StructureShape.new(name: 'GetLinkAssociationsRequest')
212
218
  GetLinkAssociationsResponse = Shapes::StructureShape.new(name: 'GetLinkAssociationsResponse')
213
219
  GetLinksRequest = Shapes::StructureShape.new(name: 'GetLinksRequest')
@@ -395,6 +401,8 @@ module Aws::NetworkManager
395
401
  UpdateCoreNetworkResponse = Shapes::StructureShape.new(name: 'UpdateCoreNetworkResponse')
396
402
  UpdateDeviceRequest = Shapes::StructureShape.new(name: 'UpdateDeviceRequest')
397
403
  UpdateDeviceResponse = Shapes::StructureShape.new(name: 'UpdateDeviceResponse')
404
+ UpdateDirectConnectGatewayAttachmentRequest = Shapes::StructureShape.new(name: 'UpdateDirectConnectGatewayAttachmentRequest')
405
+ UpdateDirectConnectGatewayAttachmentResponse = Shapes::StructureShape.new(name: 'UpdateDirectConnectGatewayAttachmentResponse')
398
406
  UpdateGlobalNetworkRequest = Shapes::StructureShape.new(name: 'UpdateGlobalNetworkRequest')
399
407
  UpdateGlobalNetworkResponse = Shapes::StructureShape.new(name: 'UpdateGlobalNetworkResponse')
400
408
  UpdateLinkRequest = Shapes::StructureShape.new(name: 'UpdateLinkRequest')
@@ -479,6 +487,7 @@ module Aws::NetworkManager
479
487
  Attachment.add_member(:attachment_type, Shapes::ShapeRef.new(shape: AttachmentType, location_name: "AttachmentType"))
480
488
  Attachment.add_member(:state, Shapes::ShapeRef.new(shape: AttachmentState, location_name: "State"))
481
489
  Attachment.add_member(:edge_location, Shapes::ShapeRef.new(shape: ExternalRegionCode, location_name: "EdgeLocation"))
490
+ Attachment.add_member(:edge_locations, Shapes::ShapeRef.new(shape: ExternalRegionCodeList, location_name: "EdgeLocations"))
482
491
  Attachment.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
483
492
  Attachment.add_member(:attachment_policy_rule_number, Shapes::ShapeRef.new(shape: Integer, location_name: "AttachmentPolicyRuleNumber"))
484
493
  Attachment.add_member(:segment_name, Shapes::ShapeRef.new(shape: ConstrainedString, location_name: "SegmentName"))
@@ -787,6 +796,16 @@ module Aws::NetworkManager
787
796
  CreateDeviceResponse.add_member(:device, Shapes::ShapeRef.new(shape: Device, location_name: "Device"))
788
797
  CreateDeviceResponse.struct_class = Types::CreateDeviceResponse
789
798
 
799
+ CreateDirectConnectGatewayAttachmentRequest.add_member(:core_network_id, Shapes::ShapeRef.new(shape: CoreNetworkId, required: true, location_name: "CoreNetworkId"))
800
+ CreateDirectConnectGatewayAttachmentRequest.add_member(:direct_connect_gateway_arn, Shapes::ShapeRef.new(shape: DirectConnectGatewayArn, required: true, location_name: "DirectConnectGatewayArn"))
801
+ CreateDirectConnectGatewayAttachmentRequest.add_member(:edge_locations, Shapes::ShapeRef.new(shape: ExternalRegionCodeList, required: true, location_name: "EdgeLocations"))
802
+ CreateDirectConnectGatewayAttachmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
803
+ CreateDirectConnectGatewayAttachmentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
804
+ CreateDirectConnectGatewayAttachmentRequest.struct_class = Types::CreateDirectConnectGatewayAttachmentRequest
805
+
806
+ CreateDirectConnectGatewayAttachmentResponse.add_member(:direct_connect_gateway_attachment, Shapes::ShapeRef.new(shape: DirectConnectGatewayAttachment, location_name: "DirectConnectGatewayAttachment"))
807
+ CreateDirectConnectGatewayAttachmentResponse.struct_class = Types::CreateDirectConnectGatewayAttachmentResponse
808
+
790
809
  CreateGlobalNetworkRequest.add_member(:description, Shapes::ShapeRef.new(shape: ConstrainedString, location_name: "Description"))
791
810
  CreateGlobalNetworkRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
792
811
  CreateGlobalNetworkRequest.struct_class = Types::CreateGlobalNetworkRequest
@@ -970,6 +989,10 @@ module Aws::NetworkManager
970
989
 
971
990
  DeviceList.member = Shapes::ShapeRef.new(shape: Device)
972
991
 
992
+ DirectConnectGatewayAttachment.add_member(:attachment, Shapes::ShapeRef.new(shape: Attachment, location_name: "Attachment"))
993
+ DirectConnectGatewayAttachment.add_member(:direct_connect_gateway_arn, Shapes::ShapeRef.new(shape: DirectConnectGatewayArn, location_name: "DirectConnectGatewayArn"))
994
+ DirectConnectGatewayAttachment.struct_class = Types::DirectConnectGatewayAttachment
995
+
973
996
  DisassociateConnectPeerRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: GlobalNetworkId, required: true, location: "uri", location_name: "globalNetworkId"))
974
997
  DisassociateConnectPeerRequest.add_member(:connect_peer_id, Shapes::ShapeRef.new(shape: ConnectPeerId, required: true, location: "uri", location_name: "connectPeerId"))
975
998
  DisassociateConnectPeerRequest.struct_class = Types::DisassociateConnectPeerRequest
@@ -1111,6 +1134,12 @@ module Aws::NetworkManager
1111
1134
  GetDevicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1112
1135
  GetDevicesResponse.struct_class = Types::GetDevicesResponse
1113
1136
 
1137
+ GetDirectConnectGatewayAttachmentRequest.add_member(:attachment_id, Shapes::ShapeRef.new(shape: AttachmentId, required: true, location: "uri", location_name: "attachmentId"))
1138
+ GetDirectConnectGatewayAttachmentRequest.struct_class = Types::GetDirectConnectGatewayAttachmentRequest
1139
+
1140
+ GetDirectConnectGatewayAttachmentResponse.add_member(:direct_connect_gateway_attachment, Shapes::ShapeRef.new(shape: DirectConnectGatewayAttachment, location_name: "DirectConnectGatewayAttachment"))
1141
+ GetDirectConnectGatewayAttachmentResponse.struct_class = Types::GetDirectConnectGatewayAttachmentResponse
1142
+
1114
1143
  GetLinkAssociationsRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: GlobalNetworkId, required: true, location: "uri", location_name: "globalNetworkId"))
1115
1144
  GetLinkAssociationsRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location: "querystring", location_name: "deviceId"))
1116
1145
  GetLinkAssociationsRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: LinkId, location: "querystring", location_name: "linkId"))
@@ -1743,6 +1772,13 @@ module Aws::NetworkManager
1743
1772
  UpdateDeviceResponse.add_member(:device, Shapes::ShapeRef.new(shape: Device, location_name: "Device"))
1744
1773
  UpdateDeviceResponse.struct_class = Types::UpdateDeviceResponse
1745
1774
 
1775
+ UpdateDirectConnectGatewayAttachmentRequest.add_member(:attachment_id, Shapes::ShapeRef.new(shape: AttachmentId, required: true, location: "uri", location_name: "attachmentId"))
1776
+ UpdateDirectConnectGatewayAttachmentRequest.add_member(:edge_locations, Shapes::ShapeRef.new(shape: ExternalRegionCodeList, location_name: "EdgeLocations"))
1777
+ UpdateDirectConnectGatewayAttachmentRequest.struct_class = Types::UpdateDirectConnectGatewayAttachmentRequest
1778
+
1779
+ UpdateDirectConnectGatewayAttachmentResponse.add_member(:direct_connect_gateway_attachment, Shapes::ShapeRef.new(shape: DirectConnectGatewayAttachment, location_name: "DirectConnectGatewayAttachment"))
1780
+ UpdateDirectConnectGatewayAttachmentResponse.struct_class = Types::UpdateDirectConnectGatewayAttachmentResponse
1781
+
1746
1782
  UpdateGlobalNetworkRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: GlobalNetworkId, required: true, location: "uri", location_name: "globalNetworkId"))
1747
1783
  UpdateGlobalNetworkRequest.add_member(:description, Shapes::ShapeRef.new(shape: ConstrainedString, location_name: "Description"))
1748
1784
  UpdateGlobalNetworkRequest.struct_class = Types::UpdateGlobalNetworkRequest
@@ -1986,6 +2022,20 @@ module Aws::NetworkManager
1986
2022
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1987
2023
  end)
1988
2024
 
2025
+ api.add_operation(:create_direct_connect_gateway_attachment, Seahorse::Model::Operation.new.tap do |o|
2026
+ o.name = "CreateDirectConnectGatewayAttachment"
2027
+ o.http_method = "POST"
2028
+ o.http_request_uri = "/direct-connect-gateway-attachments"
2029
+ o.input = Shapes::ShapeRef.new(shape: CreateDirectConnectGatewayAttachmentRequest)
2030
+ o.output = Shapes::ShapeRef.new(shape: CreateDirectConnectGatewayAttachmentResponse)
2031
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2032
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2033
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2034
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2035
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2036
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2037
+ end)
2038
+
1989
2039
  api.add_operation(:create_global_network, Seahorse::Model::Operation.new.tap do |o|
1990
2040
  o.name = "CreateGlobalNetwork"
1991
2041
  o.http_method = "POST"
@@ -2510,6 +2560,19 @@ module Aws::NetworkManager
2510
2560
  )
2511
2561
  end)
2512
2562
 
2563
+ api.add_operation(:get_direct_connect_gateway_attachment, Seahorse::Model::Operation.new.tap do |o|
2564
+ o.name = "GetDirectConnectGatewayAttachment"
2565
+ o.http_method = "GET"
2566
+ o.http_request_uri = "/direct-connect-gateway-attachments/{attachmentId}"
2567
+ o.input = Shapes::ShapeRef.new(shape: GetDirectConnectGatewayAttachmentRequest)
2568
+ o.output = Shapes::ShapeRef.new(shape: GetDirectConnectGatewayAttachmentResponse)
2569
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2570
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2571
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2572
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2573
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2574
+ end)
2575
+
2513
2576
  api.add_operation(:get_link_associations, Seahorse::Model::Operation.new.tap do |o|
2514
2577
  o.name = "GetLinkAssociations"
2515
2578
  o.http_method = "GET"
@@ -3053,6 +3116,20 @@ module Aws::NetworkManager
3053
3116
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3054
3117
  end)
3055
3118
 
3119
+ api.add_operation(:update_direct_connect_gateway_attachment, Seahorse::Model::Operation.new.tap do |o|
3120
+ o.name = "UpdateDirectConnectGatewayAttachment"
3121
+ o.http_method = "PATCH"
3122
+ o.http_request_uri = "/direct-connect-gateway-attachments/{attachmentId}"
3123
+ o.input = Shapes::ShapeRef.new(shape: UpdateDirectConnectGatewayAttachmentRequest)
3124
+ o.output = Shapes::ShapeRef.new(shape: UpdateDirectConnectGatewayAttachmentResponse)
3125
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3126
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3127
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3128
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3129
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3130
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3131
+ end)
3132
+
3056
3133
  api.add_operation(:update_global_network, Seahorse::Model::Operation.new.tap do |o|
3057
3134
  o.name = "UpdateGlobalNetwork"
3058
3135
  o.http_method = "PATCH"
@@ -266,9 +266,17 @@ module Aws::NetworkManager
266
266
  # @return [String]
267
267
  #
268
268
  # @!attribute [rw] edge_location
269
- # The Region where the edge is located.
269
+ # The Region where the edge is located. This is returned for all
270
+ # attachment types except a Direct Connect gateway attachment, which
271
+ # instead returns `EdgeLocations`.
270
272
  # @return [String]
271
273
  #
274
+ # @!attribute [rw] edge_locations
275
+ # The edge locations that the Direct Connect gateway is associated
276
+ # with. This is returned only for Direct Connect gateway attachments.
277
+ # All other attachment types retrun `EdgeLocation`.
278
+ # @return [Array<String>]
279
+ #
272
280
  # @!attribute [rw] resource_arn
273
281
  # The attachment resource ARN.
274
282
  # @return [String]
@@ -320,6 +328,7 @@ module Aws::NetworkManager
320
328
  :attachment_type,
321
329
  :state,
322
330
  :edge_location,
331
+ :edge_locations,
323
332
  :resource_arn,
324
333
  :attachment_policy_rule_number,
325
334
  :segment_name,
@@ -1609,6 +1618,57 @@ module Aws::NetworkManager
1609
1618
  include Aws::Structure
1610
1619
  end
1611
1620
 
1621
+ # @!attribute [rw] core_network_id
1622
+ # The ID of the Cloud WAN core network that the Direct Connect gateway
1623
+ # attachment should be attached to.
1624
+ # @return [String]
1625
+ #
1626
+ # @!attribute [rw] direct_connect_gateway_arn
1627
+ # The ARN of the Direct Connect gateway attachment.
1628
+ # @return [String]
1629
+ #
1630
+ # @!attribute [rw] edge_locations
1631
+ # One or more core network edge locations that the Direct Connect
1632
+ # gateway attachment is associated with.
1633
+ # @return [Array<String>]
1634
+ #
1635
+ # @!attribute [rw] tags
1636
+ # The key value tags to apply to the Direct Connect gateway attachment
1637
+ # during creation.
1638
+ # @return [Array<Types::Tag>]
1639
+ #
1640
+ # @!attribute [rw] client_token
1641
+ # client token
1642
+ #
1643
+ # **A suitable default value is auto-generated.** You should normally
1644
+ # not need to pass this option.
1645
+ # @return [String]
1646
+ #
1647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateDirectConnectGatewayAttachmentRequest AWS API Documentation
1648
+ #
1649
+ class CreateDirectConnectGatewayAttachmentRequest < Struct.new(
1650
+ :core_network_id,
1651
+ :direct_connect_gateway_arn,
1652
+ :edge_locations,
1653
+ :tags,
1654
+ :client_token)
1655
+ SENSITIVE = []
1656
+ include Aws::Structure
1657
+ end
1658
+
1659
+ # @!attribute [rw] direct_connect_gateway_attachment
1660
+ # Describes the details of a `CreateDirectConnectGatewayAttachment`
1661
+ # request.
1662
+ # @return [Types::DirectConnectGatewayAttachment]
1663
+ #
1664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateDirectConnectGatewayAttachmentResponse AWS API Documentation
1665
+ #
1666
+ class CreateDirectConnectGatewayAttachmentResponse < Struct.new(
1667
+ :direct_connect_gateway_attachment)
1668
+ SENSITIVE = []
1669
+ include Aws::Structure
1670
+ end
1671
+
1612
1672
  # @!attribute [rw] description
1613
1673
  # A description of the global network.
1614
1674
  #
@@ -2397,6 +2457,25 @@ module Aws::NetworkManager
2397
2457
  include Aws::Structure
2398
2458
  end
2399
2459
 
2460
+ # Describes a Direct Connect gateway attachment.
2461
+ #
2462
+ # @!attribute [rw] attachment
2463
+ # Describes a core network attachment.
2464
+ # @return [Types::Attachment]
2465
+ #
2466
+ # @!attribute [rw] direct_connect_gateway_arn
2467
+ # The Direct Connect gateway attachment ARN.
2468
+ # @return [String]
2469
+ #
2470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DirectConnectGatewayAttachment AWS API Documentation
2471
+ #
2472
+ class DirectConnectGatewayAttachment < Struct.new(
2473
+ :attachment,
2474
+ :direct_connect_gateway_arn)
2475
+ SENSITIVE = []
2476
+ include Aws::Structure
2477
+ end
2478
+
2400
2479
  # @!attribute [rw] global_network_id
2401
2480
  # The ID of the global network.
2402
2481
  # @return [String]
@@ -2939,6 +3018,31 @@ module Aws::NetworkManager
2939
3018
  include Aws::Structure
2940
3019
  end
2941
3020
 
3021
+ # @!attribute [rw] attachment_id
3022
+ # The ID of the Direct Connect gateway attachment that you want to see
3023
+ # details about.
3024
+ # @return [String]
3025
+ #
3026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetDirectConnectGatewayAttachmentRequest AWS API Documentation
3027
+ #
3028
+ class GetDirectConnectGatewayAttachmentRequest < Struct.new(
3029
+ :attachment_id)
3030
+ SENSITIVE = []
3031
+ include Aws::Structure
3032
+ end
3033
+
3034
+ # @!attribute [rw] direct_connect_gateway_attachment
3035
+ # Shows details about the Direct Connect gateway attachment.
3036
+ # @return [Types::DirectConnectGatewayAttachment]
3037
+ #
3038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetDirectConnectGatewayAttachmentResponse AWS API Documentation
3039
+ #
3040
+ class GetDirectConnectGatewayAttachmentResponse < Struct.new(
3041
+ :direct_connect_gateway_attachment)
3042
+ SENSITIVE = []
3043
+ include Aws::Structure
3044
+ end
3045
+
2942
3046
  # @!attribute [rw] global_network_id
2943
3047
  # The ID of the global network.
2944
3048
  # @return [String]
@@ -5796,6 +5900,40 @@ module Aws::NetworkManager
5796
5900
  include Aws::Structure
5797
5901
  end
5798
5902
 
5903
+ # @!attribute [rw] attachment_id
5904
+ # The ID of the Direct Connect gateway attachment for the updated edge
5905
+ # locations.
5906
+ # @return [String]
5907
+ #
5908
+ # @!attribute [rw] edge_locations
5909
+ # One or more edge locations to update for the Direct Connect gateway
5910
+ # attachment. The updated array of edge locations overwrites the
5911
+ # previous array of locations. `EdgeLocations` is only used for Direct
5912
+ # Connect gateway attachments. Do
5913
+ # @return [Array<String>]
5914
+ #
5915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateDirectConnectGatewayAttachmentRequest AWS API Documentation
5916
+ #
5917
+ class UpdateDirectConnectGatewayAttachmentRequest < Struct.new(
5918
+ :attachment_id,
5919
+ :edge_locations)
5920
+ SENSITIVE = []
5921
+ include Aws::Structure
5922
+ end
5923
+
5924
+ # @!attribute [rw] direct_connect_gateway_attachment
5925
+ # Returns details of the Direct Connect gateway attachment with the
5926
+ # updated edge locations.
5927
+ # @return [Types::DirectConnectGatewayAttachment]
5928
+ #
5929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateDirectConnectGatewayAttachmentResponse AWS API Documentation
5930
+ #
5931
+ class UpdateDirectConnectGatewayAttachmentResponse < Struct.new(
5932
+ :direct_connect_gateway_attachment)
5933
+ SENSITIVE = []
5934
+ include Aws::Structure
5935
+ end
5936
+
5799
5937
  # @!attribute [rw] global_network_id
5800
5938
  # The ID of your global network.
5801
5939
  # @return [String]
@@ -54,7 +54,7 @@ module Aws::NetworkManager
54
54
  autoload :EndpointProvider, 'aws-sdk-networkmanager/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-networkmanager/endpoints'
56
56
 
57
- GEM_VERSION = '1.55.0'
57
+ GEM_VERSION = '1.56.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -253,6 +253,25 @@ module Aws
253
253
  ) -> _CreateDeviceResponseSuccess
254
254
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeviceResponseSuccess
255
255
 
256
+ interface _CreateDirectConnectGatewayAttachmentResponseSuccess
257
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDirectConnectGatewayAttachmentResponse]
258
+ def direct_connect_gateway_attachment: () -> Types::DirectConnectGatewayAttachment
259
+ end
260
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#create_direct_connect_gateway_attachment-instance_method
261
+ def create_direct_connect_gateway_attachment: (
262
+ core_network_id: ::String,
263
+ direct_connect_gateway_arn: ::String,
264
+ edge_locations: Array[::String],
265
+ ?tags: Array[
266
+ {
267
+ key: ::String?,
268
+ value: ::String?
269
+ },
270
+ ],
271
+ ?client_token: ::String
272
+ ) -> _CreateDirectConnectGatewayAttachmentResponseSuccess
273
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDirectConnectGatewayAttachmentResponseSuccess
274
+
256
275
  interface _CreateGlobalNetworkResponseSuccess
257
276
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateGlobalNetworkResponse]
258
277
  def global_network: () -> Types::GlobalNetwork
@@ -713,6 +732,16 @@ module Aws
713
732
  ) -> _GetDevicesResponseSuccess
714
733
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDevicesResponseSuccess
715
734
 
735
+ interface _GetDirectConnectGatewayAttachmentResponseSuccess
736
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDirectConnectGatewayAttachmentResponse]
737
+ def direct_connect_gateway_attachment: () -> Types::DirectConnectGatewayAttachment
738
+ end
739
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#get_direct_connect_gateway_attachment-instance_method
740
+ def get_direct_connect_gateway_attachment: (
741
+ attachment_id: ::String
742
+ ) -> _GetDirectConnectGatewayAttachmentResponseSuccess
743
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDirectConnectGatewayAttachmentResponseSuccess
744
+
716
745
  interface _GetLinkAssociationsResponseSuccess
717
746
  include ::Seahorse::Client::_ResponseSuccess[Types::GetLinkAssociationsResponse]
718
747
  def link_associations: () -> ::Array[Types::LinkAssociation]
@@ -962,7 +991,7 @@ module Aws
962
991
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#list_attachments-instance_method
963
992
  def list_attachments: (
964
993
  ?core_network_id: ::String,
965
- ?attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "TRANSIT_GATEWAY_ROUTE_TABLE"),
994
+ ?attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "DIRECT_CONNECT_GATEWAY" | "TRANSIT_GATEWAY_ROUTE_TABLE"),
966
995
  ?edge_location: ::String,
967
996
  ?state: ("REJECTED" | "PENDING_ATTACHMENT_ACCEPTANCE" | "CREATING" | "FAILED" | "AVAILABLE" | "UPDATING" | "PENDING_NETWORK_UPDATE" | "PENDING_TAG_ACCEPTANCE" | "DELETING"),
968
997
  ?max_results: ::Integer,
@@ -1209,6 +1238,17 @@ module Aws
1209
1238
  ) -> _UpdateDeviceResponseSuccess
1210
1239
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDeviceResponseSuccess
1211
1240
 
1241
+ interface _UpdateDirectConnectGatewayAttachmentResponseSuccess
1242
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDirectConnectGatewayAttachmentResponse]
1243
+ def direct_connect_gateway_attachment: () -> Types::DirectConnectGatewayAttachment
1244
+ end
1245
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#update_direct_connect_gateway_attachment-instance_method
1246
+ def update_direct_connect_gateway_attachment: (
1247
+ attachment_id: ::String,
1248
+ ?edge_locations: Array[::String]
1249
+ ) -> _UpdateDirectConnectGatewayAttachmentResponseSuccess
1250
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDirectConnectGatewayAttachmentResponseSuccess
1251
+
1212
1252
  interface _UpdateGlobalNetworkResponseSuccess
1213
1253
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGlobalNetworkResponse]
1214
1254
  def global_network: () -> Types::GlobalNetwork
data/sig/types.rbs CHANGED
@@ -91,9 +91,10 @@ module Aws::NetworkManager
91
91
  attr_accessor core_network_arn: ::String
92
92
  attr_accessor attachment_id: ::String
93
93
  attr_accessor owner_account_id: ::String
94
- attr_accessor attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "TRANSIT_GATEWAY_ROUTE_TABLE")
94
+ attr_accessor attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "DIRECT_CONNECT_GATEWAY" | "TRANSIT_GATEWAY_ROUTE_TABLE")
95
95
  attr_accessor state: ("REJECTED" | "PENDING_ATTACHMENT_ACCEPTANCE" | "CREATING" | "FAILED" | "AVAILABLE" | "UPDATING" | "PENDING_NETWORK_UPDATE" | "PENDING_TAG_ACCEPTANCE" | "DELETING")
96
96
  attr_accessor edge_location: ::String
97
+ attr_accessor edge_locations: ::Array[::String]
97
98
  attr_accessor resource_arn: ::String
98
99
  attr_accessor attachment_policy_rule_number: ::Integer
99
100
  attr_accessor segment_name: ::String
@@ -108,7 +109,7 @@ module Aws::NetworkManager
108
109
  end
109
110
 
110
111
  class AttachmentError
111
- attr_accessor code: ("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")
112
+ attr_accessor code: ("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")
112
113
  attr_accessor message: ::String
113
114
  attr_accessor resource_arn: ::String
114
115
  attr_accessor request_id: ::String
@@ -445,6 +446,20 @@ module Aws::NetworkManager
445
446
  SENSITIVE: []
446
447
  end
447
448
 
449
+ class CreateDirectConnectGatewayAttachmentRequest
450
+ attr_accessor core_network_id: ::String
451
+ attr_accessor direct_connect_gateway_arn: ::String
452
+ attr_accessor edge_locations: ::Array[::String]
453
+ attr_accessor tags: ::Array[Types::Tag]
454
+ attr_accessor client_token: ::String
455
+ SENSITIVE: []
456
+ end
457
+
458
+ class CreateDirectConnectGatewayAttachmentResponse
459
+ attr_accessor direct_connect_gateway_attachment: Types::DirectConnectGatewayAttachment
460
+ SENSITIVE: []
461
+ end
462
+
448
463
  class CreateGlobalNetworkRequest
449
464
  attr_accessor description: ::String
450
465
  attr_accessor tags: ::Array[Types::Tag]
@@ -703,6 +718,12 @@ module Aws::NetworkManager
703
718
  SENSITIVE: [:location]
704
719
  end
705
720
 
721
+ class DirectConnectGatewayAttachment
722
+ attr_accessor attachment: Types::Attachment
723
+ attr_accessor direct_connect_gateway_arn: ::String
724
+ SENSITIVE: []
725
+ end
726
+
706
727
  class DisassociateConnectPeerRequest
707
728
  attr_accessor global_network_id: ::String
708
729
  attr_accessor connect_peer_id: ::String
@@ -891,6 +912,16 @@ module Aws::NetworkManager
891
912
  SENSITIVE: []
892
913
  end
893
914
 
915
+ class GetDirectConnectGatewayAttachmentRequest
916
+ attr_accessor attachment_id: ::String
917
+ SENSITIVE: []
918
+ end
919
+
920
+ class GetDirectConnectGatewayAttachmentResponse
921
+ attr_accessor direct_connect_gateway_attachment: Types::DirectConnectGatewayAttachment
922
+ SENSITIVE: []
923
+ end
924
+
894
925
  class GetLinkAssociationsRequest
895
926
  attr_accessor global_network_id: ::String
896
927
  attr_accessor device_id: ::String
@@ -1161,7 +1192,7 @@ module Aws::NetworkManager
1161
1192
 
1162
1193
  class ListAttachmentsRequest
1163
1194
  attr_accessor core_network_id: ::String
1164
- attr_accessor attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "TRANSIT_GATEWAY_ROUTE_TABLE")
1195
+ attr_accessor attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "DIRECT_CONNECT_GATEWAY" | "TRANSIT_GATEWAY_ROUTE_TABLE")
1165
1196
  attr_accessor edge_location: ::String
1166
1197
  attr_accessor state: ("REJECTED" | "PENDING_ATTACHMENT_ACCEPTANCE" | "CREATING" | "FAILED" | "AVAILABLE" | "UPDATING" | "PENDING_NETWORK_UPDATE" | "PENDING_TAG_ACCEPTANCE" | "DELETING")
1167
1198
  attr_accessor max_results: ::Integer
@@ -1678,6 +1709,17 @@ module Aws::NetworkManager
1678
1709
  SENSITIVE: []
1679
1710
  end
1680
1711
 
1712
+ class UpdateDirectConnectGatewayAttachmentRequest
1713
+ attr_accessor attachment_id: ::String
1714
+ attr_accessor edge_locations: ::Array[::String]
1715
+ SENSITIVE: []
1716
+ end
1717
+
1718
+ class UpdateDirectConnectGatewayAttachmentResponse
1719
+ attr_accessor direct_connect_gateway_attachment: Types::DirectConnectGatewayAttachment
1720
+ SENSITIVE: []
1721
+ end
1722
+
1681
1723
  class UpdateGlobalNetworkRequest
1682
1724
  attr_accessor global_network_id: ::String
1683
1725
  attr_accessor description: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-networkmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.55.0
4
+ version: 1.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core