Skip to content

Commit 26dccd9

Browse files
author
awstools
committed
feat(client-direct-connect): Update DescribeDirectConnectGatewayAssociations API to return associated core network information if a Direct Connect gateway is attached to a Cloud WAN core network.
1 parent 7497406 commit 26dccd9

File tree

8 files changed

+109
-0
lines changed

8 files changed

+109
-0
lines changed

clients/client-direct-connect/src/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ export interface AcceptDirectConnectGatewayAssociationProposalCommandOutput
7474
* // cidr: "STRING_VALUE",
7575
* // },
7676
* // ],
77+
* // associatedCoreNetwork: { // AssociatedCoreNetwork
78+
* // id: "STRING_VALUE",
79+
* // ownerAccount: "STRING_VALUE",
80+
* // attachmentId: "STRING_VALUE",
81+
* // },
7782
* // virtualGatewayId: "STRING_VALUE",
7883
* // virtualGatewayRegion: "STRING_VALUE",
7984
* // virtualGatewayOwnerAccount: "STRING_VALUE",

clients/client-direct-connect/src/commands/CreateDirectConnectGatewayAssociationCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ export interface CreateDirectConnectGatewayAssociationCommandOutput
7575
* // cidr: "STRING_VALUE",
7676
* // },
7777
* // ],
78+
* // associatedCoreNetwork: { // AssociatedCoreNetwork
79+
* // id: "STRING_VALUE",
80+
* // ownerAccount: "STRING_VALUE",
81+
* // attachmentId: "STRING_VALUE",
82+
* // },
7883
* // virtualGatewayId: "STRING_VALUE",
7984
* // virtualGatewayRegion: "STRING_VALUE",
8085
* // virtualGatewayOwnerAccount: "STRING_VALUE",

clients/client-direct-connect/src/commands/DeleteDirectConnectGatewayAssociationCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ export interface DeleteDirectConnectGatewayAssociationCommandOutput
7070
* // cidr: "STRING_VALUE",
7171
* // },
7272
* // ],
73+
* // associatedCoreNetwork: { // AssociatedCoreNetwork
74+
* // id: "STRING_VALUE",
75+
* // ownerAccount: "STRING_VALUE",
76+
* // attachmentId: "STRING_VALUE",
77+
* // },
7378
* // virtualGatewayId: "STRING_VALUE",
7479
* // virtualGatewayRegion: "STRING_VALUE",
7580
* // virtualGatewayOwnerAccount: "STRING_VALUE",

clients/client-direct-connect/src/commands/DescribeDirectConnectGatewayAssociationsCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ export interface DescribeDirectConnectGatewayAssociationsCommandOutput
9595
* // cidr: "STRING_VALUE",
9696
* // },
9797
* // ],
98+
* // associatedCoreNetwork: { // AssociatedCoreNetwork
99+
* // id: "STRING_VALUE",
100+
* // ownerAccount: "STRING_VALUE",
101+
* // attachmentId: "STRING_VALUE",
102+
* // },
98103
* // virtualGatewayId: "STRING_VALUE",
99104
* // virtualGatewayRegion: "STRING_VALUE",
100105
* // virtualGatewayOwnerAccount: "STRING_VALUE",

clients/client-direct-connect/src/commands/UpdateDirectConnectGatewayAssociationCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ export interface UpdateDirectConnectGatewayAssociationCommandOutput
7878
* // cidr: "STRING_VALUE",
7979
* // },
8080
* // ],
81+
* // associatedCoreNetwork: { // AssociatedCoreNetwork
82+
* // id: "STRING_VALUE",
83+
* // ownerAccount: "STRING_VALUE",
84+
* // attachmentId: "STRING_VALUE",
85+
* // },
8186
* // virtualGatewayId: "STRING_VALUE",
8287
* // virtualGatewayRegion: "STRING_VALUE",
8388
* // virtualGatewayOwnerAccount: "STRING_VALUE",

clients/client-direct-connect/src/models/models_0.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,30 @@ export interface AcceptDirectConnectGatewayAssociationProposalRequest {
4646
overrideAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[] | undefined;
4747
}
4848

49+
/**
50+
* <p>The Amazon Web Services Cloud WAN core network that the Direct Connect attachment is associated with.</p>
51+
* @public
52+
*/
53+
export interface AssociatedCoreNetwork {
54+
/**
55+
* <p>The ID of the Cloud WAN core network.</p>
56+
* @public
57+
*/
58+
id?: string | undefined;
59+
60+
/**
61+
* <p>The account owner of the Cloud WAN core network.</p>
62+
* @public
63+
*/
64+
ownerAccount?: string | undefined;
65+
66+
/**
67+
* <p>the ID of the Direct Connect attachment</p>
68+
* @public
69+
*/
70+
attachmentId?: string | undefined;
71+
}
72+
4973
/**
5074
* @public
5175
* @enum
@@ -178,6 +202,12 @@ export interface DirectConnectGatewayAssociation {
178202
*/
179203
allowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[] | undefined;
180204

205+
/**
206+
* <p>The ID of the Cloud WAN core network associated with the Direct Connect attachment.</p>
207+
* @public
208+
*/
209+
associatedCoreNetwork?: AssociatedCoreNetwork | undefined;
210+
181211
/**
182212
* <p>The ID of the virtual private gateway. Applies only to private virtual interfaces.</p>
183213
* @public

clients/client-direct-connect/src/protocols/Aws_json1_1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2635,6 +2635,8 @@ const de_TooManyTagsExceptionRes = async (
26352635

26362636
// de_AllocateTransitVirtualInterfaceResult omitted.
26372637

2638+
// de_AssociatedCoreNetwork omitted.
2639+
26382640
// de_AssociatedGateway omitted.
26392641

26402642
// de_AssociateMacSecKeyResponse omitted.

codegen/sdk-codegen/aws-models/direct-connect.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,32 @@
658658
"smithy.api#input": {}
659659
}
660660
},
661+
"com.amazonaws.directconnect#AssociatedCoreNetwork": {
662+
"type": "structure",
663+
"members": {
664+
"id": {
665+
"target": "com.amazonaws.directconnect#CoreNetworkIdentifier",
666+
"traits": {
667+
"smithy.api#documentation": "<p>The ID of the Cloud WAN core network.</p>"
668+
}
669+
},
670+
"ownerAccount": {
671+
"target": "com.amazonaws.directconnect#OwnerAccount",
672+
"traits": {
673+
"smithy.api#documentation": "<p>The account owner of the Cloud WAN core network.</p>"
674+
}
675+
},
676+
"attachmentId": {
677+
"target": "com.amazonaws.directconnect#CoreNetworkAttachmentId",
678+
"traits": {
679+
"smithy.api#documentation": "<p>the ID of the Direct Connect attachment</p>"
680+
}
681+
}
682+
},
683+
"traits": {
684+
"smithy.api#documentation": "<p>The Amazon Web Services Cloud WAN core network that the Direct Connect attachment is associated with.</p>"
685+
}
686+
},
661687
"com.amazonaws.directconnect#AssociatedGateway": {
662688
"type": "structure",
663689
"members": {
@@ -1366,6 +1392,26 @@
13661392
}
13671393
}
13681394
},
1395+
"com.amazonaws.directconnect#CoreNetworkAttachmentId": {
1396+
"type": "string",
1397+
"traits": {
1398+
"smithy.api#length": {
1399+
"min": 12,
1400+
"max": 28
1401+
},
1402+
"smithy.api#pattern": "^attachment-([0-9a-f]{1,17})$"
1403+
}
1404+
},
1405+
"com.amazonaws.directconnect#CoreNetworkIdentifier": {
1406+
"type": "string",
1407+
"traits": {
1408+
"smithy.api#length": {
1409+
"min": 14,
1410+
"max": 30
1411+
},
1412+
"smithy.api#pattern": "^core-network-([0-9a-f]{1,17})$"
1413+
}
1414+
},
13691415
"com.amazonaws.directconnect#Count": {
13701416
"type": "integer",
13711417
"traits": {
@@ -3456,6 +3502,12 @@
34563502
"smithy.api#documentation": "<p>The Amazon VPC prefixes to advertise to the Direct Connect gateway.</p>"
34573503
}
34583504
},
3505+
"associatedCoreNetwork": {
3506+
"target": "com.amazonaws.directconnect#AssociatedCoreNetwork",
3507+
"traits": {
3508+
"smithy.api#documentation": "<p>The ID of the Cloud WAN core network associated with the Direct Connect attachment.</p>"
3509+
}
3510+
},
34593511
"virtualGatewayId": {
34603512
"target": "com.amazonaws.directconnect#VirtualGatewayId",
34613513
"traits": {

0 commit comments

Comments
 (0)