@aws-sdk/client-direct-connect 3.933.0 → 3.935.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.
@@ -0,0 +1,129 @@
1
+ export declare const GatewayType: {
2
+ readonly TransitGateway: "transitGateway";
3
+ readonly VirtualPrivateGateway: "virtualPrivateGateway";
4
+ };
5
+ export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
6
+ export declare const DirectConnectGatewayAssociationState: {
7
+ readonly associated: "associated";
8
+ readonly associating: "associating";
9
+ readonly disassociated: "disassociated";
10
+ readonly disassociating: "disassociating";
11
+ readonly updating: "updating";
12
+ };
13
+ export type DirectConnectGatewayAssociationState =
14
+ (typeof DirectConnectGatewayAssociationState)[keyof typeof DirectConnectGatewayAssociationState];
15
+ export declare const AddressFamily: {
16
+ readonly IPv4: "ipv4";
17
+ readonly IPv6: "ipv6";
18
+ };
19
+ export type AddressFamily = (typeof AddressFamily)[keyof typeof AddressFamily];
20
+ export declare const ConnectionState: {
21
+ readonly available: "available";
22
+ readonly deleted: "deleted";
23
+ readonly deleting: "deleting";
24
+ readonly down: "down";
25
+ readonly ordering: "ordering";
26
+ readonly pending: "pending";
27
+ readonly rejected: "rejected";
28
+ readonly requested: "requested";
29
+ readonly unknown: "unknown";
30
+ };
31
+ export type ConnectionState =
32
+ (typeof ConnectionState)[keyof typeof ConnectionState];
33
+ export declare const HasLogicalRedundancy: {
34
+ readonly No: "no";
35
+ readonly Unknown: "unknown";
36
+ readonly Yes: "yes";
37
+ };
38
+ export type HasLogicalRedundancy =
39
+ (typeof HasLogicalRedundancy)[keyof typeof HasLogicalRedundancy];
40
+ export declare const BGPPeerState: {
41
+ readonly Available: "available";
42
+ readonly Deleted: "deleted";
43
+ readonly Deleting: "deleting";
44
+ readonly Pending: "pending";
45
+ readonly Verifying: "verifying";
46
+ };
47
+ export type BGPPeerState = (typeof BGPPeerState)[keyof typeof BGPPeerState];
48
+ export declare const BGPStatus: {
49
+ readonly Down: "down";
50
+ readonly Unknown: "unknown";
51
+ readonly Up: "up";
52
+ };
53
+ export type BGPStatus = (typeof BGPStatus)[keyof typeof BGPStatus];
54
+ export declare const VirtualInterfaceState: {
55
+ readonly available: "available";
56
+ readonly confirming: "confirming";
57
+ readonly deleted: "deleted";
58
+ readonly deleting: "deleting";
59
+ readonly down: "down";
60
+ readonly pending: "pending";
61
+ readonly rejected: "rejected";
62
+ readonly testing: "testing";
63
+ readonly unknown: "unknown";
64
+ readonly verifying: "verifying";
65
+ };
66
+ export type VirtualInterfaceState =
67
+ (typeof VirtualInterfaceState)[keyof typeof VirtualInterfaceState];
68
+ export declare const DirectConnectGatewayState: {
69
+ readonly available: "available";
70
+ readonly deleted: "deleted";
71
+ readonly deleting: "deleting";
72
+ readonly pending: "pending";
73
+ };
74
+ export type DirectConnectGatewayState =
75
+ (typeof DirectConnectGatewayState)[keyof typeof DirectConnectGatewayState];
76
+ export declare const DirectConnectGatewayAssociationProposalState: {
77
+ readonly accepted: "accepted";
78
+ readonly deleted: "deleted";
79
+ readonly requested: "requested";
80
+ };
81
+ export type DirectConnectGatewayAssociationProposalState =
82
+ (typeof DirectConnectGatewayAssociationProposalState)[keyof typeof DirectConnectGatewayAssociationProposalState];
83
+ export declare const InterconnectState: {
84
+ readonly available: "available";
85
+ readonly deleted: "deleted";
86
+ readonly deleting: "deleting";
87
+ readonly down: "down";
88
+ readonly pending: "pending";
89
+ readonly requested: "requested";
90
+ readonly unknown: "unknown";
91
+ };
92
+ export type InterconnectState =
93
+ (typeof InterconnectState)[keyof typeof InterconnectState];
94
+ export declare const LagState: {
95
+ readonly available: "available";
96
+ readonly deleted: "deleted";
97
+ readonly deleting: "deleting";
98
+ readonly down: "down";
99
+ readonly pending: "pending";
100
+ readonly requested: "requested";
101
+ readonly unknown: "unknown";
102
+ };
103
+ export type LagState = (typeof LagState)[keyof typeof LagState];
104
+ export declare const LoaContentType: {
105
+ readonly PDF: "application/pdf";
106
+ };
107
+ export type LoaContentType =
108
+ (typeof LoaContentType)[keyof typeof LoaContentType];
109
+ export declare const NniPartnerType: {
110
+ readonly NonPartner: "nonPartner";
111
+ readonly V1: "v1";
112
+ readonly V2: "v2";
113
+ };
114
+ export type NniPartnerType =
115
+ (typeof NniPartnerType)[keyof typeof NniPartnerType];
116
+ export declare const DirectConnectGatewayAttachmentState: {
117
+ readonly attached: "attached";
118
+ readonly attaching: "attaching";
119
+ readonly detached: "detached";
120
+ readonly detaching: "detaching";
121
+ };
122
+ export type DirectConnectGatewayAttachmentState =
123
+ (typeof DirectConnectGatewayAttachmentState)[keyof typeof DirectConnectGatewayAttachmentState];
124
+ export declare const DirectConnectGatewayAttachmentType: {
125
+ readonly PrivateVirtualInterface: "PrivateVirtualInterface";
126
+ readonly TransitVirtualInterface: "TransitVirtualInterface";
127
+ };
128
+ export type DirectConnectGatewayAttachmentType =
129
+ (typeof DirectConnectGatewayAttachmentType)[keyof typeof DirectConnectGatewayAttachmentType];
@@ -0,0 +1,30 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DirectConnectServiceException as __BaseException } from "./DirectConnectServiceException";
3
+ export declare class DirectConnectClientException extends __BaseException {
4
+ readonly name: "DirectConnectClientException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<DirectConnectClientException, __BaseException>
8
+ );
9
+ }
10
+ export declare class DirectConnectServerException extends __BaseException {
11
+ readonly name: "DirectConnectServerException";
12
+ readonly $fault: "server";
13
+ constructor(
14
+ opts: __ExceptionOptionType<DirectConnectServerException, __BaseException>
15
+ );
16
+ }
17
+ export declare class DuplicateTagKeysException extends __BaseException {
18
+ readonly name: "DuplicateTagKeysException";
19
+ readonly $fault: "client";
20
+ constructor(
21
+ opts: __ExceptionOptionType<DuplicateTagKeysException, __BaseException>
22
+ );
23
+ }
24
+ export declare class TooManyTagsException extends __BaseException {
25
+ readonly name: "TooManyTagsException";
26
+ readonly $fault: "client";
27
+ constructor(
28
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
29
+ );
30
+ }
@@ -1,5 +1,21 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { DirectConnectServiceException as __BaseException } from "./DirectConnectServiceException";
1
+ import {
2
+ AddressFamily,
3
+ BGPPeerState,
4
+ BGPStatus,
5
+ ConnectionState,
6
+ DirectConnectGatewayAssociationProposalState,
7
+ DirectConnectGatewayAssociationState,
8
+ DirectConnectGatewayAttachmentState,
9
+ DirectConnectGatewayAttachmentType,
10
+ DirectConnectGatewayState,
11
+ GatewayType,
12
+ HasLogicalRedundancy,
13
+ InterconnectState,
14
+ LagState,
15
+ LoaContentType,
16
+ NniPartnerType,
17
+ VirtualInterfaceState,
18
+ } from "./enums";
3
19
  export interface RouteFilterPrefix {
4
20
  cidr?: string | undefined;
5
21
  }
@@ -16,26 +32,12 @@ export interface AssociatedCoreNetwork {
16
32
  ownerAccount?: string | undefined;
17
33
  attachmentId?: string | undefined;
18
34
  }
19
- export declare const GatewayType: {
20
- readonly TransitGateway: "transitGateway";
21
- readonly VirtualPrivateGateway: "virtualPrivateGateway";
22
- };
23
- export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
24
35
  export interface AssociatedGateway {
25
36
  id?: string | undefined;
26
37
  type?: GatewayType | undefined;
27
38
  ownerAccount?: string | undefined;
28
39
  region?: string | undefined;
29
40
  }
30
- export declare const DirectConnectGatewayAssociationState: {
31
- readonly associated: "associated";
32
- readonly associating: "associating";
33
- readonly disassociated: "disassociated";
34
- readonly disassociating: "disassociating";
35
- readonly updating: "updating";
36
- };
37
- export type DirectConnectGatewayAssociationState =
38
- (typeof DirectConnectGatewayAssociationState)[keyof typeof DirectConnectGatewayAssociationState];
39
41
  export interface DirectConnectGatewayAssociation {
40
42
  directConnectGatewayId?: string | undefined;
41
43
  directConnectGatewayOwnerAccount?: string | undefined;
@@ -52,25 +54,6 @@ export interface DirectConnectGatewayAssociation {
52
54
  export interface AcceptDirectConnectGatewayAssociationProposalResult {
53
55
  directConnectGatewayAssociation?: DirectConnectGatewayAssociation | undefined;
54
56
  }
55
- export declare class DirectConnectClientException extends __BaseException {
56
- readonly name: "DirectConnectClientException";
57
- readonly $fault: "client";
58
- constructor(
59
- opts: __ExceptionOptionType<DirectConnectClientException, __BaseException>
60
- );
61
- }
62
- export declare class DirectConnectServerException extends __BaseException {
63
- readonly name: "DirectConnectServerException";
64
- readonly $fault: "server";
65
- constructor(
66
- opts: __ExceptionOptionType<DirectConnectServerException, __BaseException>
67
- );
68
- }
69
- export declare const AddressFamily: {
70
- readonly IPv4: "ipv4";
71
- readonly IPv6: "ipv6";
72
- };
73
- export type AddressFamily = (typeof AddressFamily)[keyof typeof AddressFamily];
74
57
  export interface CustomerAgreement {
75
58
  agreementName?: string | undefined;
76
59
  status?: string | undefined;
@@ -82,26 +65,6 @@ export interface AllocateConnectionOnInterconnectRequest {
82
65
  interconnectId: string | undefined;
83
66
  vlan: number | undefined;
84
67
  }
85
- export declare const ConnectionState: {
86
- readonly available: "available";
87
- readonly deleted: "deleted";
88
- readonly deleting: "deleting";
89
- readonly down: "down";
90
- readonly ordering: "ordering";
91
- readonly pending: "pending";
92
- readonly rejected: "rejected";
93
- readonly requested: "requested";
94
- readonly unknown: "unknown";
95
- };
96
- export type ConnectionState =
97
- (typeof ConnectionState)[keyof typeof ConnectionState];
98
- export declare const HasLogicalRedundancy: {
99
- readonly No: "no";
100
- readonly Unknown: "unknown";
101
- readonly Yes: "yes";
102
- };
103
- export type HasLogicalRedundancy =
104
- (typeof HasLogicalRedundancy)[keyof typeof HasLogicalRedundancy];
105
68
  export interface MacSecKey {
106
69
  secretARN?: string | undefined;
107
70
  ckn?: string | undefined;
@@ -145,20 +108,6 @@ export interface AllocateHostedConnectionRequest {
145
108
  vlan: number | undefined;
146
109
  tags?: Tag[] | undefined;
147
110
  }
148
- export declare class DuplicateTagKeysException extends __BaseException {
149
- readonly name: "DuplicateTagKeysException";
150
- readonly $fault: "client";
151
- constructor(
152
- opts: __ExceptionOptionType<DuplicateTagKeysException, __BaseException>
153
- );
154
- }
155
- export declare class TooManyTagsException extends __BaseException {
156
- readonly name: "TooManyTagsException";
157
- readonly $fault: "client";
158
- constructor(
159
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
160
- );
161
- }
162
111
  export interface NewPrivateVirtualInterfaceAllocation {
163
112
  virtualInterfaceName: string | undefined;
164
113
  vlan: number | undefined;
@@ -178,20 +127,6 @@ export interface AllocatePrivateVirtualInterfaceRequest {
178
127
  | NewPrivateVirtualInterfaceAllocation
179
128
  | undefined;
180
129
  }
181
- export declare const BGPPeerState: {
182
- readonly Available: "available";
183
- readonly Deleted: "deleted";
184
- readonly Deleting: "deleting";
185
- readonly Pending: "pending";
186
- readonly Verifying: "verifying";
187
- };
188
- export type BGPPeerState = (typeof BGPPeerState)[keyof typeof BGPPeerState];
189
- export declare const BGPStatus: {
190
- readonly Down: "down";
191
- readonly Unknown: "unknown";
192
- readonly Up: "up";
193
- };
194
- export type BGPStatus = (typeof BGPStatus)[keyof typeof BGPStatus];
195
130
  export interface BGPPeer {
196
131
  bgpPeerId?: string | undefined;
197
132
  asn?: number | undefined;
@@ -205,20 +140,6 @@ export interface BGPPeer {
205
140
  awsDeviceV2?: string | undefined;
206
141
  awsLogicalDeviceId?: string | undefined;
207
142
  }
208
- export declare const VirtualInterfaceState: {
209
- readonly available: "available";
210
- readonly confirming: "confirming";
211
- readonly deleted: "deleted";
212
- readonly deleting: "deleting";
213
- readonly down: "down";
214
- readonly pending: "pending";
215
- readonly rejected: "rejected";
216
- readonly testing: "testing";
217
- readonly unknown: "unknown";
218
- readonly verifying: "verifying";
219
- };
220
- export type VirtualInterfaceState =
221
- (typeof VirtualInterfaceState)[keyof typeof VirtualInterfaceState];
222
143
  export interface VirtualInterface {
223
144
  ownerAccount?: string | undefined;
224
145
  virtualInterfaceId?: string | undefined;
@@ -377,14 +298,6 @@ export interface CreateDirectConnectGatewayRequest {
377
298
  tags?: Tag[] | undefined;
378
299
  amazonSideAsn?: number | undefined;
379
300
  }
380
- export declare const DirectConnectGatewayState: {
381
- readonly available: "available";
382
- readonly deleted: "deleted";
383
- readonly deleting: "deleting";
384
- readonly pending: "pending";
385
- };
386
- export type DirectConnectGatewayState =
387
- (typeof DirectConnectGatewayState)[keyof typeof DirectConnectGatewayState];
388
301
  export interface DirectConnectGateway {
389
302
  directConnectGatewayId?: string | undefined;
390
303
  directConnectGatewayName?: string | undefined;
@@ -413,13 +326,6 @@ export interface CreateDirectConnectGatewayAssociationProposalRequest {
413
326
  addAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[] | undefined;
414
327
  removeAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[] | undefined;
415
328
  }
416
- export declare const DirectConnectGatewayAssociationProposalState: {
417
- readonly accepted: "accepted";
418
- readonly deleted: "deleted";
419
- readonly requested: "requested";
420
- };
421
- export type DirectConnectGatewayAssociationProposalState =
422
- (typeof DirectConnectGatewayAssociationProposalState)[keyof typeof DirectConnectGatewayAssociationProposalState];
423
329
  export interface DirectConnectGatewayAssociationProposal {
424
330
  proposalId?: string | undefined;
425
331
  directConnectGatewayId?: string | undefined;
@@ -447,17 +353,6 @@ export interface CreateInterconnectRequest {
447
353
  providerName?: string | undefined;
448
354
  requestMACSec?: boolean | undefined;
449
355
  }
450
- export declare const InterconnectState: {
451
- readonly available: "available";
452
- readonly deleted: "deleted";
453
- readonly deleting: "deleting";
454
- readonly down: "down";
455
- readonly pending: "pending";
456
- readonly requested: "requested";
457
- readonly unknown: "unknown";
458
- };
459
- export type InterconnectState =
460
- (typeof InterconnectState)[keyof typeof InterconnectState];
461
356
  export interface Interconnect {
462
357
  interconnectId?: string | undefined;
463
358
  interconnectName?: string | undefined;
@@ -490,16 +385,6 @@ export interface CreateLagRequest {
490
385
  providerName?: string | undefined;
491
386
  requestMACSec?: boolean | undefined;
492
387
  }
493
- export declare const LagState: {
494
- readonly available: "available";
495
- readonly deleted: "deleted";
496
- readonly deleting: "deleting";
497
- readonly down: "down";
498
- readonly pending: "pending";
499
- readonly requested: "requested";
500
- readonly unknown: "unknown";
501
- };
502
- export type LagState = (typeof LagState)[keyof typeof LagState];
503
388
  export interface Lag {
504
389
  connectionsBandwidth?: string | undefined;
505
390
  numberOfConnections?: number | undefined;
@@ -629,11 +514,6 @@ export interface DeleteVirtualInterfaceRequest {
629
514
  export interface DeleteVirtualInterfaceResponse {
630
515
  virtualInterfaceState?: VirtualInterfaceState | undefined;
631
516
  }
632
- export declare const LoaContentType: {
633
- readonly PDF: "application/pdf";
634
- };
635
- export type LoaContentType =
636
- (typeof LoaContentType)[keyof typeof LoaContentType];
637
517
  export interface DescribeConnectionLoaRequest {
638
518
  connectionId: string | undefined;
639
519
  providerName?: string | undefined;
@@ -654,13 +534,6 @@ export interface DescribeConnectionsRequest {
654
534
  export interface DescribeConnectionsOnInterconnectRequest {
655
535
  interconnectId: string | undefined;
656
536
  }
657
- export declare const NniPartnerType: {
658
- readonly NonPartner: "nonPartner";
659
- readonly V1: "v1";
660
- readonly V2: "v2";
661
- };
662
- export type NniPartnerType =
663
- (typeof NniPartnerType)[keyof typeof NniPartnerType];
664
537
  export interface DescribeCustomerMetadataResponse {
665
538
  agreements?: CustomerAgreement[] | undefined;
666
539
  nniPartnerType?: NniPartnerType | undefined;
@@ -698,20 +571,6 @@ export interface DescribeDirectConnectGatewayAttachmentsRequest {
698
571
  maxResults?: number | undefined;
699
572
  nextToken?: string | undefined;
700
573
  }
701
- export declare const DirectConnectGatewayAttachmentState: {
702
- readonly attached: "attached";
703
- readonly attaching: "attaching";
704
- readonly detached: "detached";
705
- readonly detaching: "detaching";
706
- };
707
- export type DirectConnectGatewayAttachmentState =
708
- (typeof DirectConnectGatewayAttachmentState)[keyof typeof DirectConnectGatewayAttachmentState];
709
- export declare const DirectConnectGatewayAttachmentType: {
710
- readonly PrivateVirtualInterface: "PrivateVirtualInterface";
711
- readonly TransitVirtualInterface: "TransitVirtualInterface";
712
- };
713
- export type DirectConnectGatewayAttachmentType =
714
- (typeof DirectConnectGatewayAttachmentType)[keyof typeof DirectConnectGatewayAttachmentType];
715
574
  export interface DirectConnectGatewayAttachment {
716
575
  directConnectGatewayId?: string | undefined;
717
576
  virtualInterfaceId?: string | undefined;
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.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-direct-connect",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";