@aws-sdk/client-networkmanager 3.315.0 → 3.319.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/NetworkManager.js +89 -1190
- package/dist-cjs/protocols/Aws_restJson1.js +8 -8
- package/dist-es/NetworkManager.js +89 -1190
- package/dist-es/protocols/Aws_restJson1.js +8 -8
- package/dist-types/NetworkManager.d.ts +92 -220
- package/dist-types/ts3.4/NetworkManager.d.ts +4 -1
- package/package.json +8 -8
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NetworkManager = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AcceptAttachmentCommand_1 = require("./commands/AcceptAttachmentCommand");
|
|
5
6
|
const AssociateConnectPeerCommand_1 = require("./commands/AssociateConnectPeerCommand");
|
|
6
7
|
const AssociateCustomerGatewayCommand_1 = require("./commands/AssociateCustomerGatewayCommand");
|
|
@@ -87,1196 +88,94 @@ const UpdateNetworkResourceMetadataCommand_1 = require("./commands/UpdateNetwork
|
|
|
87
88
|
const UpdateSiteCommand_1 = require("./commands/UpdateSiteCommand");
|
|
88
89
|
const UpdateVpcAttachmentCommand_1 = require("./commands/UpdateVpcAttachmentCommand");
|
|
89
90
|
const NetworkManagerClient_1 = require("./NetworkManagerClient");
|
|
91
|
+
const commands = {
|
|
92
|
+
AcceptAttachmentCommand: AcceptAttachmentCommand_1.AcceptAttachmentCommand,
|
|
93
|
+
AssociateConnectPeerCommand: AssociateConnectPeerCommand_1.AssociateConnectPeerCommand,
|
|
94
|
+
AssociateCustomerGatewayCommand: AssociateCustomerGatewayCommand_1.AssociateCustomerGatewayCommand,
|
|
95
|
+
AssociateLinkCommand: AssociateLinkCommand_1.AssociateLinkCommand,
|
|
96
|
+
AssociateTransitGatewayConnectPeerCommand: AssociateTransitGatewayConnectPeerCommand_1.AssociateTransitGatewayConnectPeerCommand,
|
|
97
|
+
CreateConnectAttachmentCommand: CreateConnectAttachmentCommand_1.CreateConnectAttachmentCommand,
|
|
98
|
+
CreateConnectionCommand: CreateConnectionCommand_1.CreateConnectionCommand,
|
|
99
|
+
CreateConnectPeerCommand: CreateConnectPeerCommand_1.CreateConnectPeerCommand,
|
|
100
|
+
CreateCoreNetworkCommand: CreateCoreNetworkCommand_1.CreateCoreNetworkCommand,
|
|
101
|
+
CreateDeviceCommand: CreateDeviceCommand_1.CreateDeviceCommand,
|
|
102
|
+
CreateGlobalNetworkCommand: CreateGlobalNetworkCommand_1.CreateGlobalNetworkCommand,
|
|
103
|
+
CreateLinkCommand: CreateLinkCommand_1.CreateLinkCommand,
|
|
104
|
+
CreateSiteCommand: CreateSiteCommand_1.CreateSiteCommand,
|
|
105
|
+
CreateSiteToSiteVpnAttachmentCommand: CreateSiteToSiteVpnAttachmentCommand_1.CreateSiteToSiteVpnAttachmentCommand,
|
|
106
|
+
CreateTransitGatewayPeeringCommand: CreateTransitGatewayPeeringCommand_1.CreateTransitGatewayPeeringCommand,
|
|
107
|
+
CreateTransitGatewayRouteTableAttachmentCommand: CreateTransitGatewayRouteTableAttachmentCommand_1.CreateTransitGatewayRouteTableAttachmentCommand,
|
|
108
|
+
CreateVpcAttachmentCommand: CreateVpcAttachmentCommand_1.CreateVpcAttachmentCommand,
|
|
109
|
+
DeleteAttachmentCommand: DeleteAttachmentCommand_1.DeleteAttachmentCommand,
|
|
110
|
+
DeleteConnectionCommand: DeleteConnectionCommand_1.DeleteConnectionCommand,
|
|
111
|
+
DeleteConnectPeerCommand: DeleteConnectPeerCommand_1.DeleteConnectPeerCommand,
|
|
112
|
+
DeleteCoreNetworkCommand: DeleteCoreNetworkCommand_1.DeleteCoreNetworkCommand,
|
|
113
|
+
DeleteCoreNetworkPolicyVersionCommand: DeleteCoreNetworkPolicyVersionCommand_1.DeleteCoreNetworkPolicyVersionCommand,
|
|
114
|
+
DeleteDeviceCommand: DeleteDeviceCommand_1.DeleteDeviceCommand,
|
|
115
|
+
DeleteGlobalNetworkCommand: DeleteGlobalNetworkCommand_1.DeleteGlobalNetworkCommand,
|
|
116
|
+
DeleteLinkCommand: DeleteLinkCommand_1.DeleteLinkCommand,
|
|
117
|
+
DeletePeeringCommand: DeletePeeringCommand_1.DeletePeeringCommand,
|
|
118
|
+
DeleteResourcePolicyCommand: DeleteResourcePolicyCommand_1.DeleteResourcePolicyCommand,
|
|
119
|
+
DeleteSiteCommand: DeleteSiteCommand_1.DeleteSiteCommand,
|
|
120
|
+
DeregisterTransitGatewayCommand: DeregisterTransitGatewayCommand_1.DeregisterTransitGatewayCommand,
|
|
121
|
+
DescribeGlobalNetworksCommand: DescribeGlobalNetworksCommand_1.DescribeGlobalNetworksCommand,
|
|
122
|
+
DisassociateConnectPeerCommand: DisassociateConnectPeerCommand_1.DisassociateConnectPeerCommand,
|
|
123
|
+
DisassociateCustomerGatewayCommand: DisassociateCustomerGatewayCommand_1.DisassociateCustomerGatewayCommand,
|
|
124
|
+
DisassociateLinkCommand: DisassociateLinkCommand_1.DisassociateLinkCommand,
|
|
125
|
+
DisassociateTransitGatewayConnectPeerCommand: DisassociateTransitGatewayConnectPeerCommand_1.DisassociateTransitGatewayConnectPeerCommand,
|
|
126
|
+
ExecuteCoreNetworkChangeSetCommand: ExecuteCoreNetworkChangeSetCommand_1.ExecuteCoreNetworkChangeSetCommand,
|
|
127
|
+
GetConnectAttachmentCommand: GetConnectAttachmentCommand_1.GetConnectAttachmentCommand,
|
|
128
|
+
GetConnectionsCommand: GetConnectionsCommand_1.GetConnectionsCommand,
|
|
129
|
+
GetConnectPeerCommand: GetConnectPeerCommand_1.GetConnectPeerCommand,
|
|
130
|
+
GetConnectPeerAssociationsCommand: GetConnectPeerAssociationsCommand_1.GetConnectPeerAssociationsCommand,
|
|
131
|
+
GetCoreNetworkCommand: GetCoreNetworkCommand_1.GetCoreNetworkCommand,
|
|
132
|
+
GetCoreNetworkChangeEventsCommand: GetCoreNetworkChangeEventsCommand_1.GetCoreNetworkChangeEventsCommand,
|
|
133
|
+
GetCoreNetworkChangeSetCommand: GetCoreNetworkChangeSetCommand_1.GetCoreNetworkChangeSetCommand,
|
|
134
|
+
GetCoreNetworkPolicyCommand: GetCoreNetworkPolicyCommand_1.GetCoreNetworkPolicyCommand,
|
|
135
|
+
GetCustomerGatewayAssociationsCommand: GetCustomerGatewayAssociationsCommand_1.GetCustomerGatewayAssociationsCommand,
|
|
136
|
+
GetDevicesCommand: GetDevicesCommand_1.GetDevicesCommand,
|
|
137
|
+
GetLinkAssociationsCommand: GetLinkAssociationsCommand_1.GetLinkAssociationsCommand,
|
|
138
|
+
GetLinksCommand: GetLinksCommand_1.GetLinksCommand,
|
|
139
|
+
GetNetworkResourceCountsCommand: GetNetworkResourceCountsCommand_1.GetNetworkResourceCountsCommand,
|
|
140
|
+
GetNetworkResourceRelationshipsCommand: GetNetworkResourceRelationshipsCommand_1.GetNetworkResourceRelationshipsCommand,
|
|
141
|
+
GetNetworkResourcesCommand: GetNetworkResourcesCommand_1.GetNetworkResourcesCommand,
|
|
142
|
+
GetNetworkRoutesCommand: GetNetworkRoutesCommand_1.GetNetworkRoutesCommand,
|
|
143
|
+
GetNetworkTelemetryCommand: GetNetworkTelemetryCommand_1.GetNetworkTelemetryCommand,
|
|
144
|
+
GetResourcePolicyCommand: GetResourcePolicyCommand_1.GetResourcePolicyCommand,
|
|
145
|
+
GetRouteAnalysisCommand: GetRouteAnalysisCommand_1.GetRouteAnalysisCommand,
|
|
146
|
+
GetSitesCommand: GetSitesCommand_1.GetSitesCommand,
|
|
147
|
+
GetSiteToSiteVpnAttachmentCommand: GetSiteToSiteVpnAttachmentCommand_1.GetSiteToSiteVpnAttachmentCommand,
|
|
148
|
+
GetTransitGatewayConnectPeerAssociationsCommand: GetTransitGatewayConnectPeerAssociationsCommand_1.GetTransitGatewayConnectPeerAssociationsCommand,
|
|
149
|
+
GetTransitGatewayPeeringCommand: GetTransitGatewayPeeringCommand_1.GetTransitGatewayPeeringCommand,
|
|
150
|
+
GetTransitGatewayRegistrationsCommand: GetTransitGatewayRegistrationsCommand_1.GetTransitGatewayRegistrationsCommand,
|
|
151
|
+
GetTransitGatewayRouteTableAttachmentCommand: GetTransitGatewayRouteTableAttachmentCommand_1.GetTransitGatewayRouteTableAttachmentCommand,
|
|
152
|
+
GetVpcAttachmentCommand: GetVpcAttachmentCommand_1.GetVpcAttachmentCommand,
|
|
153
|
+
ListAttachmentsCommand: ListAttachmentsCommand_1.ListAttachmentsCommand,
|
|
154
|
+
ListConnectPeersCommand: ListConnectPeersCommand_1.ListConnectPeersCommand,
|
|
155
|
+
ListCoreNetworkPolicyVersionsCommand: ListCoreNetworkPolicyVersionsCommand_1.ListCoreNetworkPolicyVersionsCommand,
|
|
156
|
+
ListCoreNetworksCommand: ListCoreNetworksCommand_1.ListCoreNetworksCommand,
|
|
157
|
+
ListOrganizationServiceAccessStatusCommand: ListOrganizationServiceAccessStatusCommand_1.ListOrganizationServiceAccessStatusCommand,
|
|
158
|
+
ListPeeringsCommand: ListPeeringsCommand_1.ListPeeringsCommand,
|
|
159
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
160
|
+
PutCoreNetworkPolicyCommand: PutCoreNetworkPolicyCommand_1.PutCoreNetworkPolicyCommand,
|
|
161
|
+
PutResourcePolicyCommand: PutResourcePolicyCommand_1.PutResourcePolicyCommand,
|
|
162
|
+
RegisterTransitGatewayCommand: RegisterTransitGatewayCommand_1.RegisterTransitGatewayCommand,
|
|
163
|
+
RejectAttachmentCommand: RejectAttachmentCommand_1.RejectAttachmentCommand,
|
|
164
|
+
RestoreCoreNetworkPolicyVersionCommand: RestoreCoreNetworkPolicyVersionCommand_1.RestoreCoreNetworkPolicyVersionCommand,
|
|
165
|
+
StartOrganizationServiceAccessUpdateCommand: StartOrganizationServiceAccessUpdateCommand_1.StartOrganizationServiceAccessUpdateCommand,
|
|
166
|
+
StartRouteAnalysisCommand: StartRouteAnalysisCommand_1.StartRouteAnalysisCommand,
|
|
167
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
168
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
169
|
+
UpdateConnectionCommand: UpdateConnectionCommand_1.UpdateConnectionCommand,
|
|
170
|
+
UpdateCoreNetworkCommand: UpdateCoreNetworkCommand_1.UpdateCoreNetworkCommand,
|
|
171
|
+
UpdateDeviceCommand: UpdateDeviceCommand_1.UpdateDeviceCommand,
|
|
172
|
+
UpdateGlobalNetworkCommand: UpdateGlobalNetworkCommand_1.UpdateGlobalNetworkCommand,
|
|
173
|
+
UpdateLinkCommand: UpdateLinkCommand_1.UpdateLinkCommand,
|
|
174
|
+
UpdateNetworkResourceMetadataCommand: UpdateNetworkResourceMetadataCommand_1.UpdateNetworkResourceMetadataCommand,
|
|
175
|
+
UpdateSiteCommand: UpdateSiteCommand_1.UpdateSiteCommand,
|
|
176
|
+
UpdateVpcAttachmentCommand: UpdateVpcAttachmentCommand_1.UpdateVpcAttachmentCommand,
|
|
177
|
+
};
|
|
90
178
|
class NetworkManager extends NetworkManagerClient_1.NetworkManagerClient {
|
|
91
|
-
acceptAttachment(args, optionsOrCb, cb) {
|
|
92
|
-
const command = new AcceptAttachmentCommand_1.AcceptAttachmentCommand(args);
|
|
93
|
-
if (typeof optionsOrCb === "function") {
|
|
94
|
-
this.send(command, optionsOrCb);
|
|
95
|
-
}
|
|
96
|
-
else if (typeof cb === "function") {
|
|
97
|
-
if (typeof optionsOrCb !== "object")
|
|
98
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
99
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
100
|
-
}
|
|
101
|
-
else {
|
|
102
|
-
return this.send(command, optionsOrCb);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
associateConnectPeer(args, optionsOrCb, cb) {
|
|
106
|
-
const command = new AssociateConnectPeerCommand_1.AssociateConnectPeerCommand(args);
|
|
107
|
-
if (typeof optionsOrCb === "function") {
|
|
108
|
-
this.send(command, optionsOrCb);
|
|
109
|
-
}
|
|
110
|
-
else if (typeof cb === "function") {
|
|
111
|
-
if (typeof optionsOrCb !== "object")
|
|
112
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
113
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
return this.send(command, optionsOrCb);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
associateCustomerGateway(args, optionsOrCb, cb) {
|
|
120
|
-
const command = new AssociateCustomerGatewayCommand_1.AssociateCustomerGatewayCommand(args);
|
|
121
|
-
if (typeof optionsOrCb === "function") {
|
|
122
|
-
this.send(command, optionsOrCb);
|
|
123
|
-
}
|
|
124
|
-
else if (typeof cb === "function") {
|
|
125
|
-
if (typeof optionsOrCb !== "object")
|
|
126
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
127
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
return this.send(command, optionsOrCb);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
associateLink(args, optionsOrCb, cb) {
|
|
134
|
-
const command = new AssociateLinkCommand_1.AssociateLinkCommand(args);
|
|
135
|
-
if (typeof optionsOrCb === "function") {
|
|
136
|
-
this.send(command, optionsOrCb);
|
|
137
|
-
}
|
|
138
|
-
else if (typeof cb === "function") {
|
|
139
|
-
if (typeof optionsOrCb !== "object")
|
|
140
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
141
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
return this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
associateTransitGatewayConnectPeer(args, optionsOrCb, cb) {
|
|
148
|
-
const command = new AssociateTransitGatewayConnectPeerCommand_1.AssociateTransitGatewayConnectPeerCommand(args);
|
|
149
|
-
if (typeof optionsOrCb === "function") {
|
|
150
|
-
this.send(command, optionsOrCb);
|
|
151
|
-
}
|
|
152
|
-
else if (typeof cb === "function") {
|
|
153
|
-
if (typeof optionsOrCb !== "object")
|
|
154
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
155
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
156
|
-
}
|
|
157
|
-
else {
|
|
158
|
-
return this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
createConnectAttachment(args, optionsOrCb, cb) {
|
|
162
|
-
const command = new CreateConnectAttachmentCommand_1.CreateConnectAttachmentCommand(args);
|
|
163
|
-
if (typeof optionsOrCb === "function") {
|
|
164
|
-
this.send(command, optionsOrCb);
|
|
165
|
-
}
|
|
166
|
-
else if (typeof cb === "function") {
|
|
167
|
-
if (typeof optionsOrCb !== "object")
|
|
168
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
169
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
170
|
-
}
|
|
171
|
-
else {
|
|
172
|
-
return this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
createConnection(args, optionsOrCb, cb) {
|
|
176
|
-
const command = new CreateConnectionCommand_1.CreateConnectionCommand(args);
|
|
177
|
-
if (typeof optionsOrCb === "function") {
|
|
178
|
-
this.send(command, optionsOrCb);
|
|
179
|
-
}
|
|
180
|
-
else if (typeof cb === "function") {
|
|
181
|
-
if (typeof optionsOrCb !== "object")
|
|
182
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
183
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
184
|
-
}
|
|
185
|
-
else {
|
|
186
|
-
return this.send(command, optionsOrCb);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
createConnectPeer(args, optionsOrCb, cb) {
|
|
190
|
-
const command = new CreateConnectPeerCommand_1.CreateConnectPeerCommand(args);
|
|
191
|
-
if (typeof optionsOrCb === "function") {
|
|
192
|
-
this.send(command, optionsOrCb);
|
|
193
|
-
}
|
|
194
|
-
else if (typeof cb === "function") {
|
|
195
|
-
if (typeof optionsOrCb !== "object")
|
|
196
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
197
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
198
|
-
}
|
|
199
|
-
else {
|
|
200
|
-
return this.send(command, optionsOrCb);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
createCoreNetwork(args, optionsOrCb, cb) {
|
|
204
|
-
const command = new CreateCoreNetworkCommand_1.CreateCoreNetworkCommand(args);
|
|
205
|
-
if (typeof optionsOrCb === "function") {
|
|
206
|
-
this.send(command, optionsOrCb);
|
|
207
|
-
}
|
|
208
|
-
else if (typeof cb === "function") {
|
|
209
|
-
if (typeof optionsOrCb !== "object")
|
|
210
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
211
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
212
|
-
}
|
|
213
|
-
else {
|
|
214
|
-
return this.send(command, optionsOrCb);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
createDevice(args, optionsOrCb, cb) {
|
|
218
|
-
const command = new CreateDeviceCommand_1.CreateDeviceCommand(args);
|
|
219
|
-
if (typeof optionsOrCb === "function") {
|
|
220
|
-
this.send(command, optionsOrCb);
|
|
221
|
-
}
|
|
222
|
-
else if (typeof cb === "function") {
|
|
223
|
-
if (typeof optionsOrCb !== "object")
|
|
224
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
225
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
return this.send(command, optionsOrCb);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
createGlobalNetwork(args, optionsOrCb, cb) {
|
|
232
|
-
const command = new CreateGlobalNetworkCommand_1.CreateGlobalNetworkCommand(args);
|
|
233
|
-
if (typeof optionsOrCb === "function") {
|
|
234
|
-
this.send(command, optionsOrCb);
|
|
235
|
-
}
|
|
236
|
-
else if (typeof cb === "function") {
|
|
237
|
-
if (typeof optionsOrCb !== "object")
|
|
238
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
239
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
240
|
-
}
|
|
241
|
-
else {
|
|
242
|
-
return this.send(command, optionsOrCb);
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
createLink(args, optionsOrCb, cb) {
|
|
246
|
-
const command = new CreateLinkCommand_1.CreateLinkCommand(args);
|
|
247
|
-
if (typeof optionsOrCb === "function") {
|
|
248
|
-
this.send(command, optionsOrCb);
|
|
249
|
-
}
|
|
250
|
-
else if (typeof cb === "function") {
|
|
251
|
-
if (typeof optionsOrCb !== "object")
|
|
252
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
253
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
254
|
-
}
|
|
255
|
-
else {
|
|
256
|
-
return this.send(command, optionsOrCb);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
createSite(args, optionsOrCb, cb) {
|
|
260
|
-
const command = new CreateSiteCommand_1.CreateSiteCommand(args);
|
|
261
|
-
if (typeof optionsOrCb === "function") {
|
|
262
|
-
this.send(command, optionsOrCb);
|
|
263
|
-
}
|
|
264
|
-
else if (typeof cb === "function") {
|
|
265
|
-
if (typeof optionsOrCb !== "object")
|
|
266
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
267
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
268
|
-
}
|
|
269
|
-
else {
|
|
270
|
-
return this.send(command, optionsOrCb);
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
createSiteToSiteVpnAttachment(args, optionsOrCb, cb) {
|
|
274
|
-
const command = new CreateSiteToSiteVpnAttachmentCommand_1.CreateSiteToSiteVpnAttachmentCommand(args);
|
|
275
|
-
if (typeof optionsOrCb === "function") {
|
|
276
|
-
this.send(command, optionsOrCb);
|
|
277
|
-
}
|
|
278
|
-
else if (typeof cb === "function") {
|
|
279
|
-
if (typeof optionsOrCb !== "object")
|
|
280
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
281
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
282
|
-
}
|
|
283
|
-
else {
|
|
284
|
-
return this.send(command, optionsOrCb);
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
createTransitGatewayPeering(args, optionsOrCb, cb) {
|
|
288
|
-
const command = new CreateTransitGatewayPeeringCommand_1.CreateTransitGatewayPeeringCommand(args);
|
|
289
|
-
if (typeof optionsOrCb === "function") {
|
|
290
|
-
this.send(command, optionsOrCb);
|
|
291
|
-
}
|
|
292
|
-
else if (typeof cb === "function") {
|
|
293
|
-
if (typeof optionsOrCb !== "object")
|
|
294
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
295
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
296
|
-
}
|
|
297
|
-
else {
|
|
298
|
-
return this.send(command, optionsOrCb);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
createTransitGatewayRouteTableAttachment(args, optionsOrCb, cb) {
|
|
302
|
-
const command = new CreateTransitGatewayRouteTableAttachmentCommand_1.CreateTransitGatewayRouteTableAttachmentCommand(args);
|
|
303
|
-
if (typeof optionsOrCb === "function") {
|
|
304
|
-
this.send(command, optionsOrCb);
|
|
305
|
-
}
|
|
306
|
-
else if (typeof cb === "function") {
|
|
307
|
-
if (typeof optionsOrCb !== "object")
|
|
308
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
309
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
310
|
-
}
|
|
311
|
-
else {
|
|
312
|
-
return this.send(command, optionsOrCb);
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
createVpcAttachment(args, optionsOrCb, cb) {
|
|
316
|
-
const command = new CreateVpcAttachmentCommand_1.CreateVpcAttachmentCommand(args);
|
|
317
|
-
if (typeof optionsOrCb === "function") {
|
|
318
|
-
this.send(command, optionsOrCb);
|
|
319
|
-
}
|
|
320
|
-
else if (typeof cb === "function") {
|
|
321
|
-
if (typeof optionsOrCb !== "object")
|
|
322
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
323
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
324
|
-
}
|
|
325
|
-
else {
|
|
326
|
-
return this.send(command, optionsOrCb);
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
deleteAttachment(args, optionsOrCb, cb) {
|
|
330
|
-
const command = new DeleteAttachmentCommand_1.DeleteAttachmentCommand(args);
|
|
331
|
-
if (typeof optionsOrCb === "function") {
|
|
332
|
-
this.send(command, optionsOrCb);
|
|
333
|
-
}
|
|
334
|
-
else if (typeof cb === "function") {
|
|
335
|
-
if (typeof optionsOrCb !== "object")
|
|
336
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
337
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
338
|
-
}
|
|
339
|
-
else {
|
|
340
|
-
return this.send(command, optionsOrCb);
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
deleteConnection(args, optionsOrCb, cb) {
|
|
344
|
-
const command = new DeleteConnectionCommand_1.DeleteConnectionCommand(args);
|
|
345
|
-
if (typeof optionsOrCb === "function") {
|
|
346
|
-
this.send(command, optionsOrCb);
|
|
347
|
-
}
|
|
348
|
-
else if (typeof cb === "function") {
|
|
349
|
-
if (typeof optionsOrCb !== "object")
|
|
350
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
351
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
352
|
-
}
|
|
353
|
-
else {
|
|
354
|
-
return this.send(command, optionsOrCb);
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
deleteConnectPeer(args, optionsOrCb, cb) {
|
|
358
|
-
const command = new DeleteConnectPeerCommand_1.DeleteConnectPeerCommand(args);
|
|
359
|
-
if (typeof optionsOrCb === "function") {
|
|
360
|
-
this.send(command, optionsOrCb);
|
|
361
|
-
}
|
|
362
|
-
else if (typeof cb === "function") {
|
|
363
|
-
if (typeof optionsOrCb !== "object")
|
|
364
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
365
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
366
|
-
}
|
|
367
|
-
else {
|
|
368
|
-
return this.send(command, optionsOrCb);
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
deleteCoreNetwork(args, optionsOrCb, cb) {
|
|
372
|
-
const command = new DeleteCoreNetworkCommand_1.DeleteCoreNetworkCommand(args);
|
|
373
|
-
if (typeof optionsOrCb === "function") {
|
|
374
|
-
this.send(command, optionsOrCb);
|
|
375
|
-
}
|
|
376
|
-
else if (typeof cb === "function") {
|
|
377
|
-
if (typeof optionsOrCb !== "object")
|
|
378
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
379
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
380
|
-
}
|
|
381
|
-
else {
|
|
382
|
-
return this.send(command, optionsOrCb);
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
deleteCoreNetworkPolicyVersion(args, optionsOrCb, cb) {
|
|
386
|
-
const command = new DeleteCoreNetworkPolicyVersionCommand_1.DeleteCoreNetworkPolicyVersionCommand(args);
|
|
387
|
-
if (typeof optionsOrCb === "function") {
|
|
388
|
-
this.send(command, optionsOrCb);
|
|
389
|
-
}
|
|
390
|
-
else if (typeof cb === "function") {
|
|
391
|
-
if (typeof optionsOrCb !== "object")
|
|
392
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
393
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
394
|
-
}
|
|
395
|
-
else {
|
|
396
|
-
return this.send(command, optionsOrCb);
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
deleteDevice(args, optionsOrCb, cb) {
|
|
400
|
-
const command = new DeleteDeviceCommand_1.DeleteDeviceCommand(args);
|
|
401
|
-
if (typeof optionsOrCb === "function") {
|
|
402
|
-
this.send(command, optionsOrCb);
|
|
403
|
-
}
|
|
404
|
-
else if (typeof cb === "function") {
|
|
405
|
-
if (typeof optionsOrCb !== "object")
|
|
406
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
407
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
408
|
-
}
|
|
409
|
-
else {
|
|
410
|
-
return this.send(command, optionsOrCb);
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
deleteGlobalNetwork(args, optionsOrCb, cb) {
|
|
414
|
-
const command = new DeleteGlobalNetworkCommand_1.DeleteGlobalNetworkCommand(args);
|
|
415
|
-
if (typeof optionsOrCb === "function") {
|
|
416
|
-
this.send(command, optionsOrCb);
|
|
417
|
-
}
|
|
418
|
-
else if (typeof cb === "function") {
|
|
419
|
-
if (typeof optionsOrCb !== "object")
|
|
420
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
421
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
422
|
-
}
|
|
423
|
-
else {
|
|
424
|
-
return this.send(command, optionsOrCb);
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
deleteLink(args, optionsOrCb, cb) {
|
|
428
|
-
const command = new DeleteLinkCommand_1.DeleteLinkCommand(args);
|
|
429
|
-
if (typeof optionsOrCb === "function") {
|
|
430
|
-
this.send(command, optionsOrCb);
|
|
431
|
-
}
|
|
432
|
-
else if (typeof cb === "function") {
|
|
433
|
-
if (typeof optionsOrCb !== "object")
|
|
434
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
435
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
436
|
-
}
|
|
437
|
-
else {
|
|
438
|
-
return this.send(command, optionsOrCb);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
deletePeering(args, optionsOrCb, cb) {
|
|
442
|
-
const command = new DeletePeeringCommand_1.DeletePeeringCommand(args);
|
|
443
|
-
if (typeof optionsOrCb === "function") {
|
|
444
|
-
this.send(command, optionsOrCb);
|
|
445
|
-
}
|
|
446
|
-
else if (typeof cb === "function") {
|
|
447
|
-
if (typeof optionsOrCb !== "object")
|
|
448
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
449
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
450
|
-
}
|
|
451
|
-
else {
|
|
452
|
-
return this.send(command, optionsOrCb);
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
deleteResourcePolicy(args, optionsOrCb, cb) {
|
|
456
|
-
const command = new DeleteResourcePolicyCommand_1.DeleteResourcePolicyCommand(args);
|
|
457
|
-
if (typeof optionsOrCb === "function") {
|
|
458
|
-
this.send(command, optionsOrCb);
|
|
459
|
-
}
|
|
460
|
-
else if (typeof cb === "function") {
|
|
461
|
-
if (typeof optionsOrCb !== "object")
|
|
462
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
463
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
464
|
-
}
|
|
465
|
-
else {
|
|
466
|
-
return this.send(command, optionsOrCb);
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
deleteSite(args, optionsOrCb, cb) {
|
|
470
|
-
const command = new DeleteSiteCommand_1.DeleteSiteCommand(args);
|
|
471
|
-
if (typeof optionsOrCb === "function") {
|
|
472
|
-
this.send(command, optionsOrCb);
|
|
473
|
-
}
|
|
474
|
-
else if (typeof cb === "function") {
|
|
475
|
-
if (typeof optionsOrCb !== "object")
|
|
476
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
477
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
478
|
-
}
|
|
479
|
-
else {
|
|
480
|
-
return this.send(command, optionsOrCb);
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
deregisterTransitGateway(args, optionsOrCb, cb) {
|
|
484
|
-
const command = new DeregisterTransitGatewayCommand_1.DeregisterTransitGatewayCommand(args);
|
|
485
|
-
if (typeof optionsOrCb === "function") {
|
|
486
|
-
this.send(command, optionsOrCb);
|
|
487
|
-
}
|
|
488
|
-
else if (typeof cb === "function") {
|
|
489
|
-
if (typeof optionsOrCb !== "object")
|
|
490
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
491
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
492
|
-
}
|
|
493
|
-
else {
|
|
494
|
-
return this.send(command, optionsOrCb);
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
describeGlobalNetworks(args, optionsOrCb, cb) {
|
|
498
|
-
const command = new DescribeGlobalNetworksCommand_1.DescribeGlobalNetworksCommand(args);
|
|
499
|
-
if (typeof optionsOrCb === "function") {
|
|
500
|
-
this.send(command, optionsOrCb);
|
|
501
|
-
}
|
|
502
|
-
else if (typeof cb === "function") {
|
|
503
|
-
if (typeof optionsOrCb !== "object")
|
|
504
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
505
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
506
|
-
}
|
|
507
|
-
else {
|
|
508
|
-
return this.send(command, optionsOrCb);
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
disassociateConnectPeer(args, optionsOrCb, cb) {
|
|
512
|
-
const command = new DisassociateConnectPeerCommand_1.DisassociateConnectPeerCommand(args);
|
|
513
|
-
if (typeof optionsOrCb === "function") {
|
|
514
|
-
this.send(command, optionsOrCb);
|
|
515
|
-
}
|
|
516
|
-
else if (typeof cb === "function") {
|
|
517
|
-
if (typeof optionsOrCb !== "object")
|
|
518
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
519
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
520
|
-
}
|
|
521
|
-
else {
|
|
522
|
-
return this.send(command, optionsOrCb);
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
disassociateCustomerGateway(args, optionsOrCb, cb) {
|
|
526
|
-
const command = new DisassociateCustomerGatewayCommand_1.DisassociateCustomerGatewayCommand(args);
|
|
527
|
-
if (typeof optionsOrCb === "function") {
|
|
528
|
-
this.send(command, optionsOrCb);
|
|
529
|
-
}
|
|
530
|
-
else if (typeof cb === "function") {
|
|
531
|
-
if (typeof optionsOrCb !== "object")
|
|
532
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
533
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
534
|
-
}
|
|
535
|
-
else {
|
|
536
|
-
return this.send(command, optionsOrCb);
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
disassociateLink(args, optionsOrCb, cb) {
|
|
540
|
-
const command = new DisassociateLinkCommand_1.DisassociateLinkCommand(args);
|
|
541
|
-
if (typeof optionsOrCb === "function") {
|
|
542
|
-
this.send(command, optionsOrCb);
|
|
543
|
-
}
|
|
544
|
-
else if (typeof cb === "function") {
|
|
545
|
-
if (typeof optionsOrCb !== "object")
|
|
546
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
547
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
548
|
-
}
|
|
549
|
-
else {
|
|
550
|
-
return this.send(command, optionsOrCb);
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
disassociateTransitGatewayConnectPeer(args, optionsOrCb, cb) {
|
|
554
|
-
const command = new DisassociateTransitGatewayConnectPeerCommand_1.DisassociateTransitGatewayConnectPeerCommand(args);
|
|
555
|
-
if (typeof optionsOrCb === "function") {
|
|
556
|
-
this.send(command, optionsOrCb);
|
|
557
|
-
}
|
|
558
|
-
else if (typeof cb === "function") {
|
|
559
|
-
if (typeof optionsOrCb !== "object")
|
|
560
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
561
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
562
|
-
}
|
|
563
|
-
else {
|
|
564
|
-
return this.send(command, optionsOrCb);
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
executeCoreNetworkChangeSet(args, optionsOrCb, cb) {
|
|
568
|
-
const command = new ExecuteCoreNetworkChangeSetCommand_1.ExecuteCoreNetworkChangeSetCommand(args);
|
|
569
|
-
if (typeof optionsOrCb === "function") {
|
|
570
|
-
this.send(command, optionsOrCb);
|
|
571
|
-
}
|
|
572
|
-
else if (typeof cb === "function") {
|
|
573
|
-
if (typeof optionsOrCb !== "object")
|
|
574
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
575
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
576
|
-
}
|
|
577
|
-
else {
|
|
578
|
-
return this.send(command, optionsOrCb);
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
getConnectAttachment(args, optionsOrCb, cb) {
|
|
582
|
-
const command = new GetConnectAttachmentCommand_1.GetConnectAttachmentCommand(args);
|
|
583
|
-
if (typeof optionsOrCb === "function") {
|
|
584
|
-
this.send(command, optionsOrCb);
|
|
585
|
-
}
|
|
586
|
-
else if (typeof cb === "function") {
|
|
587
|
-
if (typeof optionsOrCb !== "object")
|
|
588
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
589
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
590
|
-
}
|
|
591
|
-
else {
|
|
592
|
-
return this.send(command, optionsOrCb);
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
getConnections(args, optionsOrCb, cb) {
|
|
596
|
-
const command = new GetConnectionsCommand_1.GetConnectionsCommand(args);
|
|
597
|
-
if (typeof optionsOrCb === "function") {
|
|
598
|
-
this.send(command, optionsOrCb);
|
|
599
|
-
}
|
|
600
|
-
else if (typeof cb === "function") {
|
|
601
|
-
if (typeof optionsOrCb !== "object")
|
|
602
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
603
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
604
|
-
}
|
|
605
|
-
else {
|
|
606
|
-
return this.send(command, optionsOrCb);
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
getConnectPeer(args, optionsOrCb, cb) {
|
|
610
|
-
const command = new GetConnectPeerCommand_1.GetConnectPeerCommand(args);
|
|
611
|
-
if (typeof optionsOrCb === "function") {
|
|
612
|
-
this.send(command, optionsOrCb);
|
|
613
|
-
}
|
|
614
|
-
else if (typeof cb === "function") {
|
|
615
|
-
if (typeof optionsOrCb !== "object")
|
|
616
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
617
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
618
|
-
}
|
|
619
|
-
else {
|
|
620
|
-
return this.send(command, optionsOrCb);
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
getConnectPeerAssociations(args, optionsOrCb, cb) {
|
|
624
|
-
const command = new GetConnectPeerAssociationsCommand_1.GetConnectPeerAssociationsCommand(args);
|
|
625
|
-
if (typeof optionsOrCb === "function") {
|
|
626
|
-
this.send(command, optionsOrCb);
|
|
627
|
-
}
|
|
628
|
-
else if (typeof cb === "function") {
|
|
629
|
-
if (typeof optionsOrCb !== "object")
|
|
630
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
631
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
632
|
-
}
|
|
633
|
-
else {
|
|
634
|
-
return this.send(command, optionsOrCb);
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
getCoreNetwork(args, optionsOrCb, cb) {
|
|
638
|
-
const command = new GetCoreNetworkCommand_1.GetCoreNetworkCommand(args);
|
|
639
|
-
if (typeof optionsOrCb === "function") {
|
|
640
|
-
this.send(command, optionsOrCb);
|
|
641
|
-
}
|
|
642
|
-
else if (typeof cb === "function") {
|
|
643
|
-
if (typeof optionsOrCb !== "object")
|
|
644
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
645
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
646
|
-
}
|
|
647
|
-
else {
|
|
648
|
-
return this.send(command, optionsOrCb);
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
getCoreNetworkChangeEvents(args, optionsOrCb, cb) {
|
|
652
|
-
const command = new GetCoreNetworkChangeEventsCommand_1.GetCoreNetworkChangeEventsCommand(args);
|
|
653
|
-
if (typeof optionsOrCb === "function") {
|
|
654
|
-
this.send(command, optionsOrCb);
|
|
655
|
-
}
|
|
656
|
-
else if (typeof cb === "function") {
|
|
657
|
-
if (typeof optionsOrCb !== "object")
|
|
658
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
659
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
660
|
-
}
|
|
661
|
-
else {
|
|
662
|
-
return this.send(command, optionsOrCb);
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
getCoreNetworkChangeSet(args, optionsOrCb, cb) {
|
|
666
|
-
const command = new GetCoreNetworkChangeSetCommand_1.GetCoreNetworkChangeSetCommand(args);
|
|
667
|
-
if (typeof optionsOrCb === "function") {
|
|
668
|
-
this.send(command, optionsOrCb);
|
|
669
|
-
}
|
|
670
|
-
else if (typeof cb === "function") {
|
|
671
|
-
if (typeof optionsOrCb !== "object")
|
|
672
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
673
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
674
|
-
}
|
|
675
|
-
else {
|
|
676
|
-
return this.send(command, optionsOrCb);
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
getCoreNetworkPolicy(args, optionsOrCb, cb) {
|
|
680
|
-
const command = new GetCoreNetworkPolicyCommand_1.GetCoreNetworkPolicyCommand(args);
|
|
681
|
-
if (typeof optionsOrCb === "function") {
|
|
682
|
-
this.send(command, optionsOrCb);
|
|
683
|
-
}
|
|
684
|
-
else if (typeof cb === "function") {
|
|
685
|
-
if (typeof optionsOrCb !== "object")
|
|
686
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
687
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
688
|
-
}
|
|
689
|
-
else {
|
|
690
|
-
return this.send(command, optionsOrCb);
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
getCustomerGatewayAssociations(args, optionsOrCb, cb) {
|
|
694
|
-
const command = new GetCustomerGatewayAssociationsCommand_1.GetCustomerGatewayAssociationsCommand(args);
|
|
695
|
-
if (typeof optionsOrCb === "function") {
|
|
696
|
-
this.send(command, optionsOrCb);
|
|
697
|
-
}
|
|
698
|
-
else if (typeof cb === "function") {
|
|
699
|
-
if (typeof optionsOrCb !== "object")
|
|
700
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
701
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
702
|
-
}
|
|
703
|
-
else {
|
|
704
|
-
return this.send(command, optionsOrCb);
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
getDevices(args, optionsOrCb, cb) {
|
|
708
|
-
const command = new GetDevicesCommand_1.GetDevicesCommand(args);
|
|
709
|
-
if (typeof optionsOrCb === "function") {
|
|
710
|
-
this.send(command, optionsOrCb);
|
|
711
|
-
}
|
|
712
|
-
else if (typeof cb === "function") {
|
|
713
|
-
if (typeof optionsOrCb !== "object")
|
|
714
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
715
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
716
|
-
}
|
|
717
|
-
else {
|
|
718
|
-
return this.send(command, optionsOrCb);
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
getLinkAssociations(args, optionsOrCb, cb) {
|
|
722
|
-
const command = new GetLinkAssociationsCommand_1.GetLinkAssociationsCommand(args);
|
|
723
|
-
if (typeof optionsOrCb === "function") {
|
|
724
|
-
this.send(command, optionsOrCb);
|
|
725
|
-
}
|
|
726
|
-
else if (typeof cb === "function") {
|
|
727
|
-
if (typeof optionsOrCb !== "object")
|
|
728
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
729
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
730
|
-
}
|
|
731
|
-
else {
|
|
732
|
-
return this.send(command, optionsOrCb);
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
getLinks(args, optionsOrCb, cb) {
|
|
736
|
-
const command = new GetLinksCommand_1.GetLinksCommand(args);
|
|
737
|
-
if (typeof optionsOrCb === "function") {
|
|
738
|
-
this.send(command, optionsOrCb);
|
|
739
|
-
}
|
|
740
|
-
else if (typeof cb === "function") {
|
|
741
|
-
if (typeof optionsOrCb !== "object")
|
|
742
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
743
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
744
|
-
}
|
|
745
|
-
else {
|
|
746
|
-
return this.send(command, optionsOrCb);
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
getNetworkResourceCounts(args, optionsOrCb, cb) {
|
|
750
|
-
const command = new GetNetworkResourceCountsCommand_1.GetNetworkResourceCountsCommand(args);
|
|
751
|
-
if (typeof optionsOrCb === "function") {
|
|
752
|
-
this.send(command, optionsOrCb);
|
|
753
|
-
}
|
|
754
|
-
else if (typeof cb === "function") {
|
|
755
|
-
if (typeof optionsOrCb !== "object")
|
|
756
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
757
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
758
|
-
}
|
|
759
|
-
else {
|
|
760
|
-
return this.send(command, optionsOrCb);
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
getNetworkResourceRelationships(args, optionsOrCb, cb) {
|
|
764
|
-
const command = new GetNetworkResourceRelationshipsCommand_1.GetNetworkResourceRelationshipsCommand(args);
|
|
765
|
-
if (typeof optionsOrCb === "function") {
|
|
766
|
-
this.send(command, optionsOrCb);
|
|
767
|
-
}
|
|
768
|
-
else if (typeof cb === "function") {
|
|
769
|
-
if (typeof optionsOrCb !== "object")
|
|
770
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
771
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
772
|
-
}
|
|
773
|
-
else {
|
|
774
|
-
return this.send(command, optionsOrCb);
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
getNetworkResources(args, optionsOrCb, cb) {
|
|
778
|
-
const command = new GetNetworkResourcesCommand_1.GetNetworkResourcesCommand(args);
|
|
779
|
-
if (typeof optionsOrCb === "function") {
|
|
780
|
-
this.send(command, optionsOrCb);
|
|
781
|
-
}
|
|
782
|
-
else if (typeof cb === "function") {
|
|
783
|
-
if (typeof optionsOrCb !== "object")
|
|
784
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
785
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
786
|
-
}
|
|
787
|
-
else {
|
|
788
|
-
return this.send(command, optionsOrCb);
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
getNetworkRoutes(args, optionsOrCb, cb) {
|
|
792
|
-
const command = new GetNetworkRoutesCommand_1.GetNetworkRoutesCommand(args);
|
|
793
|
-
if (typeof optionsOrCb === "function") {
|
|
794
|
-
this.send(command, optionsOrCb);
|
|
795
|
-
}
|
|
796
|
-
else if (typeof cb === "function") {
|
|
797
|
-
if (typeof optionsOrCb !== "object")
|
|
798
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
799
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
800
|
-
}
|
|
801
|
-
else {
|
|
802
|
-
return this.send(command, optionsOrCb);
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
getNetworkTelemetry(args, optionsOrCb, cb) {
|
|
806
|
-
const command = new GetNetworkTelemetryCommand_1.GetNetworkTelemetryCommand(args);
|
|
807
|
-
if (typeof optionsOrCb === "function") {
|
|
808
|
-
this.send(command, optionsOrCb);
|
|
809
|
-
}
|
|
810
|
-
else if (typeof cb === "function") {
|
|
811
|
-
if (typeof optionsOrCb !== "object")
|
|
812
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
813
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
814
|
-
}
|
|
815
|
-
else {
|
|
816
|
-
return this.send(command, optionsOrCb);
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
getResourcePolicy(args, optionsOrCb, cb) {
|
|
820
|
-
const command = new GetResourcePolicyCommand_1.GetResourcePolicyCommand(args);
|
|
821
|
-
if (typeof optionsOrCb === "function") {
|
|
822
|
-
this.send(command, optionsOrCb);
|
|
823
|
-
}
|
|
824
|
-
else if (typeof cb === "function") {
|
|
825
|
-
if (typeof optionsOrCb !== "object")
|
|
826
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
827
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
828
|
-
}
|
|
829
|
-
else {
|
|
830
|
-
return this.send(command, optionsOrCb);
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
getRouteAnalysis(args, optionsOrCb, cb) {
|
|
834
|
-
const command = new GetRouteAnalysisCommand_1.GetRouteAnalysisCommand(args);
|
|
835
|
-
if (typeof optionsOrCb === "function") {
|
|
836
|
-
this.send(command, optionsOrCb);
|
|
837
|
-
}
|
|
838
|
-
else if (typeof cb === "function") {
|
|
839
|
-
if (typeof optionsOrCb !== "object")
|
|
840
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
841
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
842
|
-
}
|
|
843
|
-
else {
|
|
844
|
-
return this.send(command, optionsOrCb);
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
getSites(args, optionsOrCb, cb) {
|
|
848
|
-
const command = new GetSitesCommand_1.GetSitesCommand(args);
|
|
849
|
-
if (typeof optionsOrCb === "function") {
|
|
850
|
-
this.send(command, optionsOrCb);
|
|
851
|
-
}
|
|
852
|
-
else if (typeof cb === "function") {
|
|
853
|
-
if (typeof optionsOrCb !== "object")
|
|
854
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
855
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
856
|
-
}
|
|
857
|
-
else {
|
|
858
|
-
return this.send(command, optionsOrCb);
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
getSiteToSiteVpnAttachment(args, optionsOrCb, cb) {
|
|
862
|
-
const command = new GetSiteToSiteVpnAttachmentCommand_1.GetSiteToSiteVpnAttachmentCommand(args);
|
|
863
|
-
if (typeof optionsOrCb === "function") {
|
|
864
|
-
this.send(command, optionsOrCb);
|
|
865
|
-
}
|
|
866
|
-
else if (typeof cb === "function") {
|
|
867
|
-
if (typeof optionsOrCb !== "object")
|
|
868
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
869
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
870
|
-
}
|
|
871
|
-
else {
|
|
872
|
-
return this.send(command, optionsOrCb);
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
getTransitGatewayConnectPeerAssociations(args, optionsOrCb, cb) {
|
|
876
|
-
const command = new GetTransitGatewayConnectPeerAssociationsCommand_1.GetTransitGatewayConnectPeerAssociationsCommand(args);
|
|
877
|
-
if (typeof optionsOrCb === "function") {
|
|
878
|
-
this.send(command, optionsOrCb);
|
|
879
|
-
}
|
|
880
|
-
else if (typeof cb === "function") {
|
|
881
|
-
if (typeof optionsOrCb !== "object")
|
|
882
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
883
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
884
|
-
}
|
|
885
|
-
else {
|
|
886
|
-
return this.send(command, optionsOrCb);
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
getTransitGatewayPeering(args, optionsOrCb, cb) {
|
|
890
|
-
const command = new GetTransitGatewayPeeringCommand_1.GetTransitGatewayPeeringCommand(args);
|
|
891
|
-
if (typeof optionsOrCb === "function") {
|
|
892
|
-
this.send(command, optionsOrCb);
|
|
893
|
-
}
|
|
894
|
-
else if (typeof cb === "function") {
|
|
895
|
-
if (typeof optionsOrCb !== "object")
|
|
896
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
897
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
898
|
-
}
|
|
899
|
-
else {
|
|
900
|
-
return this.send(command, optionsOrCb);
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
getTransitGatewayRegistrations(args, optionsOrCb, cb) {
|
|
904
|
-
const command = new GetTransitGatewayRegistrationsCommand_1.GetTransitGatewayRegistrationsCommand(args);
|
|
905
|
-
if (typeof optionsOrCb === "function") {
|
|
906
|
-
this.send(command, optionsOrCb);
|
|
907
|
-
}
|
|
908
|
-
else if (typeof cb === "function") {
|
|
909
|
-
if (typeof optionsOrCb !== "object")
|
|
910
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
911
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
912
|
-
}
|
|
913
|
-
else {
|
|
914
|
-
return this.send(command, optionsOrCb);
|
|
915
|
-
}
|
|
916
|
-
}
|
|
917
|
-
getTransitGatewayRouteTableAttachment(args, optionsOrCb, cb) {
|
|
918
|
-
const command = new GetTransitGatewayRouteTableAttachmentCommand_1.GetTransitGatewayRouteTableAttachmentCommand(args);
|
|
919
|
-
if (typeof optionsOrCb === "function") {
|
|
920
|
-
this.send(command, optionsOrCb);
|
|
921
|
-
}
|
|
922
|
-
else if (typeof cb === "function") {
|
|
923
|
-
if (typeof optionsOrCb !== "object")
|
|
924
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
925
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
926
|
-
}
|
|
927
|
-
else {
|
|
928
|
-
return this.send(command, optionsOrCb);
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
getVpcAttachment(args, optionsOrCb, cb) {
|
|
932
|
-
const command = new GetVpcAttachmentCommand_1.GetVpcAttachmentCommand(args);
|
|
933
|
-
if (typeof optionsOrCb === "function") {
|
|
934
|
-
this.send(command, optionsOrCb);
|
|
935
|
-
}
|
|
936
|
-
else if (typeof cb === "function") {
|
|
937
|
-
if (typeof optionsOrCb !== "object")
|
|
938
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
939
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
940
|
-
}
|
|
941
|
-
else {
|
|
942
|
-
return this.send(command, optionsOrCb);
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
listAttachments(args, optionsOrCb, cb) {
|
|
946
|
-
const command = new ListAttachmentsCommand_1.ListAttachmentsCommand(args);
|
|
947
|
-
if (typeof optionsOrCb === "function") {
|
|
948
|
-
this.send(command, optionsOrCb);
|
|
949
|
-
}
|
|
950
|
-
else if (typeof cb === "function") {
|
|
951
|
-
if (typeof optionsOrCb !== "object")
|
|
952
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
953
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
954
|
-
}
|
|
955
|
-
else {
|
|
956
|
-
return this.send(command, optionsOrCb);
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
listConnectPeers(args, optionsOrCb, cb) {
|
|
960
|
-
const command = new ListConnectPeersCommand_1.ListConnectPeersCommand(args);
|
|
961
|
-
if (typeof optionsOrCb === "function") {
|
|
962
|
-
this.send(command, optionsOrCb);
|
|
963
|
-
}
|
|
964
|
-
else if (typeof cb === "function") {
|
|
965
|
-
if (typeof optionsOrCb !== "object")
|
|
966
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
967
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
968
|
-
}
|
|
969
|
-
else {
|
|
970
|
-
return this.send(command, optionsOrCb);
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
|
-
listCoreNetworkPolicyVersions(args, optionsOrCb, cb) {
|
|
974
|
-
const command = new ListCoreNetworkPolicyVersionsCommand_1.ListCoreNetworkPolicyVersionsCommand(args);
|
|
975
|
-
if (typeof optionsOrCb === "function") {
|
|
976
|
-
this.send(command, optionsOrCb);
|
|
977
|
-
}
|
|
978
|
-
else if (typeof cb === "function") {
|
|
979
|
-
if (typeof optionsOrCb !== "object")
|
|
980
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
981
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
982
|
-
}
|
|
983
|
-
else {
|
|
984
|
-
return this.send(command, optionsOrCb);
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
listCoreNetworks(args, optionsOrCb, cb) {
|
|
988
|
-
const command = new ListCoreNetworksCommand_1.ListCoreNetworksCommand(args);
|
|
989
|
-
if (typeof optionsOrCb === "function") {
|
|
990
|
-
this.send(command, optionsOrCb);
|
|
991
|
-
}
|
|
992
|
-
else if (typeof cb === "function") {
|
|
993
|
-
if (typeof optionsOrCb !== "object")
|
|
994
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
995
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
996
|
-
}
|
|
997
|
-
else {
|
|
998
|
-
return this.send(command, optionsOrCb);
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
listOrganizationServiceAccessStatus(args, optionsOrCb, cb) {
|
|
1002
|
-
const command = new ListOrganizationServiceAccessStatusCommand_1.ListOrganizationServiceAccessStatusCommand(args);
|
|
1003
|
-
if (typeof optionsOrCb === "function") {
|
|
1004
|
-
this.send(command, optionsOrCb);
|
|
1005
|
-
}
|
|
1006
|
-
else if (typeof cb === "function") {
|
|
1007
|
-
if (typeof optionsOrCb !== "object")
|
|
1008
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1009
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1010
|
-
}
|
|
1011
|
-
else {
|
|
1012
|
-
return this.send(command, optionsOrCb);
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
1015
|
-
listPeerings(args, optionsOrCb, cb) {
|
|
1016
|
-
const command = new ListPeeringsCommand_1.ListPeeringsCommand(args);
|
|
1017
|
-
if (typeof optionsOrCb === "function") {
|
|
1018
|
-
this.send(command, optionsOrCb);
|
|
1019
|
-
}
|
|
1020
|
-
else if (typeof cb === "function") {
|
|
1021
|
-
if (typeof optionsOrCb !== "object")
|
|
1022
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1023
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1024
|
-
}
|
|
1025
|
-
else {
|
|
1026
|
-
return this.send(command, optionsOrCb);
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
1030
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
1031
|
-
if (typeof optionsOrCb === "function") {
|
|
1032
|
-
this.send(command, optionsOrCb);
|
|
1033
|
-
}
|
|
1034
|
-
else if (typeof cb === "function") {
|
|
1035
|
-
if (typeof optionsOrCb !== "object")
|
|
1036
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1037
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1038
|
-
}
|
|
1039
|
-
else {
|
|
1040
|
-
return this.send(command, optionsOrCb);
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
putCoreNetworkPolicy(args, optionsOrCb, cb) {
|
|
1044
|
-
const command = new PutCoreNetworkPolicyCommand_1.PutCoreNetworkPolicyCommand(args);
|
|
1045
|
-
if (typeof optionsOrCb === "function") {
|
|
1046
|
-
this.send(command, optionsOrCb);
|
|
1047
|
-
}
|
|
1048
|
-
else if (typeof cb === "function") {
|
|
1049
|
-
if (typeof optionsOrCb !== "object")
|
|
1050
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1051
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1052
|
-
}
|
|
1053
|
-
else {
|
|
1054
|
-
return this.send(command, optionsOrCb);
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
putResourcePolicy(args, optionsOrCb, cb) {
|
|
1058
|
-
const command = new PutResourcePolicyCommand_1.PutResourcePolicyCommand(args);
|
|
1059
|
-
if (typeof optionsOrCb === "function") {
|
|
1060
|
-
this.send(command, optionsOrCb);
|
|
1061
|
-
}
|
|
1062
|
-
else if (typeof cb === "function") {
|
|
1063
|
-
if (typeof optionsOrCb !== "object")
|
|
1064
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1065
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1066
|
-
}
|
|
1067
|
-
else {
|
|
1068
|
-
return this.send(command, optionsOrCb);
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
registerTransitGateway(args, optionsOrCb, cb) {
|
|
1072
|
-
const command = new RegisterTransitGatewayCommand_1.RegisterTransitGatewayCommand(args);
|
|
1073
|
-
if (typeof optionsOrCb === "function") {
|
|
1074
|
-
this.send(command, optionsOrCb);
|
|
1075
|
-
}
|
|
1076
|
-
else if (typeof cb === "function") {
|
|
1077
|
-
if (typeof optionsOrCb !== "object")
|
|
1078
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1079
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1080
|
-
}
|
|
1081
|
-
else {
|
|
1082
|
-
return this.send(command, optionsOrCb);
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
rejectAttachment(args, optionsOrCb, cb) {
|
|
1086
|
-
const command = new RejectAttachmentCommand_1.RejectAttachmentCommand(args);
|
|
1087
|
-
if (typeof optionsOrCb === "function") {
|
|
1088
|
-
this.send(command, optionsOrCb);
|
|
1089
|
-
}
|
|
1090
|
-
else if (typeof cb === "function") {
|
|
1091
|
-
if (typeof optionsOrCb !== "object")
|
|
1092
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1093
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1094
|
-
}
|
|
1095
|
-
else {
|
|
1096
|
-
return this.send(command, optionsOrCb);
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
restoreCoreNetworkPolicyVersion(args, optionsOrCb, cb) {
|
|
1100
|
-
const command = new RestoreCoreNetworkPolicyVersionCommand_1.RestoreCoreNetworkPolicyVersionCommand(args);
|
|
1101
|
-
if (typeof optionsOrCb === "function") {
|
|
1102
|
-
this.send(command, optionsOrCb);
|
|
1103
|
-
}
|
|
1104
|
-
else if (typeof cb === "function") {
|
|
1105
|
-
if (typeof optionsOrCb !== "object")
|
|
1106
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1107
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1108
|
-
}
|
|
1109
|
-
else {
|
|
1110
|
-
return this.send(command, optionsOrCb);
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
startOrganizationServiceAccessUpdate(args, optionsOrCb, cb) {
|
|
1114
|
-
const command = new StartOrganizationServiceAccessUpdateCommand_1.StartOrganizationServiceAccessUpdateCommand(args);
|
|
1115
|
-
if (typeof optionsOrCb === "function") {
|
|
1116
|
-
this.send(command, optionsOrCb);
|
|
1117
|
-
}
|
|
1118
|
-
else if (typeof cb === "function") {
|
|
1119
|
-
if (typeof optionsOrCb !== "object")
|
|
1120
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1121
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1122
|
-
}
|
|
1123
|
-
else {
|
|
1124
|
-
return this.send(command, optionsOrCb);
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
startRouteAnalysis(args, optionsOrCb, cb) {
|
|
1128
|
-
const command = new StartRouteAnalysisCommand_1.StartRouteAnalysisCommand(args);
|
|
1129
|
-
if (typeof optionsOrCb === "function") {
|
|
1130
|
-
this.send(command, optionsOrCb);
|
|
1131
|
-
}
|
|
1132
|
-
else if (typeof cb === "function") {
|
|
1133
|
-
if (typeof optionsOrCb !== "object")
|
|
1134
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1135
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1136
|
-
}
|
|
1137
|
-
else {
|
|
1138
|
-
return this.send(command, optionsOrCb);
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
tagResource(args, optionsOrCb, cb) {
|
|
1142
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
1143
|
-
if (typeof optionsOrCb === "function") {
|
|
1144
|
-
this.send(command, optionsOrCb);
|
|
1145
|
-
}
|
|
1146
|
-
else if (typeof cb === "function") {
|
|
1147
|
-
if (typeof optionsOrCb !== "object")
|
|
1148
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1149
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1150
|
-
}
|
|
1151
|
-
else {
|
|
1152
|
-
return this.send(command, optionsOrCb);
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
untagResource(args, optionsOrCb, cb) {
|
|
1156
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
1157
|
-
if (typeof optionsOrCb === "function") {
|
|
1158
|
-
this.send(command, optionsOrCb);
|
|
1159
|
-
}
|
|
1160
|
-
else if (typeof cb === "function") {
|
|
1161
|
-
if (typeof optionsOrCb !== "object")
|
|
1162
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1163
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1164
|
-
}
|
|
1165
|
-
else {
|
|
1166
|
-
return this.send(command, optionsOrCb);
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
|
-
updateConnection(args, optionsOrCb, cb) {
|
|
1170
|
-
const command = new UpdateConnectionCommand_1.UpdateConnectionCommand(args);
|
|
1171
|
-
if (typeof optionsOrCb === "function") {
|
|
1172
|
-
this.send(command, optionsOrCb);
|
|
1173
|
-
}
|
|
1174
|
-
else if (typeof cb === "function") {
|
|
1175
|
-
if (typeof optionsOrCb !== "object")
|
|
1176
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1177
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1178
|
-
}
|
|
1179
|
-
else {
|
|
1180
|
-
return this.send(command, optionsOrCb);
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
updateCoreNetwork(args, optionsOrCb, cb) {
|
|
1184
|
-
const command = new UpdateCoreNetworkCommand_1.UpdateCoreNetworkCommand(args);
|
|
1185
|
-
if (typeof optionsOrCb === "function") {
|
|
1186
|
-
this.send(command, optionsOrCb);
|
|
1187
|
-
}
|
|
1188
|
-
else if (typeof cb === "function") {
|
|
1189
|
-
if (typeof optionsOrCb !== "object")
|
|
1190
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1191
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1192
|
-
}
|
|
1193
|
-
else {
|
|
1194
|
-
return this.send(command, optionsOrCb);
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
updateDevice(args, optionsOrCb, cb) {
|
|
1198
|
-
const command = new UpdateDeviceCommand_1.UpdateDeviceCommand(args);
|
|
1199
|
-
if (typeof optionsOrCb === "function") {
|
|
1200
|
-
this.send(command, optionsOrCb);
|
|
1201
|
-
}
|
|
1202
|
-
else if (typeof cb === "function") {
|
|
1203
|
-
if (typeof optionsOrCb !== "object")
|
|
1204
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1205
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1206
|
-
}
|
|
1207
|
-
else {
|
|
1208
|
-
return this.send(command, optionsOrCb);
|
|
1209
|
-
}
|
|
1210
|
-
}
|
|
1211
|
-
updateGlobalNetwork(args, optionsOrCb, cb) {
|
|
1212
|
-
const command = new UpdateGlobalNetworkCommand_1.UpdateGlobalNetworkCommand(args);
|
|
1213
|
-
if (typeof optionsOrCb === "function") {
|
|
1214
|
-
this.send(command, optionsOrCb);
|
|
1215
|
-
}
|
|
1216
|
-
else if (typeof cb === "function") {
|
|
1217
|
-
if (typeof optionsOrCb !== "object")
|
|
1218
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1219
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1220
|
-
}
|
|
1221
|
-
else {
|
|
1222
|
-
return this.send(command, optionsOrCb);
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
updateLink(args, optionsOrCb, cb) {
|
|
1226
|
-
const command = new UpdateLinkCommand_1.UpdateLinkCommand(args);
|
|
1227
|
-
if (typeof optionsOrCb === "function") {
|
|
1228
|
-
this.send(command, optionsOrCb);
|
|
1229
|
-
}
|
|
1230
|
-
else if (typeof cb === "function") {
|
|
1231
|
-
if (typeof optionsOrCb !== "object")
|
|
1232
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1233
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1234
|
-
}
|
|
1235
|
-
else {
|
|
1236
|
-
return this.send(command, optionsOrCb);
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
updateNetworkResourceMetadata(args, optionsOrCb, cb) {
|
|
1240
|
-
const command = new UpdateNetworkResourceMetadataCommand_1.UpdateNetworkResourceMetadataCommand(args);
|
|
1241
|
-
if (typeof optionsOrCb === "function") {
|
|
1242
|
-
this.send(command, optionsOrCb);
|
|
1243
|
-
}
|
|
1244
|
-
else if (typeof cb === "function") {
|
|
1245
|
-
if (typeof optionsOrCb !== "object")
|
|
1246
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1247
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1248
|
-
}
|
|
1249
|
-
else {
|
|
1250
|
-
return this.send(command, optionsOrCb);
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
updateSite(args, optionsOrCb, cb) {
|
|
1254
|
-
const command = new UpdateSiteCommand_1.UpdateSiteCommand(args);
|
|
1255
|
-
if (typeof optionsOrCb === "function") {
|
|
1256
|
-
this.send(command, optionsOrCb);
|
|
1257
|
-
}
|
|
1258
|
-
else if (typeof cb === "function") {
|
|
1259
|
-
if (typeof optionsOrCb !== "object")
|
|
1260
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1261
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1262
|
-
}
|
|
1263
|
-
else {
|
|
1264
|
-
return this.send(command, optionsOrCb);
|
|
1265
|
-
}
|
|
1266
|
-
}
|
|
1267
|
-
updateVpcAttachment(args, optionsOrCb, cb) {
|
|
1268
|
-
const command = new UpdateVpcAttachmentCommand_1.UpdateVpcAttachmentCommand(args);
|
|
1269
|
-
if (typeof optionsOrCb === "function") {
|
|
1270
|
-
this.send(command, optionsOrCb);
|
|
1271
|
-
}
|
|
1272
|
-
else if (typeof cb === "function") {
|
|
1273
|
-
if (typeof optionsOrCb !== "object")
|
|
1274
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1275
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1276
|
-
}
|
|
1277
|
-
else {
|
|
1278
|
-
return this.send(command, optionsOrCb);
|
|
1279
|
-
}
|
|
1280
|
-
}
|
|
1281
179
|
}
|
|
1282
180
|
exports.NetworkManager = NetworkManager;
|
|
181
|
+
(0, smithy_client_1.createAggregatedClient)(commands, NetworkManager);
|