@aws-sdk/client-direct-connect 3.1069.0 → 3.1071.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.
Files changed (37) hide show
  1. package/dist-cjs/models/errors.js +12 -0
  2. package/dist-cjs/schemas/schemas_0.js +42 -21
  3. package/dist-es/models/errors.js +12 -0
  4. package/dist-es/schemas/schemas_0.js +40 -21
  5. package/dist-types/commands/AllocateConnectionOnInterconnectCommand.d.ts +6 -0
  6. package/dist-types/commands/AllocateHostedConnectionCommand.d.ts +6 -0
  7. package/dist-types/commands/AllocatePrivateVirtualInterfaceCommand.d.ts +5 -0
  8. package/dist-types/commands/AllocatePublicVirtualInterfaceCommand.d.ts +5 -0
  9. package/dist-types/commands/AllocateTransitVirtualInterfaceCommand.d.ts +5 -0
  10. package/dist-types/commands/AssociateConnectionWithLagCommand.d.ts +9 -0
  11. package/dist-types/commands/AssociateHostedConnectionCommand.d.ts +6 -0
  12. package/dist-types/commands/AssociateVirtualInterfaceCommand.d.ts +1 -0
  13. package/dist-types/commands/CreateBGPPeerCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateConnectionCommand.d.ts +6 -0
  15. package/dist-types/commands/CreateLagCommand.d.ts +12 -0
  16. package/dist-types/commands/CreatePrivateVirtualInterfaceCommand.d.ts +5 -0
  17. package/dist-types/commands/CreatePublicVirtualInterfaceCommand.d.ts +5 -0
  18. package/dist-types/commands/CreateTransitVirtualInterfaceCommand.d.ts +5 -0
  19. package/dist-types/commands/DeleteBGPPeerCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteConnectionCommand.d.ts +6 -0
  21. package/dist-types/commands/DeleteLagCommand.d.ts +12 -0
  22. package/dist-types/commands/DescribeConnectionsCommand.d.ts +6 -0
  23. package/dist-types/commands/DescribeConnectionsOnInterconnectCommand.d.ts +6 -0
  24. package/dist-types/commands/DescribeHostedConnectionsCommand.d.ts +6 -0
  25. package/dist-types/commands/DescribeLagsCommand.d.ts +12 -0
  26. package/dist-types/commands/DescribeVirtualInterfacesCommand.d.ts +2 -1
  27. package/dist-types/commands/DisassociateConnectionFromLagCommand.d.ts +6 -0
  28. package/dist-types/commands/UpdateConnectionCommand.d.ts +6 -0
  29. package/dist-types/commands/UpdateLagCommand.d.ts +12 -0
  30. package/dist-types/commands/UpdateVirtualInterfaceAttributesCommand.d.ts +2 -0
  31. package/dist-types/models/errors.d.ts +12 -0
  32. package/dist-types/models/models_0.d.ts +427 -225
  33. package/dist-types/schemas/schemas_0.d.ts +2 -0
  34. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  35. package/dist-types/ts3.4/models/models_0.d.ts +16 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  37. package/package.json +3 -3
@@ -4,6 +4,7 @@ export declare var DirectConnectServiceException$: StaticErrorSchema;
4
4
  export declare var DirectConnectClientException$: StaticErrorSchema;
5
5
  export declare var DirectConnectServerException$: StaticErrorSchema;
6
6
  export declare var DuplicateTagKeysException$: StaticErrorSchema;
7
+ export declare var LimitExceededException$: StaticErrorSchema;
7
8
  export declare var TooManyTagsException$: StaticErrorSchema;
8
9
  /**
9
10
  * TypeRegistry instances containing modeled errors.
@@ -117,6 +118,7 @@ export declare var NewPublicVirtualInterface$: StaticStructureSchema;
117
118
  export declare var NewPublicVirtualInterfaceAllocation$: StaticStructureSchema;
118
119
  export declare var NewTransitVirtualInterface$: StaticStructureSchema;
119
120
  export declare var NewTransitVirtualInterfaceAllocation$: StaticStructureSchema;
121
+ export declare var RateLimiterStatus$: StaticStructureSchema;
120
122
  export declare var ResourceTag$: StaticStructureSchema;
121
123
  export declare var RouteFilterPrefix$: StaticStructureSchema;
122
124
  export declare var RouterType$: StaticStructureSchema;
@@ -28,3 +28,10 @@ export declare class TooManyTagsException extends __BaseException {
28
28
  opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
29
29
  );
30
30
  }
31
+ export declare class LimitExceededException extends __BaseException {
32
+ readonly name: "LimitExceededException";
33
+ readonly $fault: "client";
34
+ constructor(
35
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
36
+ );
37
+ }
@@ -71,6 +71,12 @@ export interface MacSecKey {
71
71
  state?: string | undefined;
72
72
  startOn?: string | undefined;
73
73
  }
74
+ export interface RateLimiterStatus {
75
+ maxAllowed?: number | undefined;
76
+ inUse?: number | undefined;
77
+ remaining?: number | undefined;
78
+ totalBandwidth?: string | undefined;
79
+ }
74
80
  export interface Tag {
75
81
  key: string | undefined;
76
82
  value?: string | undefined;
@@ -98,6 +104,7 @@ export interface Connection {
98
104
  portEncryptionStatus?: string | undefined;
99
105
  encryptionMode?: string | undefined;
100
106
  macSecKeys?: MacSecKey[] | undefined;
107
+ rateLimiterStatus?: RateLimiterStatus | undefined;
101
108
  partnerInterconnectMacSecCapable?: boolean | undefined;
102
109
  }
103
110
  export interface AllocateHostedConnectionRequest {
@@ -119,6 +126,7 @@ export interface NewPrivateVirtualInterfaceAllocation {
119
126
  addressFamily?: AddressFamily | undefined;
120
127
  customerAddress?: string | undefined;
121
128
  tags?: Tag[] | undefined;
129
+ rateLimit?: string | undefined;
122
130
  }
123
131
  export interface AllocatePrivateVirtualInterfaceRequest {
124
132
  connectionId: string | undefined;
@@ -168,6 +176,7 @@ export interface VirtualInterface {
168
176
  awsLogicalDeviceId?: string | undefined;
169
177
  tags?: Tag[] | undefined;
170
178
  siteLinkEnabled?: boolean | undefined;
179
+ rateLimit?: string | undefined;
171
180
  }
172
181
  export interface NewPublicVirtualInterfaceAllocation {
173
182
  virtualInterfaceName: string | undefined;
@@ -180,6 +189,7 @@ export interface NewPublicVirtualInterfaceAllocation {
180
189
  addressFamily?: AddressFamily | undefined;
181
190
  routeFilterPrefixes?: RouteFilterPrefix[] | undefined;
182
191
  tags?: Tag[] | undefined;
192
+ rateLimit?: string | undefined;
183
193
  }
184
194
  export interface AllocatePublicVirtualInterfaceRequest {
185
195
  connectionId: string | undefined;
@@ -199,6 +209,7 @@ export interface NewTransitVirtualInterfaceAllocation {
199
209
  customerAddress?: string | undefined;
200
210
  addressFamily?: AddressFamily | undefined;
201
211
  tags?: Tag[] | undefined;
212
+ rateLimit?: string | undefined;
202
213
  }
203
214
  export interface AllocateTransitVirtualInterfaceRequest {
204
215
  connectionId: string | undefined;
@@ -407,6 +418,7 @@ export interface Lag {
407
418
  macSecCapable?: boolean | undefined;
408
419
  encryptionMode?: string | undefined;
409
420
  macSecKeys?: MacSecKey[] | undefined;
421
+ rateLimiterStatus?: RateLimiterStatus | undefined;
410
422
  }
411
423
  export interface NewPrivateVirtualInterface {
412
424
  virtualInterfaceName: string | undefined;
@@ -422,6 +434,7 @@ export interface NewPrivateVirtualInterface {
422
434
  directConnectGatewayId?: string | undefined;
423
435
  tags?: Tag[] | undefined;
424
436
  enableSiteLink?: boolean | undefined;
437
+ rateLimit?: string | undefined;
425
438
  }
426
439
  export interface CreatePrivateVirtualInterfaceRequest {
427
440
  connectionId: string | undefined;
@@ -438,6 +451,7 @@ export interface NewPublicVirtualInterface {
438
451
  addressFamily?: AddressFamily | undefined;
439
452
  routeFilterPrefixes?: RouteFilterPrefix[] | undefined;
440
453
  tags?: Tag[] | undefined;
454
+ rateLimit?: string | undefined;
441
455
  }
442
456
  export interface CreatePublicVirtualInterfaceRequest {
443
457
  connectionId: string | undefined;
@@ -456,6 +470,7 @@ export interface NewTransitVirtualInterface {
456
470
  directConnectGatewayId?: string | undefined;
457
471
  tags?: Tag[] | undefined;
458
472
  enableSiteLink?: boolean | undefined;
473
+ rateLimit?: string | undefined;
459
474
  }
460
475
  export interface CreateTransitVirtualInterfaceRequest {
461
476
  connectionId: string | undefined;
@@ -776,4 +791,5 @@ export interface UpdateVirtualInterfaceAttributesRequest {
776
791
  mtu?: number | undefined;
777
792
  enableSiteLink?: boolean | undefined;
778
793
  virtualInterfaceName?: string | undefined;
794
+ rateLimit?: string | undefined;
779
795
  }
@@ -8,6 +8,7 @@ export declare var DirectConnectServiceException$: StaticErrorSchema;
8
8
  export declare var DirectConnectClientException$: StaticErrorSchema;
9
9
  export declare var DirectConnectServerException$: StaticErrorSchema;
10
10
  export declare var DuplicateTagKeysException$: StaticErrorSchema;
11
+ export declare var LimitExceededException$: StaticErrorSchema;
11
12
  export declare var TooManyTagsException$: StaticErrorSchema;
12
13
  export declare const errorTypeRegistries: TypeRegistry[];
13
14
  export declare var AcceptDirectConnectGatewayAssociationProposalRequest$: StaticStructureSchema;
@@ -116,6 +117,7 @@ export declare var NewPublicVirtualInterface$: StaticStructureSchema;
116
117
  export declare var NewPublicVirtualInterfaceAllocation$: StaticStructureSchema;
117
118
  export declare var NewTransitVirtualInterface$: StaticStructureSchema;
118
119
  export declare var NewTransitVirtualInterfaceAllocation$: StaticStructureSchema;
120
+ export declare var RateLimiterStatus$: StaticStructureSchema;
119
121
  export declare var ResourceTag$: StaticStructureSchema;
120
122
  export declare var RouteFilterPrefix$: StaticStructureSchema;
121
123
  export declare var RouterType$: StaticStructureSchema;
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.1069.0",
4
+ "version": "3.1071.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -23,8 +23,8 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.974.21",
27
- "@aws-sdk/credential-provider-node": "^3.972.56",
26
+ "@aws-sdk/core": "^3.974.22",
27
+ "@aws-sdk/credential-provider-node": "^3.972.57",
28
28
  "@aws-sdk/types": "^3.973.13",
29
29
  "@smithy/core": "^3.24.6",
30
30
  "@smithy/fetch-http-handler": "^5.4.6",