@aws-sdk/client-direct-connect 3.934.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.
package/dist-cjs/index.js CHANGED
@@ -117,17 +117,6 @@ let DirectConnectServiceException$1 = class DirectConnectServiceException extend
117
117
  }
118
118
  };
119
119
 
120
- const GatewayType = {
121
- TransitGateway: "transitGateway",
122
- VirtualPrivateGateway: "virtualPrivateGateway",
123
- };
124
- const DirectConnectGatewayAssociationState = {
125
- associated: "associated",
126
- associating: "associating",
127
- disassociated: "disassociated",
128
- disassociating: "disassociating",
129
- updating: "updating",
130
- };
131
120
  let DirectConnectClientException$1 = class DirectConnectClientException extends DirectConnectServiceException$1 {
132
121
  name = "DirectConnectClientException";
133
122
  $fault = "client";
@@ -152,26 +141,6 @@ let DirectConnectServerException$1 = class DirectConnectServerException extends
152
141
  Object.setPrototypeOf(this, DirectConnectServerException.prototype);
153
142
  }
154
143
  };
155
- const AddressFamily = {
156
- IPv4: "ipv4",
157
- IPv6: "ipv6",
158
- };
159
- const ConnectionState = {
160
- available: "available",
161
- deleted: "deleted",
162
- deleting: "deleting",
163
- down: "down",
164
- ordering: "ordering",
165
- pending: "pending",
166
- rejected: "rejected",
167
- requested: "requested",
168
- unknown: "unknown",
169
- };
170
- const HasLogicalRedundancy = {
171
- No: "no",
172
- Unknown: "unknown",
173
- Yes: "yes",
174
- };
175
144
  let DuplicateTagKeysException$1 = class DuplicateTagKeysException extends DirectConnectServiceException$1 {
176
145
  name = "DuplicateTagKeysException";
177
146
  $fault = "client";
@@ -196,77 +165,6 @@ let TooManyTagsException$1 = class TooManyTagsException extends DirectConnectSer
196
165
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
197
166
  }
198
167
  };
199
- const BGPPeerState = {
200
- Available: "available",
201
- Deleted: "deleted",
202
- Deleting: "deleting",
203
- Pending: "pending",
204
- Verifying: "verifying",
205
- };
206
- const BGPStatus = {
207
- Down: "down",
208
- Unknown: "unknown",
209
- Up: "up",
210
- };
211
- const VirtualInterfaceState = {
212
- available: "available",
213
- confirming: "confirming",
214
- deleted: "deleted",
215
- deleting: "deleting",
216
- down: "down",
217
- pending: "pending",
218
- rejected: "rejected",
219
- testing: "testing",
220
- unknown: "unknown",
221
- verifying: "verifying",
222
- };
223
- const DirectConnectGatewayState = {
224
- available: "available",
225
- deleted: "deleted",
226
- deleting: "deleting",
227
- pending: "pending",
228
- };
229
- const DirectConnectGatewayAssociationProposalState = {
230
- accepted: "accepted",
231
- deleted: "deleted",
232
- requested: "requested",
233
- };
234
- const InterconnectState = {
235
- available: "available",
236
- deleted: "deleted",
237
- deleting: "deleting",
238
- down: "down",
239
- pending: "pending",
240
- requested: "requested",
241
- unknown: "unknown",
242
- };
243
- const LagState = {
244
- available: "available",
245
- deleted: "deleted",
246
- deleting: "deleting",
247
- down: "down",
248
- pending: "pending",
249
- requested: "requested",
250
- unknown: "unknown",
251
- };
252
- const LoaContentType = {
253
- PDF: "application/pdf",
254
- };
255
- const NniPartnerType = {
256
- NonPartner: "nonPartner",
257
- V1: "v1",
258
- V2: "v2",
259
- };
260
- const DirectConnectGatewayAttachmentState = {
261
- attached: "attached",
262
- attaching: "attaching",
263
- detached: "detached",
264
- detaching: "detaching",
265
- };
266
- const DirectConnectGatewayAttachmentType = {
267
- PrivateVirtualInterface: "PrivateVirtualInterface",
268
- TransitVirtualInterface: "TransitVirtualInterface",
269
- };
270
168
 
271
169
  const _ACN = "AssociatedCoreNetwork";
272
170
  const _ACOI = "AllocateConnectionOnInterconnect";
@@ -2644,6 +2542,109 @@ class DirectConnect extends DirectConnectClient {
2644
2542
  }
2645
2543
  smithyClient.createAggregatedClient(commands, DirectConnect);
2646
2544
 
2545
+ const GatewayType = {
2546
+ TransitGateway: "transitGateway",
2547
+ VirtualPrivateGateway: "virtualPrivateGateway",
2548
+ };
2549
+ const DirectConnectGatewayAssociationState = {
2550
+ associated: "associated",
2551
+ associating: "associating",
2552
+ disassociated: "disassociated",
2553
+ disassociating: "disassociating",
2554
+ updating: "updating",
2555
+ };
2556
+ const AddressFamily = {
2557
+ IPv4: "ipv4",
2558
+ IPv6: "ipv6",
2559
+ };
2560
+ const ConnectionState = {
2561
+ available: "available",
2562
+ deleted: "deleted",
2563
+ deleting: "deleting",
2564
+ down: "down",
2565
+ ordering: "ordering",
2566
+ pending: "pending",
2567
+ rejected: "rejected",
2568
+ requested: "requested",
2569
+ unknown: "unknown",
2570
+ };
2571
+ const HasLogicalRedundancy = {
2572
+ No: "no",
2573
+ Unknown: "unknown",
2574
+ Yes: "yes",
2575
+ };
2576
+ const BGPPeerState = {
2577
+ Available: "available",
2578
+ Deleted: "deleted",
2579
+ Deleting: "deleting",
2580
+ Pending: "pending",
2581
+ Verifying: "verifying",
2582
+ };
2583
+ const BGPStatus = {
2584
+ Down: "down",
2585
+ Unknown: "unknown",
2586
+ Up: "up",
2587
+ };
2588
+ const VirtualInterfaceState = {
2589
+ available: "available",
2590
+ confirming: "confirming",
2591
+ deleted: "deleted",
2592
+ deleting: "deleting",
2593
+ down: "down",
2594
+ pending: "pending",
2595
+ rejected: "rejected",
2596
+ testing: "testing",
2597
+ unknown: "unknown",
2598
+ verifying: "verifying",
2599
+ };
2600
+ const DirectConnectGatewayState = {
2601
+ available: "available",
2602
+ deleted: "deleted",
2603
+ deleting: "deleting",
2604
+ pending: "pending",
2605
+ };
2606
+ const DirectConnectGatewayAssociationProposalState = {
2607
+ accepted: "accepted",
2608
+ deleted: "deleted",
2609
+ requested: "requested",
2610
+ };
2611
+ const InterconnectState = {
2612
+ available: "available",
2613
+ deleted: "deleted",
2614
+ deleting: "deleting",
2615
+ down: "down",
2616
+ pending: "pending",
2617
+ requested: "requested",
2618
+ unknown: "unknown",
2619
+ };
2620
+ const LagState = {
2621
+ available: "available",
2622
+ deleted: "deleted",
2623
+ deleting: "deleting",
2624
+ down: "down",
2625
+ pending: "pending",
2626
+ requested: "requested",
2627
+ unknown: "unknown",
2628
+ };
2629
+ const LoaContentType = {
2630
+ PDF: "application/pdf",
2631
+ };
2632
+ const NniPartnerType = {
2633
+ NonPartner: "nonPartner",
2634
+ V1: "v1",
2635
+ V2: "v2",
2636
+ };
2637
+ const DirectConnectGatewayAttachmentState = {
2638
+ attached: "attached",
2639
+ attaching: "attaching",
2640
+ detached: "detached",
2641
+ detaching: "detaching",
2642
+ };
2643
+ const DirectConnectGatewayAttachmentType = {
2644
+ PrivateVirtualInterface: "PrivateVirtualInterface",
2645
+ TransitVirtualInterface: "TransitVirtualInterface",
2646
+ };
2647
+
2647
2648
  Object.defineProperty(exports, "$Command", {
2648
2649
  enumerable: true,
2649
2650
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./DirectConnectClient";
2
2
  export * from "./DirectConnect";
3
3
  export * from "./commands";
4
- export * from "./models";
4
+ export * from "./models/enums";
5
+ export * from "./models/errors";
5
6
  export { DirectConnectServiceException } from "./models/DirectConnectServiceException";
@@ -0,0 +1,102 @@
1
+ export const GatewayType = {
2
+ TransitGateway: "transitGateway",
3
+ VirtualPrivateGateway: "virtualPrivateGateway",
4
+ };
5
+ export const DirectConnectGatewayAssociationState = {
6
+ associated: "associated",
7
+ associating: "associating",
8
+ disassociated: "disassociated",
9
+ disassociating: "disassociating",
10
+ updating: "updating",
11
+ };
12
+ export const AddressFamily = {
13
+ IPv4: "ipv4",
14
+ IPv6: "ipv6",
15
+ };
16
+ export const ConnectionState = {
17
+ available: "available",
18
+ deleted: "deleted",
19
+ deleting: "deleting",
20
+ down: "down",
21
+ ordering: "ordering",
22
+ pending: "pending",
23
+ rejected: "rejected",
24
+ requested: "requested",
25
+ unknown: "unknown",
26
+ };
27
+ export const HasLogicalRedundancy = {
28
+ No: "no",
29
+ Unknown: "unknown",
30
+ Yes: "yes",
31
+ };
32
+ export const BGPPeerState = {
33
+ Available: "available",
34
+ Deleted: "deleted",
35
+ Deleting: "deleting",
36
+ Pending: "pending",
37
+ Verifying: "verifying",
38
+ };
39
+ export const BGPStatus = {
40
+ Down: "down",
41
+ Unknown: "unknown",
42
+ Up: "up",
43
+ };
44
+ export const VirtualInterfaceState = {
45
+ available: "available",
46
+ confirming: "confirming",
47
+ deleted: "deleted",
48
+ deleting: "deleting",
49
+ down: "down",
50
+ pending: "pending",
51
+ rejected: "rejected",
52
+ testing: "testing",
53
+ unknown: "unknown",
54
+ verifying: "verifying",
55
+ };
56
+ export const DirectConnectGatewayState = {
57
+ available: "available",
58
+ deleted: "deleted",
59
+ deleting: "deleting",
60
+ pending: "pending",
61
+ };
62
+ export const DirectConnectGatewayAssociationProposalState = {
63
+ accepted: "accepted",
64
+ deleted: "deleted",
65
+ requested: "requested",
66
+ };
67
+ export const InterconnectState = {
68
+ available: "available",
69
+ deleted: "deleted",
70
+ deleting: "deleting",
71
+ down: "down",
72
+ pending: "pending",
73
+ requested: "requested",
74
+ unknown: "unknown",
75
+ };
76
+ export const LagState = {
77
+ available: "available",
78
+ deleted: "deleted",
79
+ deleting: "deleting",
80
+ down: "down",
81
+ pending: "pending",
82
+ requested: "requested",
83
+ unknown: "unknown",
84
+ };
85
+ export const LoaContentType = {
86
+ PDF: "application/pdf",
87
+ };
88
+ export const NniPartnerType = {
89
+ NonPartner: "nonPartner",
90
+ V1: "v1",
91
+ V2: "v2",
92
+ };
93
+ export const DirectConnectGatewayAttachmentState = {
94
+ attached: "attached",
95
+ attaching: "attaching",
96
+ detached: "detached",
97
+ detaching: "detaching",
98
+ };
99
+ export const DirectConnectGatewayAttachmentType = {
100
+ PrivateVirtualInterface: "PrivateVirtualInterface",
101
+ TransitVirtualInterface: "TransitVirtualInterface",
102
+ };
@@ -0,0 +1,49 @@
1
+ import { DirectConnectServiceException as __BaseException } from "./DirectConnectServiceException";
2
+ export class DirectConnectClientException extends __BaseException {
3
+ name = "DirectConnectClientException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "DirectConnectClientException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, DirectConnectClientException.prototype);
12
+ }
13
+ }
14
+ export class DirectConnectServerException extends __BaseException {
15
+ name = "DirectConnectServerException";
16
+ $fault = "server";
17
+ constructor(opts) {
18
+ super({
19
+ name: "DirectConnectServerException",
20
+ $fault: "server",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, DirectConnectServerException.prototype);
24
+ }
25
+ }
26
+ export class DuplicateTagKeysException extends __BaseException {
27
+ name = "DuplicateTagKeysException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "DuplicateTagKeysException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, DuplicateTagKeysException.prototype);
36
+ }
37
+ }
38
+ export class TooManyTagsException extends __BaseException {
39
+ name = "TooManyTagsException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "TooManyTagsException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
48
+ }
49
+ }
@@ -1,151 +1 @@
1
- import { DirectConnectServiceException as __BaseException } from "./DirectConnectServiceException";
2
- export const GatewayType = {
3
- TransitGateway: "transitGateway",
4
- VirtualPrivateGateway: "virtualPrivateGateway",
5
- };
6
- export const DirectConnectGatewayAssociationState = {
7
- associated: "associated",
8
- associating: "associating",
9
- disassociated: "disassociated",
10
- disassociating: "disassociating",
11
- updating: "updating",
12
- };
13
- export class DirectConnectClientException extends __BaseException {
14
- name = "DirectConnectClientException";
15
- $fault = "client";
16
- constructor(opts) {
17
- super({
18
- name: "DirectConnectClientException",
19
- $fault: "client",
20
- ...opts,
21
- });
22
- Object.setPrototypeOf(this, DirectConnectClientException.prototype);
23
- }
24
- }
25
- export class DirectConnectServerException extends __BaseException {
26
- name = "DirectConnectServerException";
27
- $fault = "server";
28
- constructor(opts) {
29
- super({
30
- name: "DirectConnectServerException",
31
- $fault: "server",
32
- ...opts,
33
- });
34
- Object.setPrototypeOf(this, DirectConnectServerException.prototype);
35
- }
36
- }
37
- export const AddressFamily = {
38
- IPv4: "ipv4",
39
- IPv6: "ipv6",
40
- };
41
- export const ConnectionState = {
42
- available: "available",
43
- deleted: "deleted",
44
- deleting: "deleting",
45
- down: "down",
46
- ordering: "ordering",
47
- pending: "pending",
48
- rejected: "rejected",
49
- requested: "requested",
50
- unknown: "unknown",
51
- };
52
- export const HasLogicalRedundancy = {
53
- No: "no",
54
- Unknown: "unknown",
55
- Yes: "yes",
56
- };
57
- export class DuplicateTagKeysException extends __BaseException {
58
- name = "DuplicateTagKeysException";
59
- $fault = "client";
60
- constructor(opts) {
61
- super({
62
- name: "DuplicateTagKeysException",
63
- $fault: "client",
64
- ...opts,
65
- });
66
- Object.setPrototypeOf(this, DuplicateTagKeysException.prototype);
67
- }
68
- }
69
- export class TooManyTagsException extends __BaseException {
70
- name = "TooManyTagsException";
71
- $fault = "client";
72
- constructor(opts) {
73
- super({
74
- name: "TooManyTagsException",
75
- $fault: "client",
76
- ...opts,
77
- });
78
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
79
- }
80
- }
81
- export const BGPPeerState = {
82
- Available: "available",
83
- Deleted: "deleted",
84
- Deleting: "deleting",
85
- Pending: "pending",
86
- Verifying: "verifying",
87
- };
88
- export const BGPStatus = {
89
- Down: "down",
90
- Unknown: "unknown",
91
- Up: "up",
92
- };
93
- export const VirtualInterfaceState = {
94
- available: "available",
95
- confirming: "confirming",
96
- deleted: "deleted",
97
- deleting: "deleting",
98
- down: "down",
99
- pending: "pending",
100
- rejected: "rejected",
101
- testing: "testing",
102
- unknown: "unknown",
103
- verifying: "verifying",
104
- };
105
- export const DirectConnectGatewayState = {
106
- available: "available",
107
- deleted: "deleted",
108
- deleting: "deleting",
109
- pending: "pending",
110
- };
111
- export const DirectConnectGatewayAssociationProposalState = {
112
- accepted: "accepted",
113
- deleted: "deleted",
114
- requested: "requested",
115
- };
116
- export const InterconnectState = {
117
- available: "available",
118
- deleted: "deleted",
119
- deleting: "deleting",
120
- down: "down",
121
- pending: "pending",
122
- requested: "requested",
123
- unknown: "unknown",
124
- };
125
- export const LagState = {
126
- available: "available",
127
- deleted: "deleted",
128
- deleting: "deleting",
129
- down: "down",
130
- pending: "pending",
131
- requested: "requested",
132
- unknown: "unknown",
133
- };
134
- export const LoaContentType = {
135
- PDF: "application/pdf",
136
- };
137
- export const NniPartnerType = {
138
- NonPartner: "nonPartner",
139
- V1: "v1",
140
- V2: "v2",
141
- };
142
- export const DirectConnectGatewayAttachmentState = {
143
- attached: "attached",
144
- attaching: "attaching",
145
- detached: "detached",
146
- detaching: "detaching",
147
- };
148
- export const DirectConnectGatewayAttachmentType = {
149
- PrivateVirtualInterface: "PrivateVirtualInterface",
150
- TransitVirtualInterface: "TransitVirtualInterface",
151
- };
1
+ export {};
@@ -368,7 +368,7 @@ const _xTNFMS = "xsltTemplateNameForMacSec";
368
368
  const n0 = "com.amazonaws.directconnect";
369
369
  import { TypeRegistry } from "@smithy/core/schema";
370
370
  import { DirectConnectServiceException as __DirectConnectServiceException } from "../models/DirectConnectServiceException";
371
- import { DirectConnectClientException as __DirectConnectClientException, DirectConnectServerException as __DirectConnectServerException, DuplicateTagKeysException as __DuplicateTagKeysException, TooManyTagsException as __TooManyTagsException, } from "../models/index";
371
+ import { DirectConnectClientException as __DirectConnectClientException, DirectConnectServerException as __DirectConnectServerException, DuplicateTagKeysException as __DuplicateTagKeysException, TooManyTagsException as __TooManyTagsException, } from "../models/errors";
372
372
  export var AcceptDirectConnectGatewayAssociationProposalRequest = [
373
373
  3,
374
374
  n0,
@@ -14,5 +14,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
14
14
  export type { RuntimeExtension } from "./runtimeExtensions";
15
15
  export type { DirectConnectExtensionConfiguration } from "./extensionConfiguration";
16
16
  export * from "./commands";
17
- export * from "./models";
17
+ export * from "./models/enums";
18
+ export * from "./models/errors";
19
+ export type * from "./models/models_0";
18
20
  export { DirectConnectServiceException } from "./models/DirectConnectServiceException";