Skip to content

Commit f1e9366

Browse files
author
awstools
committed
feat(client-direct-connect): With this release, AWS Direct Connect allows you to tag your Direct Connect gateways. Tags are metadata that you can create and use to manage your Direct Connect gateways. For more information about tagging, see AWS Tagging Strategies.
1 parent f404e83 commit f1e9366

7 files changed

+96
-14
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ export interface CreateDirectConnectGatewayCommandOutput extends CreateDirectCon
4242
* const client = new DirectConnectClient(config);
4343
* const input = { // CreateDirectConnectGatewayRequest
4444
* directConnectGatewayName: "STRING_VALUE", // required
45+
* tags: [ // TagList
46+
* { // Tag
47+
* key: "STRING_VALUE", // required
48+
* value: "STRING_VALUE",
49+
* },
50+
* ],
4551
* amazonSideAsn: Number("long"),
4652
* };
4753
* const command = new CreateDirectConnectGatewayCommand(input);
@@ -54,6 +60,12 @@ export interface CreateDirectConnectGatewayCommandOutput extends CreateDirectCon
5460
* // ownerAccount: "STRING_VALUE",
5561
* // directConnectGatewayState: "pending" || "available" || "deleting" || "deleted",
5662
* // stateChangeError: "STRING_VALUE",
63+
* // tags: [ // TagList
64+
* // { // Tag
65+
* // key: "STRING_VALUE", // required
66+
* // value: "STRING_VALUE",
67+
* // },
68+
* // ],
5769
* // },
5870
* // };
5971
*

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ export interface DeleteDirectConnectGatewayCommandOutput extends DeleteDirectCon
5050
* // ownerAccount: "STRING_VALUE",
5151
* // directConnectGatewayState: "pending" || "available" || "deleting" || "deleted",
5252
* // stateChangeError: "STRING_VALUE",
53+
* // tags: [ // TagList
54+
* // { // Tag
55+
* // key: "STRING_VALUE", // required
56+
* // value: "STRING_VALUE",
57+
* // },
58+
* // ],
5359
* // },
5460
* // };
5561
*

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ export interface DescribeDirectConnectGatewayAssociationsCommandOutput
5959
* <p>A Direct Connect gateway and a transit gateway</p>
6060
* <p>The response contains the association between the Direct Connect gateway and transit gateway.</p>
6161
* </li>
62+
* <li>
63+
* <p>A Direct Connect gateway and a virtual private gateway</p>
64+
* <p>The response contains the association between the Direct Connect gateway and virtual private gateway.</p>
65+
* </li>
66+
* <li>
67+
* <p>A Direct Connect gateway association to a Cloud WAN core network</p>
68+
* <p>The response contains the Cloud WAN core network ID that the Direct Connect gateway is associated to.</p>
69+
* </li>
6270
* </ul>
6371
* @example
6472
* Use a bare-bones client and the command you need to make an API call.

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ export interface DescribeDirectConnectGatewaysCommandOutput
5656
* // ownerAccount: "STRING_VALUE",
5757
* // directConnectGatewayState: "pending" || "available" || "deleting" || "deleted",
5858
* // stateChangeError: "STRING_VALUE",
59+
* // tags: [ // TagList
60+
* // { // Tag
61+
* // key: "STRING_VALUE", // required
62+
* // value: "STRING_VALUE",
63+
* // },
64+
* // ],
5965
* // },
6066
* // ],
6167
* // nextToken: "STRING_VALUE",

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ export interface UpdateDirectConnectGatewayCommandOutput extends UpdateDirectCon
4949
* // ownerAccount: "STRING_VALUE",
5050
* // directConnectGatewayState: "pending" || "available" || "deleting" || "deleted",
5151
* // stateChangeError: "STRING_VALUE",
52+
* // tags: [ // TagList
53+
* // { // Tag
54+
* // key: "STRING_VALUE", // required
55+
* // value: "STRING_VALUE",
56+
* // },
57+
* // ],
5258
* // },
5359
* // };
5460
*

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

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ export interface AcceptDirectConnectGatewayAssociationProposalRequest {
4747
}
4848

4949
/**
50-
* <p>The Amazon Web Services Cloud WAN core network that the Direct Connect attachment is associated with.</p>
50+
* <p>The Amazon Web Services Cloud WAN core network that the Direct Connect gateway is associated to. This is only returned when a Direct Connect gateway is associated to a Cloud WAN core network.</p>
5151
* @public
5252
*/
5353
export interface AssociatedCoreNetwork {
5454
/**
55-
* <p>The ID of the Cloud WAN core network.</p>
55+
* <p>The ID of the Cloud WAN core network that the Direct Connect gateway is associated to.</p>
5656
* @public
5757
*/
5858
id?: string | undefined;
@@ -64,7 +64,7 @@ export interface AssociatedCoreNetwork {
6464
ownerAccount?: string | undefined;
6565

6666
/**
67-
* <p>the ID of the Direct Connect attachment</p>
67+
* <p>the ID of the Direct Connect gateway attachment.</p>
6868
* @public
6969
*/
7070
attachmentId?: string | undefined;
@@ -203,7 +203,7 @@ export interface DirectConnectGatewayAssociation {
203203
allowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[] | undefined;
204204

205205
/**
206-
* <p>The ID of the Cloud WAN core network associated with the Direct Connect attachment.</p>
206+
* <p>The ID of the Cloud WAN core network associated with the Direct Connect gateway attachment.</p>
207207
* @public
208208
*/
209209
associatedCoreNetwork?: AssociatedCoreNetwork | undefined;
@@ -1069,6 +1069,10 @@ export interface VirtualInterface {
10691069
* </li>
10701070
* <li>
10711071
* <p>
1072+
* <code>testing</code>: A virtual interface is in this state immediately after calling <a>StartBgpFailoverTest</a> and remains in this state during the duration of the test.</p>
1073+
* </li>
1074+
* <li>
1075+
* <p>
10721076
* <code>deleting</code>: A virtual interface is in this state immediately after calling <a>DeleteVirtualInterface</a> until it can no longer forward traffic.</p>
10731077
* </li>
10741078
* <li>
@@ -1587,6 +1591,10 @@ export interface ConfirmPrivateVirtualInterfaceResponse {
15871591
* </li>
15881592
* <li>
15891593
* <p>
1594+
* <code>testing</code>: A virtual interface is in this state immediately after calling <a>StartBgpFailoverTest</a> and remains in this state during the duration of the test.</p>
1595+
* </li>
1596+
* <li>
1597+
* <p>
15901598
* <code>deleting</code>: A virtual interface is in this state immediately after calling <a>DeleteVirtualInterface</a> until it can no longer forward traffic.</p>
15911599
* </li>
15921600
* <li>
@@ -1647,6 +1655,10 @@ export interface ConfirmPublicVirtualInterfaceResponse {
16471655
* </li>
16481656
* <li>
16491657
* <p>
1658+
* <code>testing</code>: A virtual interface is in this state immediately after calling <a>StartBgpFailoverTest</a> and remains in this state during the duration of the test.</p>
1659+
* </li>
1660+
* <li>
1661+
* <p>
16501662
* <code>deleting</code>: A virtual interface is in this state immediately after calling <a>DeleteVirtualInterface</a> until it can no longer forward traffic.</p>
16511663
* </li>
16521664
* <li>
@@ -1713,6 +1725,10 @@ export interface ConfirmTransitVirtualInterfaceResponse {
17131725
* </li>
17141726
* <li>
17151727
* <p>
1728+
* <code>testing</code>: A virtual interface is in this state immediately after calling <a>StartBgpFailoverTest</a> and remains in this state during the duration of the test.</p>
1729+
* </li>
1730+
* <li>
1731+
* <p>
17161732
* <code>deleting</code>: A virtual interface is in this state immediately after calling <a>DeleteVirtualInterface</a> until it can no longer forward traffic.</p>
17171733
* </li>
17181734
* <li>
@@ -1866,6 +1882,12 @@ export interface CreateDirectConnectGatewayRequest {
18661882
*/
18671883
directConnectGatewayName: string | undefined;
18681884

1885+
/**
1886+
* <p>The key-value pair tags associated with the request.</p>
1887+
* @public
1888+
*/
1889+
tags?: Tag[] | undefined;
1890+
18691891
/**
18701892
* <p>The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured
18711893
* on the Amazon side of the connection. The ASN must be in the private range of 64,512 to
@@ -1949,6 +1971,12 @@ export interface DirectConnectGateway {
19491971
* @public
19501972
*/
19511973
stateChangeError?: string | undefined;
1974+
1975+
/**
1976+
* <p>Information about a tag.</p>
1977+
* @public
1978+
*/
1979+
tags?: Tag[] | undefined;
19521980
}
19531981

19541982
/**
@@ -3080,6 +3108,10 @@ export interface DeleteVirtualInterfaceResponse {
30803108
* </li>
30813109
* <li>
30823110
* <p>
3111+
* <code>testing</code>: A virtual interface is in this state immediately after calling <a>StartBgpFailoverTest</a> and remains in this state during the duration of the test.</p>
3112+
* </li>
3113+
* <li>
3114+
* <p>
30833115
* <code>deleting</code>: A virtual interface is in this state immediately after calling <a>DeleteVirtualInterface</a> until it can no longer forward traffic.</p>
30843116
* </li>
30853117
* <li>

0 commit comments

Comments
 (0)