@aws-sdk/client-direct-connect 3.43.0 → 3.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/12/01 ([#3078](https://github.com/aws/aws-sdk-js-v3/issues/3078)) ([9c44188](https://github.com/aws/aws-sdk-js-v3/commit/9c44188265ea484d55c50848d7daae5571007ce0))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-direct-connect
@@ -4784,6 +4784,8 @@ const serializeAws_json1_1NewPrivateVirtualInterface = (input, context) => {
4784
4784
  input.customerAddress !== null && { customerAddress: input.customerAddress }),
4785
4785
  ...(input.directConnectGatewayId !== undefined &&
4786
4786
  input.directConnectGatewayId !== null && { directConnectGatewayId: input.directConnectGatewayId }),
4787
+ ...(input.enableSiteLink !== undefined &&
4788
+ input.enableSiteLink !== null && { enableSiteLink: input.enableSiteLink }),
4787
4789
  ...(input.mtu !== undefined && input.mtu !== null && { mtu: input.mtu }),
4788
4790
  ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
4789
4791
  ...(input.virtualGatewayId !== undefined &&
@@ -4854,6 +4856,8 @@ const serializeAws_json1_1NewTransitVirtualInterface = (input, context) => {
4854
4856
  input.customerAddress !== null && { customerAddress: input.customerAddress }),
4855
4857
  ...(input.directConnectGatewayId !== undefined &&
4856
4858
  input.directConnectGatewayId !== null && { directConnectGatewayId: input.directConnectGatewayId }),
4859
+ ...(input.enableSiteLink !== undefined &&
4860
+ input.enableSiteLink !== null && { enableSiteLink: input.enableSiteLink }),
4857
4861
  ...(input.mtu !== undefined && input.mtu !== null && { mtu: input.mtu }),
4858
4862
  ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
4859
4863
  ...(input.virtualInterfaceName !== undefined &&
@@ -4997,9 +5001,13 @@ const serializeAws_json1_1UpdateLagRequest = (input, context) => {
4997
5001
  };
4998
5002
  const serializeAws_json1_1UpdateVirtualInterfaceAttributesRequest = (input, context) => {
4999
5003
  return {
5004
+ ...(input.enableSiteLink !== undefined &&
5005
+ input.enableSiteLink !== null && { enableSiteLink: input.enableSiteLink }),
5000
5006
  ...(input.mtu !== undefined && input.mtu !== null && { mtu: input.mtu }),
5001
5007
  ...(input.virtualInterfaceId !== undefined &&
5002
5008
  input.virtualInterfaceId !== null && { virtualInterfaceId: input.virtualInterfaceId }),
5009
+ ...(input.virtualInterfaceName !== undefined &&
5010
+ input.virtualInterfaceName !== null && { virtualInterfaceName: input.virtualInterfaceName }),
5003
5011
  };
5004
5012
  };
5005
5013
  const deserializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalResult = (output, context) => {
@@ -5751,6 +5759,7 @@ const deserializeAws_json1_1VirtualInterface = (output, context) => {
5751
5759
  routeFilterPrefixes: output.routeFilterPrefixes !== undefined && output.routeFilterPrefixes !== null
5752
5760
  ? deserializeAws_json1_1RouteFilterPrefixList(output.routeFilterPrefixes, context)
5753
5761
  : undefined,
5762
+ siteLinkEnabled: smithy_client_1.expectBoolean(output.siteLinkEnabled),
5754
5763
  tags: output.tags !== undefined && output.tags !== null
5755
5764
  ? deserializeAws_json1_1TagList(output.tags, context)
5756
5765
  : undefined,
@@ -5196,9 +5196,10 @@ var serializeAws_json1_1NewBGPPeer = function (input, context) {
5196
5196
  input.customerAddress !== null && { customerAddress: input.customerAddress }));
5197
5197
  };
5198
5198
  var serializeAws_json1_1NewPrivateVirtualInterface = function (input, context) {
5199
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.addressFamily !== undefined && input.addressFamily !== null && { addressFamily: input.addressFamily })), (input.amazonAddress !== undefined && input.amazonAddress !== null && { amazonAddress: input.amazonAddress })), (input.asn !== undefined && input.asn !== null && { asn: input.asn })), (input.authKey !== undefined && input.authKey !== null && { authKey: input.authKey })), (input.customerAddress !== undefined &&
5199
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.addressFamily !== undefined && input.addressFamily !== null && { addressFamily: input.addressFamily })), (input.amazonAddress !== undefined && input.amazonAddress !== null && { amazonAddress: input.amazonAddress })), (input.asn !== undefined && input.asn !== null && { asn: input.asn })), (input.authKey !== undefined && input.authKey !== null && { authKey: input.authKey })), (input.customerAddress !== undefined &&
5200
5200
  input.customerAddress !== null && { customerAddress: input.customerAddress })), (input.directConnectGatewayId !== undefined &&
5201
- input.directConnectGatewayId !== null && { directConnectGatewayId: input.directConnectGatewayId })), (input.mtu !== undefined && input.mtu !== null && { mtu: input.mtu })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.virtualGatewayId !== undefined &&
5201
+ input.directConnectGatewayId !== null && { directConnectGatewayId: input.directConnectGatewayId })), (input.enableSiteLink !== undefined &&
5202
+ input.enableSiteLink !== null && { enableSiteLink: input.enableSiteLink })), (input.mtu !== undefined && input.mtu !== null && { mtu: input.mtu })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.virtualGatewayId !== undefined &&
5202
5203
  input.virtualGatewayId !== null && { virtualGatewayId: input.virtualGatewayId })), (input.virtualInterfaceName !== undefined &&
5203
5204
  input.virtualInterfaceName !== null && { virtualInterfaceName: input.virtualInterfaceName })), (input.vlan !== undefined && input.vlan !== null && { vlan: input.vlan }));
5204
5205
  };
@@ -5224,9 +5225,10 @@ var serializeAws_json1_1NewPublicVirtualInterfaceAllocation = function (input, c
5224
5225
  input.virtualInterfaceName !== null && { virtualInterfaceName: input.virtualInterfaceName })), (input.vlan !== undefined && input.vlan !== null && { vlan: input.vlan }));
5225
5226
  };
5226
5227
  var serializeAws_json1_1NewTransitVirtualInterface = function (input, context) {
5227
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.addressFamily !== undefined && input.addressFamily !== null && { addressFamily: input.addressFamily })), (input.amazonAddress !== undefined && input.amazonAddress !== null && { amazonAddress: input.amazonAddress })), (input.asn !== undefined && input.asn !== null && { asn: input.asn })), (input.authKey !== undefined && input.authKey !== null && { authKey: input.authKey })), (input.customerAddress !== undefined &&
5228
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.addressFamily !== undefined && input.addressFamily !== null && { addressFamily: input.addressFamily })), (input.amazonAddress !== undefined && input.amazonAddress !== null && { amazonAddress: input.amazonAddress })), (input.asn !== undefined && input.asn !== null && { asn: input.asn })), (input.authKey !== undefined && input.authKey !== null && { authKey: input.authKey })), (input.customerAddress !== undefined &&
5228
5229
  input.customerAddress !== null && { customerAddress: input.customerAddress })), (input.directConnectGatewayId !== undefined &&
5229
- input.directConnectGatewayId !== null && { directConnectGatewayId: input.directConnectGatewayId })), (input.mtu !== undefined && input.mtu !== null && { mtu: input.mtu })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.virtualInterfaceName !== undefined &&
5230
+ input.directConnectGatewayId !== null && { directConnectGatewayId: input.directConnectGatewayId })), (input.enableSiteLink !== undefined &&
5231
+ input.enableSiteLink !== null && { enableSiteLink: input.enableSiteLink })), (input.mtu !== undefined && input.mtu !== null && { mtu: input.mtu })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.virtualInterfaceName !== undefined &&
5230
5232
  input.virtualInterfaceName !== null && { virtualInterfaceName: input.virtualInterfaceName })), (input.vlan !== undefined && input.vlan !== null && { vlan: input.vlan }));
5231
5233
  };
5232
5234
  var serializeAws_json1_1NewTransitVirtualInterfaceAllocation = function (input, context) {
@@ -5321,8 +5323,10 @@ var serializeAws_json1_1UpdateLagRequest = function (input, context) {
5321
5323
  input.encryptionMode !== null && { encryptionMode: input.encryptionMode })), (input.lagId !== undefined && input.lagId !== null && { lagId: input.lagId })), (input.lagName !== undefined && input.lagName !== null && { lagName: input.lagName })), (input.minimumLinks !== undefined && input.minimumLinks !== null && { minimumLinks: input.minimumLinks }));
5322
5324
  };
5323
5325
  var serializeAws_json1_1UpdateVirtualInterfaceAttributesRequest = function (input, context) {
5324
- return __assign(__assign({}, (input.mtu !== undefined && input.mtu !== null && { mtu: input.mtu })), (input.virtualInterfaceId !== undefined &&
5325
- input.virtualInterfaceId !== null && { virtualInterfaceId: input.virtualInterfaceId }));
5326
+ return __assign(__assign(__assign(__assign({}, (input.enableSiteLink !== undefined &&
5327
+ input.enableSiteLink !== null && { enableSiteLink: input.enableSiteLink })), (input.mtu !== undefined && input.mtu !== null && { mtu: input.mtu })), (input.virtualInterfaceId !== undefined &&
5328
+ input.virtualInterfaceId !== null && { virtualInterfaceId: input.virtualInterfaceId })), (input.virtualInterfaceName !== undefined &&
5329
+ input.virtualInterfaceName !== null && { virtualInterfaceName: input.virtualInterfaceName }));
5326
5330
  };
5327
5331
  var deserializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalResult = function (output, context) {
5328
5332
  return {
@@ -6073,6 +6077,7 @@ var deserializeAws_json1_1VirtualInterface = function (output, context) {
6073
6077
  routeFilterPrefixes: output.routeFilterPrefixes !== undefined && output.routeFilterPrefixes !== null
6074
6078
  ? deserializeAws_json1_1RouteFilterPrefixList(output.routeFilterPrefixes, context)
6075
6079
  : undefined,
6080
+ siteLinkEnabled: __expectBoolean(output.siteLinkEnabled),
6076
6081
  tags: output.tags !== undefined && output.tags !== null
6077
6082
  ? deserializeAws_json1_1TagList(output.tags, context)
6078
6083
  : undefined,
@@ -825,6 +825,10 @@ export interface VirtualInterface {
825
825
  * <p>The tags associated with the virtual interface.</p>
826
826
  */
827
827
  tags?: Tag[];
828
+ /**
829
+ * <p>Indicates whether SiteLink is enabled.</p>
830
+ */
831
+ siteLinkEnabled?: boolean;
828
832
  }
829
833
  export declare namespace VirtualInterface {
830
834
  /**
@@ -1142,7 +1146,9 @@ export declare namespace ConfirmConnectionResponse {
1142
1146
  export interface ConfirmCustomerAgreementRequest {
1143
1147
  /**
1144
1148
  * <p>
1149
+ *
1145
1150
  * The name of the customer agreement.
1151
+ *
1146
1152
  * </p>
1147
1153
  */
1148
1154
  agreementName?: string;
@@ -2057,6 +2063,10 @@ export interface NewPrivateVirtualInterface {
2057
2063
  * <p>The tags associated with the private virtual interface.</p>
2058
2064
  */
2059
2065
  tags?: Tag[];
2066
+ /**
2067
+ * <p>Indicates whether to enable or disable SiteLink.</p>
2068
+ */
2069
+ enableSiteLink?: boolean;
2060
2070
  }
2061
2071
  export declare namespace NewPrivateVirtualInterface {
2062
2072
  /**
@@ -2189,6 +2199,10 @@ export interface NewTransitVirtualInterface {
2189
2199
  * <p>The tags associated with the transitive virtual interface.</p>
2190
2200
  */
2191
2201
  tags?: Tag[];
2202
+ /**
2203
+ * <p>Indicates whether to enable or disable SiteLink.</p>
2204
+ */
2205
+ enableSiteLink?: boolean;
2192
2206
  }
2193
2207
  export declare namespace NewTransitVirtualInterface {
2194
2208
  /**
@@ -3059,7 +3073,7 @@ export interface DescribeRouterConfigurationResponse {
3059
3073
  */
3060
3074
  virtualInterfaceId?: string;
3061
3075
  /**
3062
- * <p>The name of the virtual interface assigned by the customer network.</p>
3076
+ * <p>Provides the details about a virtual interface's router.</p>
3063
3077
  */
3064
3078
  virtualInterfaceName?: string;
3065
3079
  }
@@ -3555,6 +3569,14 @@ export interface UpdateVirtualInterfaceAttributesRequest {
3555
3569
  * <p>The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.</p>
3556
3570
  */
3557
3571
  mtu?: number;
3572
+ /**
3573
+ * <p>Indicates whether to enable or disable SiteLink.</p>
3574
+ */
3575
+ enableSiteLink?: boolean;
3576
+ /**
3577
+ * <p>The name of the virtual private interface.</p>
3578
+ */
3579
+ virtualInterfaceName?: string;
3558
3580
  }
3559
3581
  export declare namespace UpdateVirtualInterfaceAttributesRequest {
3560
3582
  /**
@@ -378,6 +378,8 @@ export interface VirtualInterface {
378
378
  awsLogicalDeviceId?: string;
379
379
 
380
380
  tags?: Tag[];
381
+
382
+ siteLinkEnabled?: boolean;
381
383
  }
382
384
  export declare namespace VirtualInterface {
383
385
 
@@ -928,6 +930,8 @@ export interface NewPrivateVirtualInterface {
928
930
  directConnectGatewayId?: string;
929
931
 
930
932
  tags?: Tag[];
933
+
934
+ enableSiteLink?: boolean;
931
935
  }
932
936
  export declare namespace NewPrivateVirtualInterface {
933
937
 
@@ -1000,6 +1004,8 @@ export interface NewTransitVirtualInterface {
1000
1004
  directConnectGatewayId?: string;
1001
1005
 
1002
1006
  tags?: Tag[];
1007
+
1008
+ enableSiteLink?: boolean;
1003
1009
  }
1004
1010
  export declare namespace NewTransitVirtualInterface {
1005
1011
 
@@ -1758,6 +1764,10 @@ export interface UpdateVirtualInterfaceAttributesRequest {
1758
1764
  virtualInterfaceId: string | undefined;
1759
1765
 
1760
1766
  mtu?: number;
1767
+
1768
+ enableSiteLink?: boolean;
1769
+
1770
+ virtualInterfaceName?: string;
1761
1771
  }
1762
1772
  export declare namespace UpdateVirtualInterfaceAttributesRequest {
1763
1773
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-direct-connect",
3
3
  "description": "AWS SDK for JavaScript Direct Connect Client for Node.js, Browser and React Native",
4
- "version": "3.43.0",
4
+ "version": "3.44.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",