@aws-sdk/client-direct-connect 3.301.0 → 3.303.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.
@@ -2,19 +2,17 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DirectConnectGatewayAttachmentType = exports.DirectConnectGatewayAttachmentState = exports.NniPartnerType = exports.LoaContentType = exports.LagState = exports.InterconnectState = exports.DirectConnectGatewayAssociationProposalState = exports.DirectConnectGatewayState = exports.VirtualInterfaceState = exports.BGPStatus = exports.BGPPeerState = exports.TooManyTagsException = exports.DuplicateTagKeysException = exports.HasLogicalRedundancy = exports.ConnectionState = exports.AddressFamily = exports.DirectConnectServerException = exports.DirectConnectClientException = exports.DirectConnectGatewayAssociationState = exports.GatewayType = void 0;
4
4
  const DirectConnectServiceException_1 = require("./DirectConnectServiceException");
5
- var GatewayType;
6
- (function (GatewayType) {
7
- GatewayType["TransitGateway"] = "transitGateway";
8
- GatewayType["VirtualPrivateGateway"] = "virtualPrivateGateway";
9
- })(GatewayType = exports.GatewayType || (exports.GatewayType = {}));
10
- var DirectConnectGatewayAssociationState;
11
- (function (DirectConnectGatewayAssociationState) {
12
- DirectConnectGatewayAssociationState["associated"] = "associated";
13
- DirectConnectGatewayAssociationState["associating"] = "associating";
14
- DirectConnectGatewayAssociationState["disassociated"] = "disassociated";
15
- DirectConnectGatewayAssociationState["disassociating"] = "disassociating";
16
- DirectConnectGatewayAssociationState["updating"] = "updating";
17
- })(DirectConnectGatewayAssociationState = exports.DirectConnectGatewayAssociationState || (exports.DirectConnectGatewayAssociationState = {}));
5
+ exports.GatewayType = {
6
+ TransitGateway: "transitGateway",
7
+ VirtualPrivateGateway: "virtualPrivateGateway",
8
+ };
9
+ exports.DirectConnectGatewayAssociationState = {
10
+ associated: "associated",
11
+ associating: "associating",
12
+ disassociated: "disassociated",
13
+ disassociating: "disassociating",
14
+ updating: "updating",
15
+ };
18
16
  class DirectConnectClientException extends DirectConnectServiceException_1.DirectConnectServiceException {
19
17
  constructor(opts) {
20
18
  super({
@@ -41,29 +39,26 @@ class DirectConnectServerException extends DirectConnectServiceException_1.Direc
41
39
  }
42
40
  }
43
41
  exports.DirectConnectServerException = DirectConnectServerException;
44
- var AddressFamily;
45
- (function (AddressFamily) {
46
- AddressFamily["IPv4"] = "ipv4";
47
- AddressFamily["IPv6"] = "ipv6";
48
- })(AddressFamily = exports.AddressFamily || (exports.AddressFamily = {}));
49
- var ConnectionState;
50
- (function (ConnectionState) {
51
- ConnectionState["available"] = "available";
52
- ConnectionState["deleted"] = "deleted";
53
- ConnectionState["deleting"] = "deleting";
54
- ConnectionState["down"] = "down";
55
- ConnectionState["ordering"] = "ordering";
56
- ConnectionState["pending"] = "pending";
57
- ConnectionState["rejected"] = "rejected";
58
- ConnectionState["requested"] = "requested";
59
- ConnectionState["unknown"] = "unknown";
60
- })(ConnectionState = exports.ConnectionState || (exports.ConnectionState = {}));
61
- var HasLogicalRedundancy;
62
- (function (HasLogicalRedundancy) {
63
- HasLogicalRedundancy["No"] = "no";
64
- HasLogicalRedundancy["Unknown"] = "unknown";
65
- HasLogicalRedundancy["Yes"] = "yes";
66
- })(HasLogicalRedundancy = exports.HasLogicalRedundancy || (exports.HasLogicalRedundancy = {}));
42
+ exports.AddressFamily = {
43
+ IPv4: "ipv4",
44
+ IPv6: "ipv6",
45
+ };
46
+ exports.ConnectionState = {
47
+ available: "available",
48
+ deleted: "deleted",
49
+ deleting: "deleting",
50
+ down: "down",
51
+ ordering: "ordering",
52
+ pending: "pending",
53
+ rejected: "rejected",
54
+ requested: "requested",
55
+ unknown: "unknown",
56
+ };
57
+ exports.HasLogicalRedundancy = {
58
+ No: "no",
59
+ Unknown: "unknown",
60
+ Yes: "yes",
61
+ };
67
62
  class DuplicateTagKeysException extends DirectConnectServiceException_1.DirectConnectServiceException {
68
63
  constructor(opts) {
69
64
  super({
@@ -90,84 +85,73 @@ class TooManyTagsException extends DirectConnectServiceException_1.DirectConnect
90
85
  }
91
86
  }
92
87
  exports.TooManyTagsException = TooManyTagsException;
93
- var BGPPeerState;
94
- (function (BGPPeerState) {
95
- BGPPeerState["Available"] = "available";
96
- BGPPeerState["Deleted"] = "deleted";
97
- BGPPeerState["Deleting"] = "deleting";
98
- BGPPeerState["Pending"] = "pending";
99
- BGPPeerState["Verifying"] = "verifying";
100
- })(BGPPeerState = exports.BGPPeerState || (exports.BGPPeerState = {}));
101
- var BGPStatus;
102
- (function (BGPStatus) {
103
- BGPStatus["Down"] = "down";
104
- BGPStatus["Unknown"] = "unknown";
105
- BGPStatus["Up"] = "up";
106
- })(BGPStatus = exports.BGPStatus || (exports.BGPStatus = {}));
107
- var VirtualInterfaceState;
108
- (function (VirtualInterfaceState) {
109
- VirtualInterfaceState["available"] = "available";
110
- VirtualInterfaceState["confirming"] = "confirming";
111
- VirtualInterfaceState["deleted"] = "deleted";
112
- VirtualInterfaceState["deleting"] = "deleting";
113
- VirtualInterfaceState["down"] = "down";
114
- VirtualInterfaceState["pending"] = "pending";
115
- VirtualInterfaceState["rejected"] = "rejected";
116
- VirtualInterfaceState["unknown"] = "unknown";
117
- VirtualInterfaceState["verifying"] = "verifying";
118
- })(VirtualInterfaceState = exports.VirtualInterfaceState || (exports.VirtualInterfaceState = {}));
119
- var DirectConnectGatewayState;
120
- (function (DirectConnectGatewayState) {
121
- DirectConnectGatewayState["available"] = "available";
122
- DirectConnectGatewayState["deleted"] = "deleted";
123
- DirectConnectGatewayState["deleting"] = "deleting";
124
- DirectConnectGatewayState["pending"] = "pending";
125
- })(DirectConnectGatewayState = exports.DirectConnectGatewayState || (exports.DirectConnectGatewayState = {}));
126
- var DirectConnectGatewayAssociationProposalState;
127
- (function (DirectConnectGatewayAssociationProposalState) {
128
- DirectConnectGatewayAssociationProposalState["accepted"] = "accepted";
129
- DirectConnectGatewayAssociationProposalState["deleted"] = "deleted";
130
- DirectConnectGatewayAssociationProposalState["requested"] = "requested";
131
- })(DirectConnectGatewayAssociationProposalState = exports.DirectConnectGatewayAssociationProposalState || (exports.DirectConnectGatewayAssociationProposalState = {}));
132
- var InterconnectState;
133
- (function (InterconnectState) {
134
- InterconnectState["available"] = "available";
135
- InterconnectState["deleted"] = "deleted";
136
- InterconnectState["deleting"] = "deleting";
137
- InterconnectState["down"] = "down";
138
- InterconnectState["pending"] = "pending";
139
- InterconnectState["requested"] = "requested";
140
- InterconnectState["unknown"] = "unknown";
141
- })(InterconnectState = exports.InterconnectState || (exports.InterconnectState = {}));
142
- var LagState;
143
- (function (LagState) {
144
- LagState["available"] = "available";
145
- LagState["deleted"] = "deleted";
146
- LagState["deleting"] = "deleting";
147
- LagState["down"] = "down";
148
- LagState["pending"] = "pending";
149
- LagState["requested"] = "requested";
150
- LagState["unknown"] = "unknown";
151
- })(LagState = exports.LagState || (exports.LagState = {}));
152
- var LoaContentType;
153
- (function (LoaContentType) {
154
- LoaContentType["PDF"] = "application/pdf";
155
- })(LoaContentType = exports.LoaContentType || (exports.LoaContentType = {}));
156
- var NniPartnerType;
157
- (function (NniPartnerType) {
158
- NniPartnerType["NonPartner"] = "nonPartner";
159
- NniPartnerType["V1"] = "v1";
160
- NniPartnerType["V2"] = "v2";
161
- })(NniPartnerType = exports.NniPartnerType || (exports.NniPartnerType = {}));
162
- var DirectConnectGatewayAttachmentState;
163
- (function (DirectConnectGatewayAttachmentState) {
164
- DirectConnectGatewayAttachmentState["attached"] = "attached";
165
- DirectConnectGatewayAttachmentState["attaching"] = "attaching";
166
- DirectConnectGatewayAttachmentState["detached"] = "detached";
167
- DirectConnectGatewayAttachmentState["detaching"] = "detaching";
168
- })(DirectConnectGatewayAttachmentState = exports.DirectConnectGatewayAttachmentState || (exports.DirectConnectGatewayAttachmentState = {}));
169
- var DirectConnectGatewayAttachmentType;
170
- (function (DirectConnectGatewayAttachmentType) {
171
- DirectConnectGatewayAttachmentType["PrivateVirtualInterface"] = "PrivateVirtualInterface";
172
- DirectConnectGatewayAttachmentType["TransitVirtualInterface"] = "TransitVirtualInterface";
173
- })(DirectConnectGatewayAttachmentType = exports.DirectConnectGatewayAttachmentType || (exports.DirectConnectGatewayAttachmentType = {}));
88
+ exports.BGPPeerState = {
89
+ Available: "available",
90
+ Deleted: "deleted",
91
+ Deleting: "deleting",
92
+ Pending: "pending",
93
+ Verifying: "verifying",
94
+ };
95
+ exports.BGPStatus = {
96
+ Down: "down",
97
+ Unknown: "unknown",
98
+ Up: "up",
99
+ };
100
+ exports.VirtualInterfaceState = {
101
+ available: "available",
102
+ confirming: "confirming",
103
+ deleted: "deleted",
104
+ deleting: "deleting",
105
+ down: "down",
106
+ pending: "pending",
107
+ rejected: "rejected",
108
+ unknown: "unknown",
109
+ verifying: "verifying",
110
+ };
111
+ exports.DirectConnectGatewayState = {
112
+ available: "available",
113
+ deleted: "deleted",
114
+ deleting: "deleting",
115
+ pending: "pending",
116
+ };
117
+ exports.DirectConnectGatewayAssociationProposalState = {
118
+ accepted: "accepted",
119
+ deleted: "deleted",
120
+ requested: "requested",
121
+ };
122
+ exports.InterconnectState = {
123
+ available: "available",
124
+ deleted: "deleted",
125
+ deleting: "deleting",
126
+ down: "down",
127
+ pending: "pending",
128
+ requested: "requested",
129
+ unknown: "unknown",
130
+ };
131
+ exports.LagState = {
132
+ available: "available",
133
+ deleted: "deleted",
134
+ deleting: "deleting",
135
+ down: "down",
136
+ pending: "pending",
137
+ requested: "requested",
138
+ unknown: "unknown",
139
+ };
140
+ exports.LoaContentType = {
141
+ PDF: "application/pdf",
142
+ };
143
+ exports.NniPartnerType = {
144
+ NonPartner: "nonPartner",
145
+ V1: "v1",
146
+ V2: "v2",
147
+ };
148
+ exports.DirectConnectGatewayAttachmentState = {
149
+ attached: "attached",
150
+ attaching: "attaching",
151
+ detached: "detached",
152
+ detaching: "detaching",
153
+ };
154
+ exports.DirectConnectGatewayAttachmentType = {
155
+ PrivateVirtualInterface: "PrivateVirtualInterface",
156
+ TransitVirtualInterface: "TransitVirtualInterface",
157
+ };
@@ -1,17 +1,15 @@
1
1
  import { DirectConnectServiceException as __BaseException } from "./DirectConnectServiceException";
2
- export var GatewayType;
3
- (function (GatewayType) {
4
- GatewayType["TransitGateway"] = "transitGateway";
5
- GatewayType["VirtualPrivateGateway"] = "virtualPrivateGateway";
6
- })(GatewayType || (GatewayType = {}));
7
- export var DirectConnectGatewayAssociationState;
8
- (function (DirectConnectGatewayAssociationState) {
9
- DirectConnectGatewayAssociationState["associated"] = "associated";
10
- DirectConnectGatewayAssociationState["associating"] = "associating";
11
- DirectConnectGatewayAssociationState["disassociated"] = "disassociated";
12
- DirectConnectGatewayAssociationState["disassociating"] = "disassociating";
13
- DirectConnectGatewayAssociationState["updating"] = "updating";
14
- })(DirectConnectGatewayAssociationState || (DirectConnectGatewayAssociationState = {}));
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
+ };
15
13
  export class DirectConnectClientException extends __BaseException {
16
14
  constructor(opts) {
17
15
  super({
@@ -36,29 +34,26 @@ export class DirectConnectServerException extends __BaseException {
36
34
  Object.setPrototypeOf(this, DirectConnectServerException.prototype);
37
35
  }
38
36
  }
39
- export var AddressFamily;
40
- (function (AddressFamily) {
41
- AddressFamily["IPv4"] = "ipv4";
42
- AddressFamily["IPv6"] = "ipv6";
43
- })(AddressFamily || (AddressFamily = {}));
44
- export var ConnectionState;
45
- (function (ConnectionState) {
46
- ConnectionState["available"] = "available";
47
- ConnectionState["deleted"] = "deleted";
48
- ConnectionState["deleting"] = "deleting";
49
- ConnectionState["down"] = "down";
50
- ConnectionState["ordering"] = "ordering";
51
- ConnectionState["pending"] = "pending";
52
- ConnectionState["rejected"] = "rejected";
53
- ConnectionState["requested"] = "requested";
54
- ConnectionState["unknown"] = "unknown";
55
- })(ConnectionState || (ConnectionState = {}));
56
- export var HasLogicalRedundancy;
57
- (function (HasLogicalRedundancy) {
58
- HasLogicalRedundancy["No"] = "no";
59
- HasLogicalRedundancy["Unknown"] = "unknown";
60
- HasLogicalRedundancy["Yes"] = "yes";
61
- })(HasLogicalRedundancy || (HasLogicalRedundancy = {}));
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
+ };
62
57
  export class DuplicateTagKeysException extends __BaseException {
63
58
  constructor(opts) {
64
59
  super({
@@ -83,84 +78,73 @@ export class TooManyTagsException extends __BaseException {
83
78
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
84
79
  }
85
80
  }
86
- export var BGPPeerState;
87
- (function (BGPPeerState) {
88
- BGPPeerState["Available"] = "available";
89
- BGPPeerState["Deleted"] = "deleted";
90
- BGPPeerState["Deleting"] = "deleting";
91
- BGPPeerState["Pending"] = "pending";
92
- BGPPeerState["Verifying"] = "verifying";
93
- })(BGPPeerState || (BGPPeerState = {}));
94
- export var BGPStatus;
95
- (function (BGPStatus) {
96
- BGPStatus["Down"] = "down";
97
- BGPStatus["Unknown"] = "unknown";
98
- BGPStatus["Up"] = "up";
99
- })(BGPStatus || (BGPStatus = {}));
100
- export var VirtualInterfaceState;
101
- (function (VirtualInterfaceState) {
102
- VirtualInterfaceState["available"] = "available";
103
- VirtualInterfaceState["confirming"] = "confirming";
104
- VirtualInterfaceState["deleted"] = "deleted";
105
- VirtualInterfaceState["deleting"] = "deleting";
106
- VirtualInterfaceState["down"] = "down";
107
- VirtualInterfaceState["pending"] = "pending";
108
- VirtualInterfaceState["rejected"] = "rejected";
109
- VirtualInterfaceState["unknown"] = "unknown";
110
- VirtualInterfaceState["verifying"] = "verifying";
111
- })(VirtualInterfaceState || (VirtualInterfaceState = {}));
112
- export var DirectConnectGatewayState;
113
- (function (DirectConnectGatewayState) {
114
- DirectConnectGatewayState["available"] = "available";
115
- DirectConnectGatewayState["deleted"] = "deleted";
116
- DirectConnectGatewayState["deleting"] = "deleting";
117
- DirectConnectGatewayState["pending"] = "pending";
118
- })(DirectConnectGatewayState || (DirectConnectGatewayState = {}));
119
- export var DirectConnectGatewayAssociationProposalState;
120
- (function (DirectConnectGatewayAssociationProposalState) {
121
- DirectConnectGatewayAssociationProposalState["accepted"] = "accepted";
122
- DirectConnectGatewayAssociationProposalState["deleted"] = "deleted";
123
- DirectConnectGatewayAssociationProposalState["requested"] = "requested";
124
- })(DirectConnectGatewayAssociationProposalState || (DirectConnectGatewayAssociationProposalState = {}));
125
- export var InterconnectState;
126
- (function (InterconnectState) {
127
- InterconnectState["available"] = "available";
128
- InterconnectState["deleted"] = "deleted";
129
- InterconnectState["deleting"] = "deleting";
130
- InterconnectState["down"] = "down";
131
- InterconnectState["pending"] = "pending";
132
- InterconnectState["requested"] = "requested";
133
- InterconnectState["unknown"] = "unknown";
134
- })(InterconnectState || (InterconnectState = {}));
135
- export var LagState;
136
- (function (LagState) {
137
- LagState["available"] = "available";
138
- LagState["deleted"] = "deleted";
139
- LagState["deleting"] = "deleting";
140
- LagState["down"] = "down";
141
- LagState["pending"] = "pending";
142
- LagState["requested"] = "requested";
143
- LagState["unknown"] = "unknown";
144
- })(LagState || (LagState = {}));
145
- export var LoaContentType;
146
- (function (LoaContentType) {
147
- LoaContentType["PDF"] = "application/pdf";
148
- })(LoaContentType || (LoaContentType = {}));
149
- export var NniPartnerType;
150
- (function (NniPartnerType) {
151
- NniPartnerType["NonPartner"] = "nonPartner";
152
- NniPartnerType["V1"] = "v1";
153
- NniPartnerType["V2"] = "v2";
154
- })(NniPartnerType || (NniPartnerType = {}));
155
- export var DirectConnectGatewayAttachmentState;
156
- (function (DirectConnectGatewayAttachmentState) {
157
- DirectConnectGatewayAttachmentState["attached"] = "attached";
158
- DirectConnectGatewayAttachmentState["attaching"] = "attaching";
159
- DirectConnectGatewayAttachmentState["detached"] = "detached";
160
- DirectConnectGatewayAttachmentState["detaching"] = "detaching";
161
- })(DirectConnectGatewayAttachmentState || (DirectConnectGatewayAttachmentState = {}));
162
- export var DirectConnectGatewayAttachmentType;
163
- (function (DirectConnectGatewayAttachmentType) {
164
- DirectConnectGatewayAttachmentType["PrivateVirtualInterface"] = "PrivateVirtualInterface";
165
- DirectConnectGatewayAttachmentType["TransitVirtualInterface"] = "TransitVirtualInterface";
166
- })(DirectConnectGatewayAttachmentType || (DirectConnectGatewayAttachmentType = {}));
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
+ unknown: "unknown",
102
+ verifying: "verifying",
103
+ };
104
+ export const DirectConnectGatewayState = {
105
+ available: "available",
106
+ deleted: "deleted",
107
+ deleting: "deleting",
108
+ pending: "pending",
109
+ };
110
+ export const DirectConnectGatewayAssociationProposalState = {
111
+ accepted: "accepted",
112
+ deleted: "deleted",
113
+ requested: "requested",
114
+ };
115
+ export const InterconnectState = {
116
+ available: "available",
117
+ deleted: "deleted",
118
+ deleting: "deleting",
119
+ down: "down",
120
+ pending: "pending",
121
+ requested: "requested",
122
+ unknown: "unknown",
123
+ };
124
+ export const LagState = {
125
+ available: "available",
126
+ deleted: "deleted",
127
+ deleting: "deleting",
128
+ down: "down",
129
+ pending: "pending",
130
+ requested: "requested",
131
+ unknown: "unknown",
132
+ };
133
+ export const LoaContentType = {
134
+ PDF: "application/pdf",
135
+ };
136
+ export const NniPartnerType = {
137
+ NonPartner: "nonPartner",
138
+ V1: "v1",
139
+ V2: "v2",
140
+ };
141
+ export const DirectConnectGatewayAttachmentState = {
142
+ attached: "attached",
143
+ attaching: "attaching",
144
+ detached: "detached",
145
+ detaching: "detaching",
146
+ };
147
+ export const DirectConnectGatewayAttachmentType = {
148
+ PrivateVirtualInterface: "PrivateVirtualInterface",
149
+ TransitVirtualInterface: "TransitVirtualInterface",
150
+ };
@@ -35,11 +35,16 @@ export interface AcceptDirectConnectGatewayAssociationProposalRequest {
35
35
  }
36
36
  /**
37
37
  * @public
38
+ * @enum
38
39
  */
39
- export declare enum GatewayType {
40
- TransitGateway = "transitGateway",
41
- VirtualPrivateGateway = "virtualPrivateGateway"
42
- }
40
+ export declare const GatewayType: {
41
+ readonly TransitGateway: "transitGateway";
42
+ readonly VirtualPrivateGateway: "virtualPrivateGateway";
43
+ };
44
+ /**
45
+ * @public
46
+ */
47
+ export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
43
48
  /**
44
49
  * @public
45
50
  * <p>Information about the associated gateway.</p>
@@ -64,14 +69,19 @@ export interface AssociatedGateway {
64
69
  }
65
70
  /**
66
71
  * @public
72
+ * @enum
67
73
  */
68
- export declare enum DirectConnectGatewayAssociationState {
69
- associated = "associated",
70
- associating = "associating",
71
- disassociated = "disassociated",
72
- disassociating = "disassociating",
73
- updating = "updating"
74
- }
74
+ export declare const DirectConnectGatewayAssociationState: {
75
+ readonly associated: "associated";
76
+ readonly associating: "associating";
77
+ readonly disassociated: "disassociated";
78
+ readonly disassociating: "disassociating";
79
+ readonly updating: "updating";
80
+ };
81
+ /**
82
+ * @public
83
+ */
84
+ export type DirectConnectGatewayAssociationState = (typeof DirectConnectGatewayAssociationState)[keyof typeof DirectConnectGatewayAssociationState];
75
85
  /**
76
86
  * @public
77
87
  * <p>Information about an association between a Direct Connect gateway and a virtual private gateway or transit gateway.</p>
@@ -178,11 +188,16 @@ export declare class DirectConnectServerException extends __BaseException {
178
188
  }
179
189
  /**
180
190
  * @public
191
+ * @enum
181
192
  */
182
- export declare enum AddressFamily {
183
- IPv4 = "ipv4",
184
- IPv6 = "ipv6"
185
- }
193
+ export declare const AddressFamily: {
194
+ readonly IPv4: "ipv4";
195
+ readonly IPv6: "ipv6";
196
+ };
197
+ /**
198
+ * @public
199
+ */
200
+ export type AddressFamily = (typeof AddressFamily)[keyof typeof AddressFamily];
186
201
  /**
187
202
  * @public
188
203
  * <p>The name and status of a customer agreement. </p>
@@ -228,26 +243,36 @@ export interface AllocateConnectionOnInterconnectRequest {
228
243
  }
229
244
  /**
230
245
  * @public
246
+ * @enum
231
247
  */
232
- export declare enum ConnectionState {
233
- available = "available",
234
- deleted = "deleted",
235
- deleting = "deleting",
236
- down = "down",
237
- ordering = "ordering",
238
- pending = "pending",
239
- rejected = "rejected",
240
- requested = "requested",
241
- unknown = "unknown"
242
- }
248
+ export declare const ConnectionState: {
249
+ readonly available: "available";
250
+ readonly deleted: "deleted";
251
+ readonly deleting: "deleting";
252
+ readonly down: "down";
253
+ readonly ordering: "ordering";
254
+ readonly pending: "pending";
255
+ readonly rejected: "rejected";
256
+ readonly requested: "requested";
257
+ readonly unknown: "unknown";
258
+ };
243
259
  /**
244
260
  * @public
245
261
  */
246
- export declare enum HasLogicalRedundancy {
247
- No = "no",
248
- Unknown = "unknown",
249
- Yes = "yes"
250
- }
262
+ export type ConnectionState = (typeof ConnectionState)[keyof typeof ConnectionState];
263
+ /**
264
+ * @public
265
+ * @enum
266
+ */
267
+ export declare const HasLogicalRedundancy: {
268
+ readonly No: "no";
269
+ readonly Unknown: "unknown";
270
+ readonly Yes: "yes";
271
+ };
272
+ /**
273
+ * @public
274
+ */
275
+ export type HasLogicalRedundancy = (typeof HasLogicalRedundancy)[keyof typeof HasLogicalRedundancy];
251
276
  /**
252
277
  * @public
253
278
  * <p>Information about the MAC Security (MACsec) secret key.</p>
@@ -555,22 +580,32 @@ export interface AllocatePrivateVirtualInterfaceRequest {
555
580
  }
556
581
  /**
557
582
  * @public
583
+ * @enum
558
584
  */
559
- export declare enum BGPPeerState {
560
- Available = "available",
561
- Deleted = "deleted",
562
- Deleting = "deleting",
563
- Pending = "pending",
564
- Verifying = "verifying"
565
- }
585
+ export declare const BGPPeerState: {
586
+ readonly Available: "available";
587
+ readonly Deleted: "deleted";
588
+ readonly Deleting: "deleting";
589
+ readonly Pending: "pending";
590
+ readonly Verifying: "verifying";
591
+ };
566
592
  /**
567
593
  * @public
568
594
  */
569
- export declare enum BGPStatus {
570
- Down = "down",
571
- Unknown = "unknown",
572
- Up = "up"
573
- }
595
+ export type BGPPeerState = (typeof BGPPeerState)[keyof typeof BGPPeerState];
596
+ /**
597
+ * @public
598
+ * @enum
599
+ */
600
+ export declare const BGPStatus: {
601
+ readonly Down: "down";
602
+ readonly Unknown: "unknown";
603
+ readonly Up: "up";
604
+ };
605
+ /**
606
+ * @public
607
+ */
608
+ export type BGPStatus = (typeof BGPStatus)[keyof typeof BGPStatus];
574
609
  /**
575
610
  * @public
576
611
  * <p>Information about a BGP peer.</p>
@@ -657,18 +692,23 @@ export interface BGPPeer {
657
692
  }
658
693
  /**
659
694
  * @public
695
+ * @enum
660
696
  */
661
- export declare enum VirtualInterfaceState {
662
- available = "available",
663
- confirming = "confirming",
664
- deleted = "deleted",
665
- deleting = "deleting",
666
- down = "down",
667
- pending = "pending",
668
- rejected = "rejected",
669
- unknown = "unknown",
670
- verifying = "verifying"
671
- }
697
+ export declare const VirtualInterfaceState: {
698
+ readonly available: "available";
699
+ readonly confirming: "confirming";
700
+ readonly deleted: "deleted";
701
+ readonly deleting: "deleting";
702
+ readonly down: "down";
703
+ readonly pending: "pending";
704
+ readonly rejected: "rejected";
705
+ readonly unknown: "unknown";
706
+ readonly verifying: "verifying";
707
+ };
708
+ /**
709
+ * @public
710
+ */
711
+ export type VirtualInterfaceState = (typeof VirtualInterfaceState)[keyof typeof VirtualInterfaceState];
672
712
  /**
673
713
  * @public
674
714
  * <p>Information about a virtual interface.</p>
@@ -1398,13 +1438,18 @@ export interface CreateDirectConnectGatewayRequest {
1398
1438
  }
1399
1439
  /**
1400
1440
  * @public
1441
+ * @enum
1401
1442
  */
1402
- export declare enum DirectConnectGatewayState {
1403
- available = "available",
1404
- deleted = "deleted",
1405
- deleting = "deleting",
1406
- pending = "pending"
1407
- }
1443
+ export declare const DirectConnectGatewayState: {
1444
+ readonly available: "available";
1445
+ readonly deleted: "deleted";
1446
+ readonly deleting: "deleting";
1447
+ readonly pending: "pending";
1448
+ };
1449
+ /**
1450
+ * @public
1451
+ */
1452
+ export type DirectConnectGatewayState = (typeof DirectConnectGatewayState)[keyof typeof DirectConnectGatewayState];
1408
1453
  /**
1409
1454
  * @public
1410
1455
  * <p>Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.</p>
@@ -1521,12 +1566,17 @@ export interface CreateDirectConnectGatewayAssociationProposalRequest {
1521
1566
  }
1522
1567
  /**
1523
1568
  * @public
1569
+ * @enum
1524
1570
  */
1525
- export declare enum DirectConnectGatewayAssociationProposalState {
1526
- accepted = "accepted",
1527
- deleted = "deleted",
1528
- requested = "requested"
1529
- }
1571
+ export declare const DirectConnectGatewayAssociationProposalState: {
1572
+ readonly accepted: "accepted";
1573
+ readonly deleted: "deleted";
1574
+ readonly requested: "requested";
1575
+ };
1576
+ /**
1577
+ * @public
1578
+ */
1579
+ export type DirectConnectGatewayAssociationProposalState = (typeof DirectConnectGatewayAssociationProposalState)[keyof typeof DirectConnectGatewayAssociationProposalState];
1530
1580
  /**
1531
1581
  * @public
1532
1582
  * <p>Information about the proposal request to attach a virtual private gateway to a Direct Connect gateway. </p>
@@ -1615,16 +1665,21 @@ export interface CreateInterconnectRequest {
1615
1665
  }
1616
1666
  /**
1617
1667
  * @public
1668
+ * @enum
1618
1669
  */
1619
- export declare enum InterconnectState {
1620
- available = "available",
1621
- deleted = "deleted",
1622
- deleting = "deleting",
1623
- down = "down",
1624
- pending = "pending",
1625
- requested = "requested",
1626
- unknown = "unknown"
1627
- }
1670
+ export declare const InterconnectState: {
1671
+ readonly available: "available";
1672
+ readonly deleted: "deleted";
1673
+ readonly deleting: "deleting";
1674
+ readonly down: "down";
1675
+ readonly pending: "pending";
1676
+ readonly requested: "requested";
1677
+ readonly unknown: "unknown";
1678
+ };
1679
+ /**
1680
+ * @public
1681
+ */
1682
+ export type InterconnectState = (typeof InterconnectState)[keyof typeof InterconnectState];
1628
1683
  /**
1629
1684
  * @public
1630
1685
  * <p>Information about an interconnect.</p>
@@ -1773,16 +1828,21 @@ export interface CreateLagRequest {
1773
1828
  }
1774
1829
  /**
1775
1830
  * @public
1831
+ * @enum
1776
1832
  */
1777
- export declare enum LagState {
1778
- available = "available",
1779
- deleted = "deleted",
1780
- deleting = "deleting",
1781
- down = "down",
1782
- pending = "pending",
1783
- requested = "requested",
1784
- unknown = "unknown"
1785
- }
1833
+ export declare const LagState: {
1834
+ readonly available: "available";
1835
+ readonly deleted: "deleted";
1836
+ readonly deleting: "deleting";
1837
+ readonly down: "down";
1838
+ readonly pending: "pending";
1839
+ readonly requested: "requested";
1840
+ readonly unknown: "unknown";
1841
+ };
1842
+ /**
1843
+ * @public
1844
+ */
1845
+ export type LagState = (typeof LagState)[keyof typeof LagState];
1786
1846
  /**
1787
1847
  * @public
1788
1848
  * <p>Information about a link aggregation group (LAG).</p>
@@ -2323,10 +2383,15 @@ export interface DeleteVirtualInterfaceResponse {
2323
2383
  }
2324
2384
  /**
2325
2385
  * @public
2386
+ * @enum
2326
2387
  */
2327
- export declare enum LoaContentType {
2328
- PDF = "application/pdf"
2329
- }
2388
+ export declare const LoaContentType: {
2389
+ readonly PDF: "application/pdf";
2390
+ };
2391
+ /**
2392
+ * @public
2393
+ */
2394
+ export type LoaContentType = (typeof LoaContentType)[keyof typeof LoaContentType];
2330
2395
  /**
2331
2396
  * @public
2332
2397
  */
@@ -2388,12 +2453,17 @@ export interface DescribeConnectionsOnInterconnectRequest {
2388
2453
  }
2389
2454
  /**
2390
2455
  * @public
2456
+ * @enum
2391
2457
  */
2392
- export declare enum NniPartnerType {
2393
- NonPartner = "nonPartner",
2394
- V1 = "v1",
2395
- V2 = "v2"
2396
- }
2458
+ export declare const NniPartnerType: {
2459
+ readonly NonPartner: "nonPartner";
2460
+ readonly V1: "v1";
2461
+ readonly V2: "v2";
2462
+ };
2463
+ /**
2464
+ * @public
2465
+ */
2466
+ export type NniPartnerType = (typeof NniPartnerType)[keyof typeof NniPartnerType];
2397
2467
  /**
2398
2468
  * @public
2399
2469
  */
@@ -2530,20 +2600,30 @@ export interface DescribeDirectConnectGatewayAttachmentsRequest {
2530
2600
  }
2531
2601
  /**
2532
2602
  * @public
2603
+ * @enum
2533
2604
  */
2534
- export declare enum DirectConnectGatewayAttachmentState {
2535
- attached = "attached",
2536
- attaching = "attaching",
2537
- detached = "detached",
2538
- detaching = "detaching"
2539
- }
2605
+ export declare const DirectConnectGatewayAttachmentState: {
2606
+ readonly attached: "attached";
2607
+ readonly attaching: "attaching";
2608
+ readonly detached: "detached";
2609
+ readonly detaching: "detaching";
2610
+ };
2540
2611
  /**
2541
2612
  * @public
2542
2613
  */
2543
- export declare enum DirectConnectGatewayAttachmentType {
2544
- PrivateVirtualInterface = "PrivateVirtualInterface",
2545
- TransitVirtualInterface = "TransitVirtualInterface"
2546
- }
2614
+ export type DirectConnectGatewayAttachmentState = (typeof DirectConnectGatewayAttachmentState)[keyof typeof DirectConnectGatewayAttachmentState];
2615
+ /**
2616
+ * @public
2617
+ * @enum
2618
+ */
2619
+ export declare const DirectConnectGatewayAttachmentType: {
2620
+ readonly PrivateVirtualInterface: "PrivateVirtualInterface";
2621
+ readonly TransitVirtualInterface: "TransitVirtualInterface";
2622
+ };
2623
+ /**
2624
+ * @public
2625
+ */
2626
+ export type DirectConnectGatewayAttachmentType = (typeof DirectConnectGatewayAttachmentType)[keyof typeof DirectConnectGatewayAttachmentType];
2547
2627
  /**
2548
2628
  * @public
2549
2629
  * <p>Information about an attachment between a Direct Connect gateway and a virtual interface.</p>
@@ -9,23 +9,26 @@ export interface AcceptDirectConnectGatewayAssociationProposalRequest {
9
9
  associatedGatewayOwnerAccount: string | undefined;
10
10
  overrideAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[];
11
11
  }
12
- export declare enum GatewayType {
13
- TransitGateway = "transitGateway",
14
- VirtualPrivateGateway = "virtualPrivateGateway",
15
- }
12
+ export declare const GatewayType: {
13
+ readonly TransitGateway: "transitGateway";
14
+ readonly VirtualPrivateGateway: "virtualPrivateGateway";
15
+ };
16
+ export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
16
17
  export interface AssociatedGateway {
17
18
  id?: string;
18
19
  type?: GatewayType | string;
19
20
  ownerAccount?: string;
20
21
  region?: string;
21
22
  }
22
- export declare enum DirectConnectGatewayAssociationState {
23
- associated = "associated",
24
- associating = "associating",
25
- disassociated = "disassociated",
26
- disassociating = "disassociating",
27
- updating = "updating",
28
- }
23
+ export declare const DirectConnectGatewayAssociationState: {
24
+ readonly associated: "associated";
25
+ readonly associating: "associating";
26
+ readonly disassociated: "disassociated";
27
+ readonly disassociating: "disassociating";
28
+ readonly updating: "updating";
29
+ };
30
+ export type DirectConnectGatewayAssociationState =
31
+ (typeof DirectConnectGatewayAssociationState)[keyof typeof DirectConnectGatewayAssociationState];
29
32
  export interface DirectConnectGatewayAssociation {
30
33
  directConnectGatewayId?: string;
31
34
  directConnectGatewayOwnerAccount?: string;
@@ -55,10 +58,11 @@ export declare class DirectConnectServerException extends __BaseException {
55
58
  opts: __ExceptionOptionType<DirectConnectServerException, __BaseException>
56
59
  );
57
60
  }
58
- export declare enum AddressFamily {
59
- IPv4 = "ipv4",
60
- IPv6 = "ipv6",
61
- }
61
+ export declare const AddressFamily: {
62
+ readonly IPv4: "ipv4";
63
+ readonly IPv6: "ipv6";
64
+ };
65
+ export type AddressFamily = (typeof AddressFamily)[keyof typeof AddressFamily];
62
66
  export interface CustomerAgreement {
63
67
  agreementName?: string;
64
68
  status?: string;
@@ -70,22 +74,26 @@ export interface AllocateConnectionOnInterconnectRequest {
70
74
  interconnectId: string | undefined;
71
75
  vlan: number | undefined;
72
76
  }
73
- export declare enum ConnectionState {
74
- available = "available",
75
- deleted = "deleted",
76
- deleting = "deleting",
77
- down = "down",
78
- ordering = "ordering",
79
- pending = "pending",
80
- rejected = "rejected",
81
- requested = "requested",
82
- unknown = "unknown",
83
- }
84
- export declare enum HasLogicalRedundancy {
85
- No = "no",
86
- Unknown = "unknown",
87
- Yes = "yes",
88
- }
77
+ export declare const ConnectionState: {
78
+ readonly available: "available";
79
+ readonly deleted: "deleted";
80
+ readonly deleting: "deleting";
81
+ readonly down: "down";
82
+ readonly ordering: "ordering";
83
+ readonly pending: "pending";
84
+ readonly rejected: "rejected";
85
+ readonly requested: "requested";
86
+ readonly unknown: "unknown";
87
+ };
88
+ export type ConnectionState =
89
+ (typeof ConnectionState)[keyof typeof ConnectionState];
90
+ export declare const HasLogicalRedundancy: {
91
+ readonly No: "no";
92
+ readonly Unknown: "unknown";
93
+ readonly Yes: "yes";
94
+ };
95
+ export type HasLogicalRedundancy =
96
+ (typeof HasLogicalRedundancy)[keyof typeof HasLogicalRedundancy];
89
97
  export interface MacSecKey {
90
98
  secretARN?: string;
91
99
  ckn?: string;
@@ -160,18 +168,20 @@ export interface AllocatePrivateVirtualInterfaceRequest {
160
168
  | NewPrivateVirtualInterfaceAllocation
161
169
  | undefined;
162
170
  }
163
- export declare enum BGPPeerState {
164
- Available = "available",
165
- Deleted = "deleted",
166
- Deleting = "deleting",
167
- Pending = "pending",
168
- Verifying = "verifying",
169
- }
170
- export declare enum BGPStatus {
171
- Down = "down",
172
- Unknown = "unknown",
173
- Up = "up",
174
- }
171
+ export declare const BGPPeerState: {
172
+ readonly Available: "available";
173
+ readonly Deleted: "deleted";
174
+ readonly Deleting: "deleting";
175
+ readonly Pending: "pending";
176
+ readonly Verifying: "verifying";
177
+ };
178
+ export type BGPPeerState = (typeof BGPPeerState)[keyof typeof BGPPeerState];
179
+ export declare const BGPStatus: {
180
+ readonly Down: "down";
181
+ readonly Unknown: "unknown";
182
+ readonly Up: "up";
183
+ };
184
+ export type BGPStatus = (typeof BGPStatus)[keyof typeof BGPStatus];
175
185
  export interface BGPPeer {
176
186
  bgpPeerId?: string;
177
187
  asn?: number;
@@ -184,17 +194,19 @@ export interface BGPPeer {
184
194
  awsDeviceV2?: string;
185
195
  awsLogicalDeviceId?: string;
186
196
  }
187
- export declare enum VirtualInterfaceState {
188
- available = "available",
189
- confirming = "confirming",
190
- deleted = "deleted",
191
- deleting = "deleting",
192
- down = "down",
193
- pending = "pending",
194
- rejected = "rejected",
195
- unknown = "unknown",
196
- verifying = "verifying",
197
- }
197
+ export declare const VirtualInterfaceState: {
198
+ readonly available: "available";
199
+ readonly confirming: "confirming";
200
+ readonly deleted: "deleted";
201
+ readonly deleting: "deleting";
202
+ readonly down: "down";
203
+ readonly pending: "pending";
204
+ readonly rejected: "rejected";
205
+ readonly unknown: "unknown";
206
+ readonly verifying: "verifying";
207
+ };
208
+ export type VirtualInterfaceState =
209
+ (typeof VirtualInterfaceState)[keyof typeof VirtualInterfaceState];
198
210
  export interface VirtualInterface {
199
211
  ownerAccount?: string;
200
212
  virtualInterfaceId?: string;
@@ -347,12 +359,14 @@ export interface CreateDirectConnectGatewayRequest {
347
359
  directConnectGatewayName: string | undefined;
348
360
  amazonSideAsn?: number;
349
361
  }
350
- export declare enum DirectConnectGatewayState {
351
- available = "available",
352
- deleted = "deleted",
353
- deleting = "deleting",
354
- pending = "pending",
355
- }
362
+ export declare const DirectConnectGatewayState: {
363
+ readonly available: "available";
364
+ readonly deleted: "deleted";
365
+ readonly deleting: "deleting";
366
+ readonly pending: "pending";
367
+ };
368
+ export type DirectConnectGatewayState =
369
+ (typeof DirectConnectGatewayState)[keyof typeof DirectConnectGatewayState];
356
370
  export interface DirectConnectGateway {
357
371
  directConnectGatewayId?: string;
358
372
  directConnectGatewayName?: string;
@@ -380,11 +394,13 @@ export interface CreateDirectConnectGatewayAssociationProposalRequest {
380
394
  addAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[];
381
395
  removeAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[];
382
396
  }
383
- export declare enum DirectConnectGatewayAssociationProposalState {
384
- accepted = "accepted",
385
- deleted = "deleted",
386
- requested = "requested",
387
- }
397
+ export declare const DirectConnectGatewayAssociationProposalState: {
398
+ readonly accepted: "accepted";
399
+ readonly deleted: "deleted";
400
+ readonly requested: "requested";
401
+ };
402
+ export type DirectConnectGatewayAssociationProposalState =
403
+ (typeof DirectConnectGatewayAssociationProposalState)[keyof typeof DirectConnectGatewayAssociationProposalState];
388
404
  export interface DirectConnectGatewayAssociationProposal {
389
405
  proposalId?: string;
390
406
  directConnectGatewayId?: string;
@@ -405,15 +421,17 @@ export interface CreateInterconnectRequest {
405
421
  tags?: Tag[];
406
422
  providerName?: string;
407
423
  }
408
- export declare enum InterconnectState {
409
- available = "available",
410
- deleted = "deleted",
411
- deleting = "deleting",
412
- down = "down",
413
- pending = "pending",
414
- requested = "requested",
415
- unknown = "unknown",
416
- }
424
+ export declare const InterconnectState: {
425
+ readonly available: "available";
426
+ readonly deleted: "deleted";
427
+ readonly deleting: "deleting";
428
+ readonly down: "down";
429
+ readonly pending: "pending";
430
+ readonly requested: "requested";
431
+ readonly unknown: "unknown";
432
+ };
433
+ export type InterconnectState =
434
+ (typeof InterconnectState)[keyof typeof InterconnectState];
417
435
  export interface Interconnect {
418
436
  interconnectId?: string;
419
437
  interconnectName?: string;
@@ -442,15 +460,16 @@ export interface CreateLagRequest {
442
460
  providerName?: string;
443
461
  requestMACSec?: boolean;
444
462
  }
445
- export declare enum LagState {
446
- available = "available",
447
- deleted = "deleted",
448
- deleting = "deleting",
449
- down = "down",
450
- pending = "pending",
451
- requested = "requested",
452
- unknown = "unknown",
453
- }
463
+ export declare const LagState: {
464
+ readonly available: "available";
465
+ readonly deleted: "deleted";
466
+ readonly deleting: "deleting";
467
+ readonly down: "down";
468
+ readonly pending: "pending";
469
+ readonly requested: "requested";
470
+ readonly unknown: "unknown";
471
+ };
472
+ export type LagState = (typeof LagState)[keyof typeof LagState];
454
473
  export interface Lag {
455
474
  connectionsBandwidth?: string;
456
475
  numberOfConnections?: number;
@@ -574,9 +593,11 @@ export interface DeleteVirtualInterfaceRequest {
574
593
  export interface DeleteVirtualInterfaceResponse {
575
594
  virtualInterfaceState?: VirtualInterfaceState | string;
576
595
  }
577
- export declare enum LoaContentType {
578
- PDF = "application/pdf",
579
- }
596
+ export declare const LoaContentType: {
597
+ readonly PDF: "application/pdf";
598
+ };
599
+ export type LoaContentType =
600
+ (typeof LoaContentType)[keyof typeof LoaContentType];
580
601
  export interface DescribeConnectionLoaRequest {
581
602
  connectionId: string | undefined;
582
603
  providerName?: string;
@@ -595,11 +616,13 @@ export interface DescribeConnectionsRequest {
595
616
  export interface DescribeConnectionsOnInterconnectRequest {
596
617
  interconnectId: string | undefined;
597
618
  }
598
- export declare enum NniPartnerType {
599
- NonPartner = "nonPartner",
600
- V1 = "v1",
601
- V2 = "v2",
602
- }
619
+ export declare const NniPartnerType: {
620
+ readonly NonPartner: "nonPartner";
621
+ readonly V1: "v1";
622
+ readonly V2: "v2";
623
+ };
624
+ export type NniPartnerType =
625
+ (typeof NniPartnerType)[keyof typeof NniPartnerType];
603
626
  export interface DescribeCustomerMetadataResponse {
604
627
  agreements?: CustomerAgreement[];
605
628
  nniPartnerType?: NniPartnerType | string;
@@ -633,16 +656,20 @@ export interface DescribeDirectConnectGatewayAttachmentsRequest {
633
656
  maxResults?: number;
634
657
  nextToken?: string;
635
658
  }
636
- export declare enum DirectConnectGatewayAttachmentState {
637
- attached = "attached",
638
- attaching = "attaching",
639
- detached = "detached",
640
- detaching = "detaching",
641
- }
642
- export declare enum DirectConnectGatewayAttachmentType {
643
- PrivateVirtualInterface = "PrivateVirtualInterface",
644
- TransitVirtualInterface = "TransitVirtualInterface",
645
- }
659
+ export declare const DirectConnectGatewayAttachmentState: {
660
+ readonly attached: "attached";
661
+ readonly attaching: "attaching";
662
+ readonly detached: "detached";
663
+ readonly detaching: "detaching";
664
+ };
665
+ export type DirectConnectGatewayAttachmentState =
666
+ (typeof DirectConnectGatewayAttachmentState)[keyof typeof DirectConnectGatewayAttachmentState];
667
+ export declare const DirectConnectGatewayAttachmentType: {
668
+ readonly PrivateVirtualInterface: "PrivateVirtualInterface";
669
+ readonly TransitVirtualInterface: "TransitVirtualInterface";
670
+ };
671
+ export type DirectConnectGatewayAttachmentType =
672
+ (typeof DirectConnectGatewayAttachmentType)[keyof typeof DirectConnectGatewayAttachmentType];
646
673
  export interface DirectConnectGatewayAttachment {
647
674
  directConnectGatewayId?: string;
648
675
  virtualInterfaceId?: string;
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.301.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",