@aws-sdk/client-direct-connect 3.1131.0 → 3.1133.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/README.md +70 -7
- package/dist-cjs/index.js +329 -11
- package/dist-es/DirectConnect.js +18 -0
- package/dist-es/commands/AssociateConnectionsToResiliencyGroupCommand.js +4 -0
- package/dist-es/commands/CreateResiliencyGroupCommand.js +4 -0
- package/dist-es/commands/DeleteResiliencyGroupCommand.js +4 -0
- package/dist-es/commands/DisassociateConnectionsFromResiliencyGroupCommand.js +4 -0
- package/dist-es/commands/GetResiliencyGroupCommand.js +4 -0
- package/dist-es/commands/ListResiliencyGroupAssociationsCommand.js +4 -0
- package/dist-es/commands/ListResiliencyGroupsCommand.js +4 -0
- package/dist-es/commands/UpdateConnectionsBillingModeCommand.js +4 -0
- package/dist-es/commands/UpdateResiliencyGroupCommand.js +4 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/enums.js +41 -0
- package/dist-es/schemas/schemas_0.js +208 -10
- package/dist-types/DirectConnect.d.ts +64 -0
- package/dist-types/DirectConnectClient.d.ts +11 -2
- package/dist-types/commands/AllocateConnectionOnInterconnectCommand.d.ts +1 -0
- package/dist-types/commands/AllocateHostedConnectionCommand.d.ts +1 -0
- package/dist-types/commands/AssociateConnectionWithLagCommand.d.ts +1 -0
- package/dist-types/commands/AssociateConnectionsToResiliencyGroupCommand.d.ts +92 -0
- package/dist-types/commands/AssociateHostedConnectionCommand.d.ts +1 -0
- package/dist-types/commands/CreateConnectionCommand.d.ts +2 -0
- package/dist-types/commands/CreateLagCommand.d.ts +3 -0
- package/dist-types/commands/CreateResiliencyGroupCommand.d.ts +108 -0
- package/dist-types/commands/DeleteConnectionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteLagCommand.d.ts +2 -0
- package/dist-types/commands/DeleteResiliencyGroupCommand.d.ts +93 -0
- package/dist-types/commands/DescribeConnectionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeConnectionsOnInterconnectCommand.d.ts +1 -0
- package/dist-types/commands/DescribeHostedConnectionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLagsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeLocationsCommand.d.ts +11 -0
- package/dist-types/commands/DisassociateConnectionFromLagCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateConnectionsFromResiliencyGroupCommand.d.ts +89 -0
- package/dist-types/commands/GetResiliencyGroupCommand.d.ts +90 -0
- package/dist-types/commands/ListResiliencyGroupAssociationsCommand.d.ts +86 -0
- package/dist-types/commands/ListResiliencyGroupsCommand.d.ts +89 -0
- package/dist-types/commands/UpdateConnectionCommand.d.ts +1 -0
- package/dist-types/commands/UpdateConnectionsBillingModeCommand.d.ts +131 -0
- package/dist-types/commands/UpdateLagCommand.d.ts +2 -0
- package/dist-types/commands/UpdateResiliencyGroupCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/enums.d.ts +89 -0
- package/dist-types/models/models_0.d.ts +423 -1
- package/dist-types/schemas/schemas_0.d.ts +31 -0
- package/dist-types/ts3.4/DirectConnect.d.ts +154 -0
- package/dist-types/ts3.4/DirectConnectClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/AssociateConnectionsToResiliencyGroupCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateResiliencyGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteResiliencyGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DisassociateConnectionsFromResiliencyGroupCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetResiliencyGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListResiliencyGroupAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListResiliencyGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateConnectionsBillingModeCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateResiliencyGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +48 -0
- package/dist-types/ts3.4/models/models_0.d.ts +108 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +31 -0
- package/package.json +1 -1
package/dist-es/DirectConnect.js
CHANGED
|
@@ -5,6 +5,7 @@ import { AllocateHostedConnectionCommand, } from "./commands/AllocateHostedConne
|
|
|
5
5
|
import { AllocatePrivateVirtualInterfaceCommand, } from "./commands/AllocatePrivateVirtualInterfaceCommand";
|
|
6
6
|
import { AllocatePublicVirtualInterfaceCommand, } from "./commands/AllocatePublicVirtualInterfaceCommand";
|
|
7
7
|
import { AllocateTransitVirtualInterfaceCommand, } from "./commands/AllocateTransitVirtualInterfaceCommand";
|
|
8
|
+
import { AssociateConnectionsToResiliencyGroupCommand, } from "./commands/AssociateConnectionsToResiliencyGroupCommand";
|
|
8
9
|
import { AssociateConnectionWithLagCommand, } from "./commands/AssociateConnectionWithLagCommand";
|
|
9
10
|
import { AssociateHostedConnectionCommand, } from "./commands/AssociateHostedConnectionCommand";
|
|
10
11
|
import { AssociateMacSecKeyCommand, } from "./commands/AssociateMacSecKeyCommand";
|
|
@@ -23,6 +24,7 @@ import { CreateInterconnectCommand, } from "./commands/CreateInterconnectCommand
|
|
|
23
24
|
import { CreateLagCommand } from "./commands/CreateLagCommand";
|
|
24
25
|
import { CreatePrivateVirtualInterfaceCommand, } from "./commands/CreatePrivateVirtualInterfaceCommand";
|
|
25
26
|
import { CreatePublicVirtualInterfaceCommand, } from "./commands/CreatePublicVirtualInterfaceCommand";
|
|
27
|
+
import { CreateResiliencyGroupCommand, } from "./commands/CreateResiliencyGroupCommand";
|
|
26
28
|
import { CreateTransitVirtualInterfaceCommand, } from "./commands/CreateTransitVirtualInterfaceCommand";
|
|
27
29
|
import { DeleteBGPPeerCommand, } from "./commands/DeleteBGPPeerCommand";
|
|
28
30
|
import { DeleteConnectionCommand, } from "./commands/DeleteConnectionCommand";
|
|
@@ -31,6 +33,7 @@ import { DeleteDirectConnectGatewayAssociationProposalCommand, } from "./command
|
|
|
31
33
|
import { DeleteDirectConnectGatewayCommand, } from "./commands/DeleteDirectConnectGatewayCommand";
|
|
32
34
|
import { DeleteInterconnectCommand, } from "./commands/DeleteInterconnectCommand";
|
|
33
35
|
import { DeleteLagCommand } from "./commands/DeleteLagCommand";
|
|
36
|
+
import { DeleteResiliencyGroupCommand, } from "./commands/DeleteResiliencyGroupCommand";
|
|
34
37
|
import { DeleteVirtualInterfaceCommand, } from "./commands/DeleteVirtualInterfaceCommand";
|
|
35
38
|
import { DescribeConnectionLoaCommand, } from "./commands/DescribeConnectionLoaCommand";
|
|
36
39
|
import { DescribeConnectionsCommand, } from "./commands/DescribeConnectionsCommand";
|
|
@@ -51,7 +54,11 @@ import { DescribeTagsCommand, } from "./commands/DescribeTagsCommand";
|
|
|
51
54
|
import { DescribeVirtualGatewaysCommand, } from "./commands/DescribeVirtualGatewaysCommand";
|
|
52
55
|
import { DescribeVirtualInterfacesCommand, } from "./commands/DescribeVirtualInterfacesCommand";
|
|
53
56
|
import { DisassociateConnectionFromLagCommand, } from "./commands/DisassociateConnectionFromLagCommand";
|
|
57
|
+
import { DisassociateConnectionsFromResiliencyGroupCommand, } from "./commands/DisassociateConnectionsFromResiliencyGroupCommand";
|
|
54
58
|
import { DisassociateMacSecKeyCommand, } from "./commands/DisassociateMacSecKeyCommand";
|
|
59
|
+
import { GetResiliencyGroupCommand, } from "./commands/GetResiliencyGroupCommand";
|
|
60
|
+
import { ListResiliencyGroupAssociationsCommand, } from "./commands/ListResiliencyGroupAssociationsCommand";
|
|
61
|
+
import { ListResiliencyGroupsCommand, } from "./commands/ListResiliencyGroupsCommand";
|
|
55
62
|
import { ListVirtualInterfaceRoutesCommand, } from "./commands/ListVirtualInterfaceRoutesCommand";
|
|
56
63
|
import { ListVirtualInterfaceTestHistoryCommand, } from "./commands/ListVirtualInterfaceTestHistoryCommand";
|
|
57
64
|
import { StartBgpFailoverTestCommand, } from "./commands/StartBgpFailoverTestCommand";
|
|
@@ -59,9 +66,11 @@ import { StopBgpFailoverTestCommand, } from "./commands/StopBgpFailoverTestComma
|
|
|
59
66
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
60
67
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
61
68
|
import { UpdateConnectionCommand, } from "./commands/UpdateConnectionCommand";
|
|
69
|
+
import { UpdateConnectionsBillingModeCommand, } from "./commands/UpdateConnectionsBillingModeCommand";
|
|
62
70
|
import { UpdateDirectConnectGatewayAssociationCommand, } from "./commands/UpdateDirectConnectGatewayAssociationCommand";
|
|
63
71
|
import { UpdateDirectConnectGatewayCommand, } from "./commands/UpdateDirectConnectGatewayCommand";
|
|
64
72
|
import { UpdateLagCommand } from "./commands/UpdateLagCommand";
|
|
73
|
+
import { UpdateResiliencyGroupCommand, } from "./commands/UpdateResiliencyGroupCommand";
|
|
65
74
|
import { UpdateVirtualInterfaceAttributesCommand, } from "./commands/UpdateVirtualInterfaceAttributesCommand";
|
|
66
75
|
import { DirectConnectClient } from "./DirectConnectClient";
|
|
67
76
|
const commands = {
|
|
@@ -71,6 +80,7 @@ const commands = {
|
|
|
71
80
|
AllocatePrivateVirtualInterfaceCommand,
|
|
72
81
|
AllocatePublicVirtualInterfaceCommand,
|
|
73
82
|
AllocateTransitVirtualInterfaceCommand,
|
|
83
|
+
AssociateConnectionsToResiliencyGroupCommand,
|
|
74
84
|
AssociateConnectionWithLagCommand,
|
|
75
85
|
AssociateHostedConnectionCommand,
|
|
76
86
|
AssociateMacSecKeyCommand,
|
|
@@ -89,6 +99,7 @@ const commands = {
|
|
|
89
99
|
CreateLagCommand,
|
|
90
100
|
CreatePrivateVirtualInterfaceCommand,
|
|
91
101
|
CreatePublicVirtualInterfaceCommand,
|
|
102
|
+
CreateResiliencyGroupCommand,
|
|
92
103
|
CreateTransitVirtualInterfaceCommand,
|
|
93
104
|
DeleteBGPPeerCommand,
|
|
94
105
|
DeleteConnectionCommand,
|
|
@@ -97,6 +108,7 @@ const commands = {
|
|
|
97
108
|
DeleteDirectConnectGatewayAssociationProposalCommand,
|
|
98
109
|
DeleteInterconnectCommand,
|
|
99
110
|
DeleteLagCommand,
|
|
111
|
+
DeleteResiliencyGroupCommand,
|
|
100
112
|
DeleteVirtualInterfaceCommand,
|
|
101
113
|
DescribeConnectionLoaCommand,
|
|
102
114
|
DescribeConnectionsCommand,
|
|
@@ -117,7 +129,11 @@ const commands = {
|
|
|
117
129
|
DescribeVirtualGatewaysCommand,
|
|
118
130
|
DescribeVirtualInterfacesCommand,
|
|
119
131
|
DisassociateConnectionFromLagCommand,
|
|
132
|
+
DisassociateConnectionsFromResiliencyGroupCommand,
|
|
120
133
|
DisassociateMacSecKeyCommand,
|
|
134
|
+
GetResiliencyGroupCommand,
|
|
135
|
+
ListResiliencyGroupAssociationsCommand,
|
|
136
|
+
ListResiliencyGroupsCommand,
|
|
121
137
|
ListVirtualInterfaceRoutesCommand,
|
|
122
138
|
ListVirtualInterfaceTestHistoryCommand,
|
|
123
139
|
StartBgpFailoverTestCommand,
|
|
@@ -125,9 +141,11 @@ const commands = {
|
|
|
125
141
|
TagResourceCommand,
|
|
126
142
|
UntagResourceCommand,
|
|
127
143
|
UpdateConnectionCommand,
|
|
144
|
+
UpdateConnectionsBillingModeCommand,
|
|
128
145
|
UpdateDirectConnectGatewayCommand,
|
|
129
146
|
UpdateDirectConnectGatewayAssociationCommand,
|
|
130
147
|
UpdateLagCommand,
|
|
148
|
+
UpdateResiliencyGroupCommand,
|
|
131
149
|
UpdateVirtualInterfaceAttributesCommand,
|
|
132
150
|
};
|
|
133
151
|
export class DirectConnect extends DirectConnectClient {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { AssociateConnectionsToResiliencyGroup$ } from "../schemas/schemas_0";
|
|
3
|
+
export class AssociateConnectionsToResiliencyGroupCommand extends command(_ep0, _mw0, "AssociateConnectionsToResiliencyGroup", AssociateConnectionsToResiliencyGroup$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { DisassociateConnectionsFromResiliencyGroup$ } from "../schemas/schemas_0";
|
|
3
|
+
export class DisassociateConnectionsFromResiliencyGroupCommand extends command(_ep0, _mw0, "DisassociateConnectionsFromResiliencyGroup", DisassociateConnectionsFromResiliencyGroup$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { ListResiliencyGroupAssociations$ } from "../schemas/schemas_0";
|
|
3
|
+
export class ListResiliencyGroupAssociationsCommand extends command(_ep0, _mw0, "ListResiliencyGroupAssociations", ListResiliencyGroupAssociations$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { UpdateConnectionsBillingMode$ } from "../schemas/schemas_0";
|
|
3
|
+
export class UpdateConnectionsBillingModeCommand extends command(_ep0, _mw0, "UpdateConnectionsBillingMode", UpdateConnectionsBillingMode$) {
|
|
4
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./AllocatePrivateVirtualInterfaceCommand";
|
|
|
5
5
|
export * from "./AllocatePublicVirtualInterfaceCommand";
|
|
6
6
|
export * from "./AllocateTransitVirtualInterfaceCommand";
|
|
7
7
|
export * from "./AssociateConnectionWithLagCommand";
|
|
8
|
+
export * from "./AssociateConnectionsToResiliencyGroupCommand";
|
|
8
9
|
export * from "./AssociateHostedConnectionCommand";
|
|
9
10
|
export * from "./AssociateMacSecKeyCommand";
|
|
10
11
|
export * from "./AssociateVirtualInterfaceCommand";
|
|
@@ -22,6 +23,7 @@ export * from "./CreateInterconnectCommand";
|
|
|
22
23
|
export * from "./CreateLagCommand";
|
|
23
24
|
export * from "./CreatePrivateVirtualInterfaceCommand";
|
|
24
25
|
export * from "./CreatePublicVirtualInterfaceCommand";
|
|
26
|
+
export * from "./CreateResiliencyGroupCommand";
|
|
25
27
|
export * from "./CreateTransitVirtualInterfaceCommand";
|
|
26
28
|
export * from "./DeleteBGPPeerCommand";
|
|
27
29
|
export * from "./DeleteConnectionCommand";
|
|
@@ -30,6 +32,7 @@ export * from "./DeleteDirectConnectGatewayAssociationProposalCommand";
|
|
|
30
32
|
export * from "./DeleteDirectConnectGatewayCommand";
|
|
31
33
|
export * from "./DeleteInterconnectCommand";
|
|
32
34
|
export * from "./DeleteLagCommand";
|
|
35
|
+
export * from "./DeleteResiliencyGroupCommand";
|
|
33
36
|
export * from "./DeleteVirtualInterfaceCommand";
|
|
34
37
|
export * from "./DescribeConnectionLoaCommand";
|
|
35
38
|
export * from "./DescribeConnectionsCommand";
|
|
@@ -50,7 +53,11 @@ export * from "./DescribeTagsCommand";
|
|
|
50
53
|
export * from "./DescribeVirtualGatewaysCommand";
|
|
51
54
|
export * from "./DescribeVirtualInterfacesCommand";
|
|
52
55
|
export * from "./DisassociateConnectionFromLagCommand";
|
|
56
|
+
export * from "./DisassociateConnectionsFromResiliencyGroupCommand";
|
|
53
57
|
export * from "./DisassociateMacSecKeyCommand";
|
|
58
|
+
export * from "./GetResiliencyGroupCommand";
|
|
59
|
+
export * from "./ListResiliencyGroupAssociationsCommand";
|
|
60
|
+
export * from "./ListResiliencyGroupsCommand";
|
|
54
61
|
export * from "./ListVirtualInterfaceRoutesCommand";
|
|
55
62
|
export * from "./ListVirtualInterfaceTestHistoryCommand";
|
|
56
63
|
export * from "./StartBgpFailoverTestCommand";
|
|
@@ -58,7 +65,9 @@ export * from "./StopBgpFailoverTestCommand";
|
|
|
58
65
|
export * from "./TagResourceCommand";
|
|
59
66
|
export * from "./UntagResourceCommand";
|
|
60
67
|
export * from "./UpdateConnectionCommand";
|
|
68
|
+
export * from "./UpdateConnectionsBillingModeCommand";
|
|
61
69
|
export * from "./UpdateDirectConnectGatewayAssociationCommand";
|
|
62
70
|
export * from "./UpdateDirectConnectGatewayCommand";
|
|
63
71
|
export * from "./UpdateLagCommand";
|
|
72
|
+
export * from "./UpdateResiliencyGroupCommand";
|
|
64
73
|
export * from "./UpdateVirtualInterfaceAttributesCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -13,6 +13,19 @@ export const AddressFamily = {
|
|
|
13
13
|
IPv4: "ipv4",
|
|
14
14
|
IPv6: "ipv6",
|
|
15
15
|
};
|
|
16
|
+
export const BillingMode = {
|
|
17
|
+
FlatRateTier1: "FlatRateTier1",
|
|
18
|
+
FlatRateTier2: "FlatRateTier2",
|
|
19
|
+
FlatRateTier3: "FlatRateTier3",
|
|
20
|
+
FlatRateTier4: "FlatRateTier4",
|
|
21
|
+
FlatRateTier5: "FlatRateTier5",
|
|
22
|
+
PayAsYouGo: "PayAsYouGo",
|
|
23
|
+
PortPairFlatRateTier1: "PortPairFlatRateTier1",
|
|
24
|
+
PortPairFlatRateTier2: "PortPairFlatRateTier2",
|
|
25
|
+
PortPairFlatRateTier3: "PortPairFlatRateTier3",
|
|
26
|
+
PortPairFlatRateTier4: "PortPairFlatRateTier4",
|
|
27
|
+
PortPairFlatRateTier5: "PortPairFlatRateTier5",
|
|
28
|
+
};
|
|
16
29
|
export const ConnectionState = {
|
|
17
30
|
available: "available",
|
|
18
31
|
deleted: "deleted",
|
|
@@ -57,6 +70,20 @@ export const AsPathType = {
|
|
|
57
70
|
Seq: "seq",
|
|
58
71
|
Set: "set",
|
|
59
72
|
};
|
|
73
|
+
export const ResiliencyGroupAssociationState = {
|
|
74
|
+
Associated: "associated",
|
|
75
|
+
Associating: "associating",
|
|
76
|
+
Disassociated: "disassociated",
|
|
77
|
+
Disassociating: "disassociating",
|
|
78
|
+
};
|
|
79
|
+
export const RequestBillingMode = {
|
|
80
|
+
FlatRateTier1: "FlatRateTier1",
|
|
81
|
+
FlatRateTier2: "FlatRateTier2",
|
|
82
|
+
FlatRateTier3: "FlatRateTier3",
|
|
83
|
+
FlatRateTier4: "FlatRateTier4",
|
|
84
|
+
FlatRateTier5: "FlatRateTier5",
|
|
85
|
+
PayAsYouGo: "PayAsYouGo",
|
|
86
|
+
};
|
|
60
87
|
export const DirectConnectGatewayState = {
|
|
61
88
|
available: "available",
|
|
62
89
|
deleted: "deleted",
|
|
@@ -86,6 +113,20 @@ export const LagState = {
|
|
|
86
113
|
requested: "requested",
|
|
87
114
|
unknown: "unknown",
|
|
88
115
|
};
|
|
116
|
+
export const ResiliencyModel = {
|
|
117
|
+
BasicResiliency: "basic-resiliency",
|
|
118
|
+
HighResiliency: "high-resiliency",
|
|
119
|
+
MaximumResiliency: "maximum-resiliency",
|
|
120
|
+
};
|
|
121
|
+
export const ResiliencyGroupType = {
|
|
122
|
+
Managed: "Managed",
|
|
123
|
+
};
|
|
124
|
+
export const ResiliencyGroupState = {
|
|
125
|
+
Available: "available",
|
|
126
|
+
Deleted: "deleted",
|
|
127
|
+
Deleting: "deleting",
|
|
128
|
+
Pending: "pending",
|
|
129
|
+
};
|
|
89
130
|
export const LoaContentType = {
|
|
90
131
|
PDF: "application/pdf",
|
|
91
132
|
};
|