Skip to content

Commit 4a7eea0

Browse files
author
awstools
committed
feat(client-networkmanager): 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.
1 parent 26dccd9 commit 4a7eea0

23 files changed

+1285
-29
lines changed

clients/client-networkmanager/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,14 @@ CreateDevice
282282

283283
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmanager/command/CreateDeviceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmanager/Interface/CreateDeviceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmanager/Interface/CreateDeviceCommandOutput/)
284284

285+
</details>
286+
<details>
287+
<summary>
288+
CreateDirectConnectGatewayAttachment
289+
</summary>
290+
291+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmanager/command/CreateDirectConnectGatewayAttachmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmanager/Interface/CreateDirectConnectGatewayAttachmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmanager/Interface/CreateDirectConnectGatewayAttachmentCommandOutput/)
292+
285293
</details>
286294
<details>
287295
<summary>
@@ -562,6 +570,14 @@ GetDevices
562570

563571
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmanager/command/GetDevicesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmanager/Interface/GetDevicesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmanager/Interface/GetDevicesCommandOutput/)
564572

573+
</details>
574+
<details>
575+
<summary>
576+
GetDirectConnectGatewayAttachment
577+
</summary>
578+
579+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmanager/command/GetDirectConnectGatewayAttachmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmanager/Interface/GetDirectConnectGatewayAttachmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmanager/Interface/GetDirectConnectGatewayAttachmentCommandOutput/)
580+
565581
</details>
566582
<details>
567583
<summary>
@@ -842,6 +858,14 @@ UpdateDevice
842858

843859
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmanager/command/UpdateDeviceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmanager/Interface/UpdateDeviceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmanager/Interface/UpdateDeviceCommandOutput/)
844860

861+
</details>
862+
<details>
863+
<summary>
864+
UpdateDirectConnectGatewayAttachment
865+
</summary>
866+
867+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmanager/command/UpdateDirectConnectGatewayAttachmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmanager/Interface/UpdateDirectConnectGatewayAttachmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmanager/Interface/UpdateDirectConnectGatewayAttachmentCommandOutput/)
868+
845869
</details>
846870
<details>
847871
<summary>

clients/client-networkmanager/src/NetworkManager.ts

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ import {
5252
CreateDeviceCommandInput,
5353
CreateDeviceCommandOutput,
5454
} from "./commands/CreateDeviceCommand";
55+
import {
56+
CreateDirectConnectGatewayAttachmentCommand,
57+
CreateDirectConnectGatewayAttachmentCommandInput,
58+
CreateDirectConnectGatewayAttachmentCommandOutput,
59+
} from "./commands/CreateDirectConnectGatewayAttachmentCommand";
5560
import {
5661
CreateGlobalNetworkCommand,
5762
CreateGlobalNetworkCommandInput,
@@ -207,6 +212,11 @@ import {
207212
GetCustomerGatewayAssociationsCommandOutput,
208213
} from "./commands/GetCustomerGatewayAssociationsCommand";
209214
import { GetDevicesCommand, GetDevicesCommandInput, GetDevicesCommandOutput } from "./commands/GetDevicesCommand";
215+
import {
216+
GetDirectConnectGatewayAttachmentCommand,
217+
GetDirectConnectGatewayAttachmentCommandInput,
218+
GetDirectConnectGatewayAttachmentCommandOutput,
219+
} from "./commands/GetDirectConnectGatewayAttachmentCommand";
210220
import {
211221
GetLinkAssociationsCommand,
212222
GetLinkAssociationsCommandInput,
@@ -370,6 +380,11 @@ import {
370380
UpdateDeviceCommandInput,
371381
UpdateDeviceCommandOutput,
372382
} from "./commands/UpdateDeviceCommand";
383+
import {
384+
UpdateDirectConnectGatewayAttachmentCommand,
385+
UpdateDirectConnectGatewayAttachmentCommandInput,
386+
UpdateDirectConnectGatewayAttachmentCommandOutput,
387+
} from "./commands/UpdateDirectConnectGatewayAttachmentCommand";
373388
import {
374389
UpdateGlobalNetworkCommand,
375390
UpdateGlobalNetworkCommandInput,
@@ -400,6 +415,7 @@ const commands = {
400415
CreateConnectPeerCommand,
401416
CreateCoreNetworkCommand,
402417
CreateDeviceCommand,
418+
CreateDirectConnectGatewayAttachmentCommand,
403419
CreateGlobalNetworkCommand,
404420
CreateLinkCommand,
405421
CreateSiteCommand,
@@ -435,6 +451,7 @@ const commands = {
435451
GetCoreNetworkPolicyCommand,
436452
GetCustomerGatewayAssociationsCommand,
437453
GetDevicesCommand,
454+
GetDirectConnectGatewayAttachmentCommand,
438455
GetLinkAssociationsCommand,
439456
GetLinksCommand,
440457
GetNetworkResourceCountsCommand,
@@ -470,6 +487,7 @@ const commands = {
470487
UpdateConnectionCommand,
471488
UpdateCoreNetworkCommand,
472489
UpdateDeviceCommand,
490+
UpdateDirectConnectGatewayAttachmentCommand,
473491
UpdateGlobalNetworkCommand,
474492
UpdateLinkCommand,
475493
UpdateNetworkResourceMetadataCommand,
@@ -636,6 +654,23 @@ export interface NetworkManager {
636654
cb: (err: any, data?: CreateDeviceCommandOutput) => void
637655
): void;
638656

657+
/**
658+
* @see {@link CreateDirectConnectGatewayAttachmentCommand}
659+
*/
660+
createDirectConnectGatewayAttachment(
661+
args: CreateDirectConnectGatewayAttachmentCommandInput,
662+
options?: __HttpHandlerOptions
663+
): Promise<CreateDirectConnectGatewayAttachmentCommandOutput>;
664+
createDirectConnectGatewayAttachment(
665+
args: CreateDirectConnectGatewayAttachmentCommandInput,
666+
cb: (err: any, data?: CreateDirectConnectGatewayAttachmentCommandOutput) => void
667+
): void;
668+
createDirectConnectGatewayAttachment(
669+
args: CreateDirectConnectGatewayAttachmentCommandInput,
670+
options: __HttpHandlerOptions,
671+
cb: (err: any, data?: CreateDirectConnectGatewayAttachmentCommandOutput) => void
672+
): void;
673+
639674
/**
640675
* @see {@link CreateGlobalNetworkCommand}
641676
*/
@@ -1182,6 +1217,23 @@ export interface NetworkManager {
11821217
cb: (err: any, data?: GetDevicesCommandOutput) => void
11831218
): void;
11841219

1220+
/**
1221+
* @see {@link GetDirectConnectGatewayAttachmentCommand}
1222+
*/
1223+
getDirectConnectGatewayAttachment(
1224+
args: GetDirectConnectGatewayAttachmentCommandInput,
1225+
options?: __HttpHandlerOptions
1226+
): Promise<GetDirectConnectGatewayAttachmentCommandOutput>;
1227+
getDirectConnectGatewayAttachment(
1228+
args: GetDirectConnectGatewayAttachmentCommandInput,
1229+
cb: (err: any, data?: GetDirectConnectGatewayAttachmentCommandOutput) => void
1230+
): void;
1231+
getDirectConnectGatewayAttachment(
1232+
args: GetDirectConnectGatewayAttachmentCommandInput,
1233+
options: __HttpHandlerOptions,
1234+
cb: (err: any, data?: GetDirectConnectGatewayAttachmentCommandOutput) => void
1235+
): void;
1236+
11851237
/**
11861238
* @see {@link GetLinkAssociationsCommand}
11871239
*/
@@ -1743,6 +1795,23 @@ export interface NetworkManager {
17431795
cb: (err: any, data?: UpdateDeviceCommandOutput) => void
17441796
): void;
17451797

1798+
/**
1799+
* @see {@link UpdateDirectConnectGatewayAttachmentCommand}
1800+
*/
1801+
updateDirectConnectGatewayAttachment(
1802+
args: UpdateDirectConnectGatewayAttachmentCommandInput,
1803+
options?: __HttpHandlerOptions
1804+
): Promise<UpdateDirectConnectGatewayAttachmentCommandOutput>;
1805+
updateDirectConnectGatewayAttachment(
1806+
args: UpdateDirectConnectGatewayAttachmentCommandInput,
1807+
cb: (err: any, data?: UpdateDirectConnectGatewayAttachmentCommandOutput) => void
1808+
): void;
1809+
updateDirectConnectGatewayAttachment(
1810+
args: UpdateDirectConnectGatewayAttachmentCommandInput,
1811+
options: __HttpHandlerOptions,
1812+
cb: (err: any, data?: UpdateDirectConnectGatewayAttachmentCommandOutput) => void
1813+
): void;
1814+
17461815
/**
17471816
* @see {@link UpdateGlobalNetworkCommand}
17481817
*/

clients/client-networkmanager/src/NetworkManagerClient.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./c
7575
import { CreateConnectPeerCommandInput, CreateConnectPeerCommandOutput } from "./commands/CreateConnectPeerCommand";
7676
import { CreateCoreNetworkCommandInput, CreateCoreNetworkCommandOutput } from "./commands/CreateCoreNetworkCommand";
7777
import { CreateDeviceCommandInput, CreateDeviceCommandOutput } from "./commands/CreateDeviceCommand";
78+
import {
79+
CreateDirectConnectGatewayAttachmentCommandInput,
80+
CreateDirectConnectGatewayAttachmentCommandOutput,
81+
} from "./commands/CreateDirectConnectGatewayAttachmentCommand";
7882
import {
7983
CreateGlobalNetworkCommandInput,
8084
CreateGlobalNetworkCommandOutput,
@@ -170,6 +174,10 @@ import {
170174
GetCustomerGatewayAssociationsCommandOutput,
171175
} from "./commands/GetCustomerGatewayAssociationsCommand";
172176
import { GetDevicesCommandInput, GetDevicesCommandOutput } from "./commands/GetDevicesCommand";
177+
import {
178+
GetDirectConnectGatewayAttachmentCommandInput,
179+
GetDirectConnectGatewayAttachmentCommandOutput,
180+
} from "./commands/GetDirectConnectGatewayAttachmentCommand";
173181
import {
174182
GetLinkAssociationsCommandInput,
175183
GetLinkAssociationsCommandOutput,
@@ -256,6 +264,10 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
256264
import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand";
257265
import { UpdateCoreNetworkCommandInput, UpdateCoreNetworkCommandOutput } from "./commands/UpdateCoreNetworkCommand";
258266
import { UpdateDeviceCommandInput, UpdateDeviceCommandOutput } from "./commands/UpdateDeviceCommand";
267+
import {
268+
UpdateDirectConnectGatewayAttachmentCommandInput,
269+
UpdateDirectConnectGatewayAttachmentCommandOutput,
270+
} from "./commands/UpdateDirectConnectGatewayAttachmentCommand";
259271
import {
260272
UpdateGlobalNetworkCommandInput,
261273
UpdateGlobalNetworkCommandOutput,
@@ -295,6 +307,7 @@ export type ServiceInputTypes =
295307
| CreateConnectionCommandInput
296308
| CreateCoreNetworkCommandInput
297309
| CreateDeviceCommandInput
310+
| CreateDirectConnectGatewayAttachmentCommandInput
298311
| CreateGlobalNetworkCommandInput
299312
| CreateLinkCommandInput
300313
| CreateSiteCommandInput
@@ -330,6 +343,7 @@ export type ServiceInputTypes =
330343
| GetCoreNetworkPolicyCommandInput
331344
| GetCustomerGatewayAssociationsCommandInput
332345
| GetDevicesCommandInput
346+
| GetDirectConnectGatewayAttachmentCommandInput
333347
| GetLinkAssociationsCommandInput
334348
| GetLinksCommandInput
335349
| GetNetworkResourceCountsCommandInput
@@ -365,6 +379,7 @@ export type ServiceInputTypes =
365379
| UpdateConnectionCommandInput
366380
| UpdateCoreNetworkCommandInput
367381
| UpdateDeviceCommandInput
382+
| UpdateDirectConnectGatewayAttachmentCommandInput
368383
| UpdateGlobalNetworkCommandInput
369384
| UpdateLinkCommandInput
370385
| UpdateNetworkResourceMetadataCommandInput
@@ -385,6 +400,7 @@ export type ServiceOutputTypes =
385400
| CreateConnectionCommandOutput
386401
| CreateCoreNetworkCommandOutput
387402
| CreateDeviceCommandOutput
403+
| CreateDirectConnectGatewayAttachmentCommandOutput
388404
| CreateGlobalNetworkCommandOutput
389405
| CreateLinkCommandOutput
390406
| CreateSiteCommandOutput
@@ -420,6 +436,7 @@ export type ServiceOutputTypes =
420436
| GetCoreNetworkPolicyCommandOutput
421437
| GetCustomerGatewayAssociationsCommandOutput
422438
| GetDevicesCommandOutput
439+
| GetDirectConnectGatewayAttachmentCommandOutput
423440
| GetLinkAssociationsCommandOutput
424441
| GetLinksCommandOutput
425442
| GetNetworkResourceCountsCommandOutput
@@ -455,6 +472,7 @@ export type ServiceOutputTypes =
455472
| UpdateConnectionCommandOutput
456473
| UpdateCoreNetworkCommandOutput
457474
| UpdateDeviceCommandOutput
475+
| UpdateDirectConnectGatewayAttachmentCommandOutput
458476
| UpdateGlobalNetworkCommandOutput
459477
| UpdateLinkCommandOutput
460478
| UpdateNetworkResourceMetadataCommandOutput

clients/client-networkmanager/src/commands/AcceptAttachmentCommand.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,12 @@ export interface AcceptAttachmentCommandOutput extends AcceptAttachmentResponse,
4848
* // CoreNetworkArn: "STRING_VALUE",
4949
* // AttachmentId: "STRING_VALUE",
5050
* // OwnerAccountId: "STRING_VALUE",
51-
* // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "TRANSIT_GATEWAY_ROUTE_TABLE",
51+
* // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
5252
* // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
5353
* // EdgeLocation: "STRING_VALUE",
54+
* // EdgeLocations: [ // ExternalRegionCodeList
55+
* // "STRING_VALUE",
56+
* // ],
5457
* // ResourceArn: "STRING_VALUE",
5558
* // AttachmentPolicyRuleNumber: Number("int"),
5659
* // SegmentName: "STRING_VALUE",
@@ -85,7 +88,7 @@ export interface AcceptAttachmentCommandOutput extends AcceptAttachmentResponse,
8588
* // UpdatedAt: new Date("TIMESTAMP"),
8689
* // LastModificationErrors: [ // AttachmentErrorList
8790
* // { // AttachmentError
88-
* // 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",
91+
* // 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",
8992
* // Message: "STRING_VALUE",
9093
* // ResourceArn: "STRING_VALUE",
9194
* // RequestId: "STRING_VALUE",

clients/client-networkmanager/src/commands/CreateConnectAttachmentCommand.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,12 @@ export interface CreateConnectAttachmentCommandOutput extends CreateConnectAttac
6262
* // CoreNetworkArn: "STRING_VALUE",
6363
* // AttachmentId: "STRING_VALUE",
6464
* // OwnerAccountId: "STRING_VALUE",
65-
* // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "TRANSIT_GATEWAY_ROUTE_TABLE",
65+
* // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
6666
* // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
6767
* // EdgeLocation: "STRING_VALUE",
68+
* // EdgeLocations: [ // ExternalRegionCodeList
69+
* // "STRING_VALUE",
70+
* // ],
6871
* // ResourceArn: "STRING_VALUE",
6972
* // AttachmentPolicyRuleNumber: Number("int"),
7073
* // SegmentName: "STRING_VALUE",
@@ -99,7 +102,7 @@ export interface CreateConnectAttachmentCommandOutput extends CreateConnectAttac
99102
* // UpdatedAt: new Date("TIMESTAMP"),
100103
* // LastModificationErrors: [ // AttachmentErrorList
101104
* // { // AttachmentError
102-
* // 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",
105+
* // 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",
103106
* // Message: "STRING_VALUE",
104107
* // ResourceArn: "STRING_VALUE",
105108
* // RequestId: "STRING_VALUE",

0 commit comments

Comments
 (0)