@aws-sdk/client-direct-connect 3.489.0 → 3.495.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/DirectConnect.js +1 -137
- package/dist-cjs/DirectConnectClient.js +1 -43
- package/dist-cjs/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +1 -28
- package/dist-cjs/commands/AllocateConnectionOnInterconnectCommand.js +1 -28
- package/dist-cjs/commands/AllocateHostedConnectionCommand.js +1 -28
- package/dist-cjs/commands/AllocatePrivateVirtualInterfaceCommand.js +1 -28
- package/dist-cjs/commands/AllocatePublicVirtualInterfaceCommand.js +1 -28
- package/dist-cjs/commands/AllocateTransitVirtualInterfaceCommand.js +1 -28
- package/dist-cjs/commands/AssociateConnectionWithLagCommand.js +1 -28
- package/dist-cjs/commands/AssociateHostedConnectionCommand.js +1 -28
- package/dist-cjs/commands/AssociateMacSecKeyCommand.js +1 -28
- package/dist-cjs/commands/AssociateVirtualInterfaceCommand.js +1 -28
- package/dist-cjs/commands/ConfirmConnectionCommand.js +1 -28
- package/dist-cjs/commands/ConfirmCustomerAgreementCommand.js +1 -28
- package/dist-cjs/commands/ConfirmPrivateVirtualInterfaceCommand.js +1 -28
- package/dist-cjs/commands/ConfirmPublicVirtualInterfaceCommand.js +1 -28
- package/dist-cjs/commands/ConfirmTransitVirtualInterfaceCommand.js +1 -28
- package/dist-cjs/commands/CreateBGPPeerCommand.js +1 -28
- package/dist-cjs/commands/CreateConnectionCommand.js +1 -28
- package/dist-cjs/commands/CreateDirectConnectGatewayAssociationCommand.js +1 -28
- package/dist-cjs/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +1 -28
- package/dist-cjs/commands/CreateDirectConnectGatewayCommand.js +1 -28
- package/dist-cjs/commands/CreateInterconnectCommand.js +1 -28
- package/dist-cjs/commands/CreateLagCommand.js +1 -28
- package/dist-cjs/commands/CreatePrivateVirtualInterfaceCommand.js +1 -28
- package/dist-cjs/commands/CreatePublicVirtualInterfaceCommand.js +1 -28
- package/dist-cjs/commands/CreateTransitVirtualInterfaceCommand.js +1 -28
- package/dist-cjs/commands/DeleteBGPPeerCommand.js +1 -28
- package/dist-cjs/commands/DeleteConnectionCommand.js +1 -28
- package/dist-cjs/commands/DeleteDirectConnectGatewayAssociationCommand.js +1 -28
- package/dist-cjs/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +1 -28
- package/dist-cjs/commands/DeleteDirectConnectGatewayCommand.js +1 -28
- package/dist-cjs/commands/DeleteInterconnectCommand.js +1 -28
- package/dist-cjs/commands/DeleteLagCommand.js +1 -28
- package/dist-cjs/commands/DeleteVirtualInterfaceCommand.js +1 -28
- package/dist-cjs/commands/DescribeConnectionLoaCommand.js +1 -28
- package/dist-cjs/commands/DescribeConnectionsCommand.js +1 -28
- package/dist-cjs/commands/DescribeConnectionsOnInterconnectCommand.js +1 -28
- package/dist-cjs/commands/DescribeCustomerMetadataCommand.js +1 -28
- package/dist-cjs/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +1 -28
- package/dist-cjs/commands/DescribeDirectConnectGatewayAssociationsCommand.js +1 -28
- package/dist-cjs/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +1 -28
- package/dist-cjs/commands/DescribeDirectConnectGatewaysCommand.js +1 -28
- package/dist-cjs/commands/DescribeHostedConnectionsCommand.js +1 -28
- package/dist-cjs/commands/DescribeInterconnectLoaCommand.js +1 -28
- package/dist-cjs/commands/DescribeInterconnectsCommand.js +1 -28
- package/dist-cjs/commands/DescribeLagsCommand.js +1 -28
- package/dist-cjs/commands/DescribeLoaCommand.js +1 -28
- package/dist-cjs/commands/DescribeLocationsCommand.js +1 -28
- package/dist-cjs/commands/DescribeRouterConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DescribeTagsCommand.js +1 -28
- package/dist-cjs/commands/DescribeVirtualGatewaysCommand.js +1 -28
- package/dist-cjs/commands/DescribeVirtualInterfacesCommand.js +1 -28
- package/dist-cjs/commands/DisassociateConnectionFromLagCommand.js +1 -28
- package/dist-cjs/commands/DisassociateMacSecKeyCommand.js +1 -28
- package/dist-cjs/commands/ListVirtualInterfaceTestHistoryCommand.js +1 -28
- package/dist-cjs/commands/StartBgpFailoverTestCommand.js +1 -28
- package/dist-cjs/commands/StopBgpFailoverTestCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateConnectionCommand.js +1 -28
- package/dist-cjs/commands/UpdateDirectConnectGatewayAssociationCommand.js +1 -28
- package/dist-cjs/commands/UpdateDirectConnectGatewayCommand.js +1 -28
- package/dist-cjs/commands/UpdateLagCommand.js +1 -28
- package/dist-cjs/commands/UpdateVirtualInterfaceAttributesCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -66
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +4536 -10
- package/dist-cjs/models/DirectConnectServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -157
- package/dist-cjs/protocols/Aws_json1_1.js +1 -3050
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,4537 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AcceptDirectConnectGatewayAssociationProposalCommand: () => AcceptDirectConnectGatewayAssociationProposalCommand,
|
|
25
|
+
AddressFamily: () => AddressFamily,
|
|
26
|
+
AllocateConnectionOnInterconnectCommand: () => AllocateConnectionOnInterconnectCommand,
|
|
27
|
+
AllocateHostedConnectionCommand: () => AllocateHostedConnectionCommand,
|
|
28
|
+
AllocatePrivateVirtualInterfaceCommand: () => AllocatePrivateVirtualInterfaceCommand,
|
|
29
|
+
AllocatePublicVirtualInterfaceCommand: () => AllocatePublicVirtualInterfaceCommand,
|
|
30
|
+
AllocateTransitVirtualInterfaceCommand: () => AllocateTransitVirtualInterfaceCommand,
|
|
31
|
+
AssociateConnectionWithLagCommand: () => AssociateConnectionWithLagCommand,
|
|
32
|
+
AssociateHostedConnectionCommand: () => AssociateHostedConnectionCommand,
|
|
33
|
+
AssociateMacSecKeyCommand: () => AssociateMacSecKeyCommand,
|
|
34
|
+
AssociateVirtualInterfaceCommand: () => AssociateVirtualInterfaceCommand,
|
|
35
|
+
BGPPeerState: () => BGPPeerState,
|
|
36
|
+
BGPStatus: () => BGPStatus,
|
|
37
|
+
ConfirmConnectionCommand: () => ConfirmConnectionCommand,
|
|
38
|
+
ConfirmCustomerAgreementCommand: () => ConfirmCustomerAgreementCommand,
|
|
39
|
+
ConfirmPrivateVirtualInterfaceCommand: () => ConfirmPrivateVirtualInterfaceCommand,
|
|
40
|
+
ConfirmPublicVirtualInterfaceCommand: () => ConfirmPublicVirtualInterfaceCommand,
|
|
41
|
+
ConfirmTransitVirtualInterfaceCommand: () => ConfirmTransitVirtualInterfaceCommand,
|
|
42
|
+
ConnectionState: () => ConnectionState,
|
|
43
|
+
CreateBGPPeerCommand: () => CreateBGPPeerCommand,
|
|
44
|
+
CreateConnectionCommand: () => CreateConnectionCommand,
|
|
45
|
+
CreateDirectConnectGatewayAssociationCommand: () => CreateDirectConnectGatewayAssociationCommand,
|
|
46
|
+
CreateDirectConnectGatewayAssociationProposalCommand: () => CreateDirectConnectGatewayAssociationProposalCommand,
|
|
47
|
+
CreateDirectConnectGatewayCommand: () => CreateDirectConnectGatewayCommand,
|
|
48
|
+
CreateInterconnectCommand: () => CreateInterconnectCommand,
|
|
49
|
+
CreateLagCommand: () => CreateLagCommand,
|
|
50
|
+
CreatePrivateVirtualInterfaceCommand: () => CreatePrivateVirtualInterfaceCommand,
|
|
51
|
+
CreatePublicVirtualInterfaceCommand: () => CreatePublicVirtualInterfaceCommand,
|
|
52
|
+
CreateTransitVirtualInterfaceCommand: () => CreateTransitVirtualInterfaceCommand,
|
|
53
|
+
DeleteBGPPeerCommand: () => DeleteBGPPeerCommand,
|
|
54
|
+
DeleteConnectionCommand: () => DeleteConnectionCommand,
|
|
55
|
+
DeleteDirectConnectGatewayAssociationCommand: () => DeleteDirectConnectGatewayAssociationCommand,
|
|
56
|
+
DeleteDirectConnectGatewayAssociationProposalCommand: () => DeleteDirectConnectGatewayAssociationProposalCommand,
|
|
57
|
+
DeleteDirectConnectGatewayCommand: () => DeleteDirectConnectGatewayCommand,
|
|
58
|
+
DeleteInterconnectCommand: () => DeleteInterconnectCommand,
|
|
59
|
+
DeleteLagCommand: () => DeleteLagCommand,
|
|
60
|
+
DeleteVirtualInterfaceCommand: () => DeleteVirtualInterfaceCommand,
|
|
61
|
+
DescribeConnectionLoaCommand: () => DescribeConnectionLoaCommand,
|
|
62
|
+
DescribeConnectionsCommand: () => DescribeConnectionsCommand,
|
|
63
|
+
DescribeConnectionsOnInterconnectCommand: () => DescribeConnectionsOnInterconnectCommand,
|
|
64
|
+
DescribeCustomerMetadataCommand: () => DescribeCustomerMetadataCommand,
|
|
65
|
+
DescribeDirectConnectGatewayAssociationProposalsCommand: () => DescribeDirectConnectGatewayAssociationProposalsCommand,
|
|
66
|
+
DescribeDirectConnectGatewayAssociationsCommand: () => DescribeDirectConnectGatewayAssociationsCommand,
|
|
67
|
+
DescribeDirectConnectGatewayAttachmentsCommand: () => DescribeDirectConnectGatewayAttachmentsCommand,
|
|
68
|
+
DescribeDirectConnectGatewaysCommand: () => DescribeDirectConnectGatewaysCommand,
|
|
69
|
+
DescribeHostedConnectionsCommand: () => DescribeHostedConnectionsCommand,
|
|
70
|
+
DescribeInterconnectLoaCommand: () => DescribeInterconnectLoaCommand,
|
|
71
|
+
DescribeInterconnectsCommand: () => DescribeInterconnectsCommand,
|
|
72
|
+
DescribeLagsCommand: () => DescribeLagsCommand,
|
|
73
|
+
DescribeLoaCommand: () => DescribeLoaCommand,
|
|
74
|
+
DescribeLocationsCommand: () => DescribeLocationsCommand,
|
|
75
|
+
DescribeRouterConfigurationCommand: () => DescribeRouterConfigurationCommand,
|
|
76
|
+
DescribeTagsCommand: () => DescribeTagsCommand,
|
|
77
|
+
DescribeVirtualGatewaysCommand: () => DescribeVirtualGatewaysCommand,
|
|
78
|
+
DescribeVirtualInterfacesCommand: () => DescribeVirtualInterfacesCommand,
|
|
79
|
+
DirectConnect: () => DirectConnect,
|
|
80
|
+
DirectConnectClient: () => DirectConnectClient,
|
|
81
|
+
DirectConnectClientException: () => DirectConnectClientException,
|
|
82
|
+
DirectConnectGatewayAssociationProposalState: () => DirectConnectGatewayAssociationProposalState,
|
|
83
|
+
DirectConnectGatewayAssociationState: () => DirectConnectGatewayAssociationState,
|
|
84
|
+
DirectConnectGatewayAttachmentState: () => DirectConnectGatewayAttachmentState,
|
|
85
|
+
DirectConnectGatewayAttachmentType: () => DirectConnectGatewayAttachmentType,
|
|
86
|
+
DirectConnectGatewayState: () => DirectConnectGatewayState,
|
|
87
|
+
DirectConnectServerException: () => DirectConnectServerException,
|
|
88
|
+
DirectConnectServiceException: () => DirectConnectServiceException,
|
|
89
|
+
DisassociateConnectionFromLagCommand: () => DisassociateConnectionFromLagCommand,
|
|
90
|
+
DisassociateMacSecKeyCommand: () => DisassociateMacSecKeyCommand,
|
|
91
|
+
DuplicateTagKeysException: () => DuplicateTagKeysException,
|
|
92
|
+
GatewayType: () => GatewayType,
|
|
93
|
+
HasLogicalRedundancy: () => HasLogicalRedundancy,
|
|
94
|
+
InterconnectState: () => InterconnectState,
|
|
95
|
+
LagState: () => LagState,
|
|
96
|
+
ListVirtualInterfaceTestHistoryCommand: () => ListVirtualInterfaceTestHistoryCommand,
|
|
97
|
+
LoaContentType: () => LoaContentType,
|
|
98
|
+
NniPartnerType: () => NniPartnerType,
|
|
99
|
+
StartBgpFailoverTestCommand: () => StartBgpFailoverTestCommand,
|
|
100
|
+
StopBgpFailoverTestCommand: () => StopBgpFailoverTestCommand,
|
|
101
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
102
|
+
TooManyTagsException: () => TooManyTagsException,
|
|
103
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
104
|
+
UpdateConnectionCommand: () => UpdateConnectionCommand,
|
|
105
|
+
UpdateDirectConnectGatewayAssociationCommand: () => UpdateDirectConnectGatewayAssociationCommand,
|
|
106
|
+
UpdateDirectConnectGatewayCommand: () => UpdateDirectConnectGatewayCommand,
|
|
107
|
+
UpdateLagCommand: () => UpdateLagCommand,
|
|
108
|
+
UpdateVirtualInterfaceAttributesCommand: () => UpdateVirtualInterfaceAttributesCommand,
|
|
109
|
+
VirtualInterfaceState: () => VirtualInterfaceState,
|
|
110
|
+
__Client: () => import_smithy_client.Client
|
|
111
|
+
});
|
|
112
|
+
module.exports = __toCommonJS(src_exports);
|
|
113
|
+
|
|
114
|
+
// src/DirectConnectClient.ts
|
|
115
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
116
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
117
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
118
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
119
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
120
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
121
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
122
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
123
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
// src/endpoint/EndpointParameters.ts
|
|
127
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
128
|
+
return {
|
|
129
|
+
...options,
|
|
130
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
131
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
132
|
+
defaultSigningName: "directconnect"
|
|
133
|
+
};
|
|
134
|
+
}, "resolveClientEndpointParameters");
|
|
135
|
+
var commonParams = {
|
|
136
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
137
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
138
|
+
Region: { type: "builtInParams", name: "region" },
|
|
139
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
// src/DirectConnectClient.ts
|
|
143
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
144
|
+
|
|
145
|
+
// src/runtimeExtensions.ts
|
|
146
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
147
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
148
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
149
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
150
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
151
|
+
const extensionConfiguration = {
|
|
152
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
153
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
154
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
155
|
+
};
|
|
156
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
157
|
+
return {
|
|
158
|
+
...runtimeConfig,
|
|
159
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
160
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
161
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
162
|
+
};
|
|
163
|
+
}, "resolveRuntimeExtensions");
|
|
164
|
+
|
|
165
|
+
// src/DirectConnectClient.ts
|
|
166
|
+
var _DirectConnectClient = class _DirectConnectClient extends import_smithy_client.Client {
|
|
167
|
+
constructor(...[configuration]) {
|
|
168
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
169
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
170
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
171
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
172
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
173
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
174
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
175
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
176
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
177
|
+
super(_config_8);
|
|
178
|
+
this.config = _config_8;
|
|
179
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
180
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
181
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
182
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
183
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
184
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
185
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
189
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
190
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
191
|
+
*/
|
|
192
|
+
destroy() {
|
|
193
|
+
super.destroy();
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
__name(_DirectConnectClient, "DirectConnectClient");
|
|
197
|
+
var DirectConnectClient = _DirectConnectClient;
|
|
198
|
+
|
|
199
|
+
// src/DirectConnect.ts
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
// src/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts
|
|
203
|
+
|
|
204
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
205
|
+
|
|
206
|
+
var import_types = require("@smithy/types");
|
|
207
|
+
|
|
208
|
+
// src/protocols/Aws_json1_1.ts
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
// src/models/DirectConnectServiceException.ts
|
|
213
|
+
|
|
214
|
+
var _DirectConnectServiceException = class _DirectConnectServiceException extends import_smithy_client.ServiceException {
|
|
215
|
+
/**
|
|
216
|
+
* @internal
|
|
217
|
+
*/
|
|
218
|
+
constructor(options) {
|
|
219
|
+
super(options);
|
|
220
|
+
Object.setPrototypeOf(this, _DirectConnectServiceException.prototype);
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
__name(_DirectConnectServiceException, "DirectConnectServiceException");
|
|
224
|
+
var DirectConnectServiceException = _DirectConnectServiceException;
|
|
225
|
+
|
|
226
|
+
// src/models/models_0.ts
|
|
227
|
+
var GatewayType = {
|
|
228
|
+
TransitGateway: "transitGateway",
|
|
229
|
+
VirtualPrivateGateway: "virtualPrivateGateway"
|
|
230
|
+
};
|
|
231
|
+
var DirectConnectGatewayAssociationState = {
|
|
232
|
+
associated: "associated",
|
|
233
|
+
associating: "associating",
|
|
234
|
+
disassociated: "disassociated",
|
|
235
|
+
disassociating: "disassociating",
|
|
236
|
+
updating: "updating"
|
|
237
|
+
};
|
|
238
|
+
var _DirectConnectClientException = class _DirectConnectClientException extends DirectConnectServiceException {
|
|
239
|
+
/**
|
|
240
|
+
* @internal
|
|
241
|
+
*/
|
|
242
|
+
constructor(opts) {
|
|
243
|
+
super({
|
|
244
|
+
name: "DirectConnectClientException",
|
|
245
|
+
$fault: "client",
|
|
246
|
+
...opts
|
|
247
|
+
});
|
|
248
|
+
this.name = "DirectConnectClientException";
|
|
249
|
+
this.$fault = "client";
|
|
250
|
+
Object.setPrototypeOf(this, _DirectConnectClientException.prototype);
|
|
251
|
+
}
|
|
252
|
+
};
|
|
253
|
+
__name(_DirectConnectClientException, "DirectConnectClientException");
|
|
254
|
+
var DirectConnectClientException = _DirectConnectClientException;
|
|
255
|
+
var _DirectConnectServerException = class _DirectConnectServerException extends DirectConnectServiceException {
|
|
256
|
+
/**
|
|
257
|
+
* @internal
|
|
258
|
+
*/
|
|
259
|
+
constructor(opts) {
|
|
260
|
+
super({
|
|
261
|
+
name: "DirectConnectServerException",
|
|
262
|
+
$fault: "server",
|
|
263
|
+
...opts
|
|
264
|
+
});
|
|
265
|
+
this.name = "DirectConnectServerException";
|
|
266
|
+
this.$fault = "server";
|
|
267
|
+
Object.setPrototypeOf(this, _DirectConnectServerException.prototype);
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
__name(_DirectConnectServerException, "DirectConnectServerException");
|
|
271
|
+
var DirectConnectServerException = _DirectConnectServerException;
|
|
272
|
+
var AddressFamily = {
|
|
273
|
+
IPv4: "ipv4",
|
|
274
|
+
IPv6: "ipv6"
|
|
275
|
+
};
|
|
276
|
+
var ConnectionState = {
|
|
277
|
+
available: "available",
|
|
278
|
+
deleted: "deleted",
|
|
279
|
+
deleting: "deleting",
|
|
280
|
+
down: "down",
|
|
281
|
+
ordering: "ordering",
|
|
282
|
+
pending: "pending",
|
|
283
|
+
rejected: "rejected",
|
|
284
|
+
requested: "requested",
|
|
285
|
+
unknown: "unknown"
|
|
286
|
+
};
|
|
287
|
+
var HasLogicalRedundancy = {
|
|
288
|
+
No: "no",
|
|
289
|
+
Unknown: "unknown",
|
|
290
|
+
Yes: "yes"
|
|
291
|
+
};
|
|
292
|
+
var _DuplicateTagKeysException = class _DuplicateTagKeysException extends DirectConnectServiceException {
|
|
293
|
+
/**
|
|
294
|
+
* @internal
|
|
295
|
+
*/
|
|
296
|
+
constructor(opts) {
|
|
297
|
+
super({
|
|
298
|
+
name: "DuplicateTagKeysException",
|
|
299
|
+
$fault: "client",
|
|
300
|
+
...opts
|
|
301
|
+
});
|
|
302
|
+
this.name = "DuplicateTagKeysException";
|
|
303
|
+
this.$fault = "client";
|
|
304
|
+
Object.setPrototypeOf(this, _DuplicateTagKeysException.prototype);
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
__name(_DuplicateTagKeysException, "DuplicateTagKeysException");
|
|
308
|
+
var DuplicateTagKeysException = _DuplicateTagKeysException;
|
|
309
|
+
var _TooManyTagsException = class _TooManyTagsException extends DirectConnectServiceException {
|
|
310
|
+
/**
|
|
311
|
+
* @internal
|
|
312
|
+
*/
|
|
313
|
+
constructor(opts) {
|
|
314
|
+
super({
|
|
315
|
+
name: "TooManyTagsException",
|
|
316
|
+
$fault: "client",
|
|
317
|
+
...opts
|
|
318
|
+
});
|
|
319
|
+
this.name = "TooManyTagsException";
|
|
320
|
+
this.$fault = "client";
|
|
321
|
+
Object.setPrototypeOf(this, _TooManyTagsException.prototype);
|
|
322
|
+
}
|
|
323
|
+
};
|
|
324
|
+
__name(_TooManyTagsException, "TooManyTagsException");
|
|
325
|
+
var TooManyTagsException = _TooManyTagsException;
|
|
326
|
+
var BGPPeerState = {
|
|
327
|
+
Available: "available",
|
|
328
|
+
Deleted: "deleted",
|
|
329
|
+
Deleting: "deleting",
|
|
330
|
+
Pending: "pending",
|
|
331
|
+
Verifying: "verifying"
|
|
332
|
+
};
|
|
333
|
+
var BGPStatus = {
|
|
334
|
+
Down: "down",
|
|
335
|
+
Unknown: "unknown",
|
|
336
|
+
Up: "up"
|
|
337
|
+
};
|
|
338
|
+
var VirtualInterfaceState = {
|
|
339
|
+
available: "available",
|
|
340
|
+
confirming: "confirming",
|
|
341
|
+
deleted: "deleted",
|
|
342
|
+
deleting: "deleting",
|
|
343
|
+
down: "down",
|
|
344
|
+
pending: "pending",
|
|
345
|
+
rejected: "rejected",
|
|
346
|
+
unknown: "unknown",
|
|
347
|
+
verifying: "verifying"
|
|
348
|
+
};
|
|
349
|
+
var DirectConnectGatewayState = {
|
|
350
|
+
available: "available",
|
|
351
|
+
deleted: "deleted",
|
|
352
|
+
deleting: "deleting",
|
|
353
|
+
pending: "pending"
|
|
354
|
+
};
|
|
355
|
+
var DirectConnectGatewayAssociationProposalState = {
|
|
356
|
+
accepted: "accepted",
|
|
357
|
+
deleted: "deleted",
|
|
358
|
+
requested: "requested"
|
|
359
|
+
};
|
|
360
|
+
var InterconnectState = {
|
|
361
|
+
available: "available",
|
|
362
|
+
deleted: "deleted",
|
|
363
|
+
deleting: "deleting",
|
|
364
|
+
down: "down",
|
|
365
|
+
pending: "pending",
|
|
366
|
+
requested: "requested",
|
|
367
|
+
unknown: "unknown"
|
|
368
|
+
};
|
|
369
|
+
var LagState = {
|
|
370
|
+
available: "available",
|
|
371
|
+
deleted: "deleted",
|
|
372
|
+
deleting: "deleting",
|
|
373
|
+
down: "down",
|
|
374
|
+
pending: "pending",
|
|
375
|
+
requested: "requested",
|
|
376
|
+
unknown: "unknown"
|
|
377
|
+
};
|
|
378
|
+
var LoaContentType = {
|
|
379
|
+
PDF: "application/pdf"
|
|
380
|
+
};
|
|
381
|
+
var NniPartnerType = {
|
|
382
|
+
NonPartner: "nonPartner",
|
|
383
|
+
V1: "v1",
|
|
384
|
+
V2: "v2"
|
|
385
|
+
};
|
|
386
|
+
var DirectConnectGatewayAttachmentState = {
|
|
387
|
+
attached: "attached",
|
|
388
|
+
attaching: "attaching",
|
|
389
|
+
detached: "detached",
|
|
390
|
+
detaching: "detaching"
|
|
391
|
+
};
|
|
392
|
+
var DirectConnectGatewayAttachmentType = {
|
|
393
|
+
PrivateVirtualInterface: "PrivateVirtualInterface",
|
|
394
|
+
TransitVirtualInterface: "TransitVirtualInterface"
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
// src/protocols/Aws_json1_1.ts
|
|
398
|
+
var se_AcceptDirectConnectGatewayAssociationProposalCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
399
|
+
const headers = sharedHeaders("AcceptDirectConnectGatewayAssociationProposal");
|
|
400
|
+
let body;
|
|
401
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
402
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
403
|
+
}, "se_AcceptDirectConnectGatewayAssociationProposalCommand");
|
|
404
|
+
var se_AllocateConnectionOnInterconnectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
405
|
+
const headers = sharedHeaders("AllocateConnectionOnInterconnect");
|
|
406
|
+
let body;
|
|
407
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
408
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
409
|
+
}, "se_AllocateConnectionOnInterconnectCommand");
|
|
410
|
+
var se_AllocateHostedConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
411
|
+
const headers = sharedHeaders("AllocateHostedConnection");
|
|
412
|
+
let body;
|
|
413
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
414
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
415
|
+
}, "se_AllocateHostedConnectionCommand");
|
|
416
|
+
var se_AllocatePrivateVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
417
|
+
const headers = sharedHeaders("AllocatePrivateVirtualInterface");
|
|
418
|
+
let body;
|
|
419
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
420
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
421
|
+
}, "se_AllocatePrivateVirtualInterfaceCommand");
|
|
422
|
+
var se_AllocatePublicVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
423
|
+
const headers = sharedHeaders("AllocatePublicVirtualInterface");
|
|
424
|
+
let body;
|
|
425
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
426
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
427
|
+
}, "se_AllocatePublicVirtualInterfaceCommand");
|
|
428
|
+
var se_AllocateTransitVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
429
|
+
const headers = sharedHeaders("AllocateTransitVirtualInterface");
|
|
430
|
+
let body;
|
|
431
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
432
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
433
|
+
}, "se_AllocateTransitVirtualInterfaceCommand");
|
|
434
|
+
var se_AssociateConnectionWithLagCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
435
|
+
const headers = sharedHeaders("AssociateConnectionWithLag");
|
|
436
|
+
let body;
|
|
437
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
438
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
439
|
+
}, "se_AssociateConnectionWithLagCommand");
|
|
440
|
+
var se_AssociateHostedConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
441
|
+
const headers = sharedHeaders("AssociateHostedConnection");
|
|
442
|
+
let body;
|
|
443
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
444
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
445
|
+
}, "se_AssociateHostedConnectionCommand");
|
|
446
|
+
var se_AssociateMacSecKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
447
|
+
const headers = sharedHeaders("AssociateMacSecKey");
|
|
448
|
+
let body;
|
|
449
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
450
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
451
|
+
}, "se_AssociateMacSecKeyCommand");
|
|
452
|
+
var se_AssociateVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
453
|
+
const headers = sharedHeaders("AssociateVirtualInterface");
|
|
454
|
+
let body;
|
|
455
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
456
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
457
|
+
}, "se_AssociateVirtualInterfaceCommand");
|
|
458
|
+
var se_ConfirmConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
459
|
+
const headers = sharedHeaders("ConfirmConnection");
|
|
460
|
+
let body;
|
|
461
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
462
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
463
|
+
}, "se_ConfirmConnectionCommand");
|
|
464
|
+
var se_ConfirmCustomerAgreementCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
465
|
+
const headers = sharedHeaders("ConfirmCustomerAgreement");
|
|
466
|
+
let body;
|
|
467
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
468
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
469
|
+
}, "se_ConfirmCustomerAgreementCommand");
|
|
470
|
+
var se_ConfirmPrivateVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
471
|
+
const headers = sharedHeaders("ConfirmPrivateVirtualInterface");
|
|
472
|
+
let body;
|
|
473
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
474
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
475
|
+
}, "se_ConfirmPrivateVirtualInterfaceCommand");
|
|
476
|
+
var se_ConfirmPublicVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
477
|
+
const headers = sharedHeaders("ConfirmPublicVirtualInterface");
|
|
478
|
+
let body;
|
|
479
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
480
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
481
|
+
}, "se_ConfirmPublicVirtualInterfaceCommand");
|
|
482
|
+
var se_ConfirmTransitVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
483
|
+
const headers = sharedHeaders("ConfirmTransitVirtualInterface");
|
|
484
|
+
let body;
|
|
485
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
486
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
487
|
+
}, "se_ConfirmTransitVirtualInterfaceCommand");
|
|
488
|
+
var se_CreateBGPPeerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
489
|
+
const headers = sharedHeaders("CreateBGPPeer");
|
|
490
|
+
let body;
|
|
491
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
492
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
493
|
+
}, "se_CreateBGPPeerCommand");
|
|
494
|
+
var se_CreateConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
495
|
+
const headers = sharedHeaders("CreateConnection");
|
|
496
|
+
let body;
|
|
497
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
498
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
499
|
+
}, "se_CreateConnectionCommand");
|
|
500
|
+
var se_CreateDirectConnectGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
501
|
+
const headers = sharedHeaders("CreateDirectConnectGateway");
|
|
502
|
+
let body;
|
|
503
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
504
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
505
|
+
}, "se_CreateDirectConnectGatewayCommand");
|
|
506
|
+
var se_CreateDirectConnectGatewayAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
507
|
+
const headers = sharedHeaders("CreateDirectConnectGatewayAssociation");
|
|
508
|
+
let body;
|
|
509
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
510
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
511
|
+
}, "se_CreateDirectConnectGatewayAssociationCommand");
|
|
512
|
+
var se_CreateDirectConnectGatewayAssociationProposalCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
513
|
+
const headers = sharedHeaders("CreateDirectConnectGatewayAssociationProposal");
|
|
514
|
+
let body;
|
|
515
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
516
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
517
|
+
}, "se_CreateDirectConnectGatewayAssociationProposalCommand");
|
|
518
|
+
var se_CreateInterconnectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
519
|
+
const headers = sharedHeaders("CreateInterconnect");
|
|
520
|
+
let body;
|
|
521
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
522
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
523
|
+
}, "se_CreateInterconnectCommand");
|
|
524
|
+
var se_CreateLagCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
525
|
+
const headers = sharedHeaders("CreateLag");
|
|
526
|
+
let body;
|
|
527
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
528
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
529
|
+
}, "se_CreateLagCommand");
|
|
530
|
+
var se_CreatePrivateVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
531
|
+
const headers = sharedHeaders("CreatePrivateVirtualInterface");
|
|
532
|
+
let body;
|
|
533
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
534
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
535
|
+
}, "se_CreatePrivateVirtualInterfaceCommand");
|
|
536
|
+
var se_CreatePublicVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
537
|
+
const headers = sharedHeaders("CreatePublicVirtualInterface");
|
|
538
|
+
let body;
|
|
539
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
540
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
541
|
+
}, "se_CreatePublicVirtualInterfaceCommand");
|
|
542
|
+
var se_CreateTransitVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
543
|
+
const headers = sharedHeaders("CreateTransitVirtualInterface");
|
|
544
|
+
let body;
|
|
545
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
546
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
547
|
+
}, "se_CreateTransitVirtualInterfaceCommand");
|
|
548
|
+
var se_DeleteBGPPeerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
549
|
+
const headers = sharedHeaders("DeleteBGPPeer");
|
|
550
|
+
let body;
|
|
551
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
552
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
553
|
+
}, "se_DeleteBGPPeerCommand");
|
|
554
|
+
var se_DeleteConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
555
|
+
const headers = sharedHeaders("DeleteConnection");
|
|
556
|
+
let body;
|
|
557
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
558
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
559
|
+
}, "se_DeleteConnectionCommand");
|
|
560
|
+
var se_DeleteDirectConnectGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
561
|
+
const headers = sharedHeaders("DeleteDirectConnectGateway");
|
|
562
|
+
let body;
|
|
563
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
564
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
565
|
+
}, "se_DeleteDirectConnectGatewayCommand");
|
|
566
|
+
var se_DeleteDirectConnectGatewayAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
567
|
+
const headers = sharedHeaders("DeleteDirectConnectGatewayAssociation");
|
|
568
|
+
let body;
|
|
569
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
570
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
571
|
+
}, "se_DeleteDirectConnectGatewayAssociationCommand");
|
|
572
|
+
var se_DeleteDirectConnectGatewayAssociationProposalCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
573
|
+
const headers = sharedHeaders("DeleteDirectConnectGatewayAssociationProposal");
|
|
574
|
+
let body;
|
|
575
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
576
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
577
|
+
}, "se_DeleteDirectConnectGatewayAssociationProposalCommand");
|
|
578
|
+
var se_DeleteInterconnectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
579
|
+
const headers = sharedHeaders("DeleteInterconnect");
|
|
580
|
+
let body;
|
|
581
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
582
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
583
|
+
}, "se_DeleteInterconnectCommand");
|
|
584
|
+
var se_DeleteLagCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
585
|
+
const headers = sharedHeaders("DeleteLag");
|
|
586
|
+
let body;
|
|
587
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
588
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
589
|
+
}, "se_DeleteLagCommand");
|
|
590
|
+
var se_DeleteVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
591
|
+
const headers = sharedHeaders("DeleteVirtualInterface");
|
|
592
|
+
let body;
|
|
593
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
594
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
595
|
+
}, "se_DeleteVirtualInterfaceCommand");
|
|
596
|
+
var se_DescribeConnectionLoaCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
597
|
+
const headers = sharedHeaders("DescribeConnectionLoa");
|
|
598
|
+
let body;
|
|
599
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
600
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
601
|
+
}, "se_DescribeConnectionLoaCommand");
|
|
602
|
+
var se_DescribeConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
603
|
+
const headers = sharedHeaders("DescribeConnections");
|
|
604
|
+
let body;
|
|
605
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
606
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
607
|
+
}, "se_DescribeConnectionsCommand");
|
|
608
|
+
var se_DescribeConnectionsOnInterconnectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
609
|
+
const headers = sharedHeaders("DescribeConnectionsOnInterconnect");
|
|
610
|
+
let body;
|
|
611
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
612
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
613
|
+
}, "se_DescribeConnectionsOnInterconnectCommand");
|
|
614
|
+
var se_DescribeCustomerMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
615
|
+
const headers = sharedHeaders("DescribeCustomerMetadata");
|
|
616
|
+
const body = "{}";
|
|
617
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
618
|
+
}, "se_DescribeCustomerMetadataCommand");
|
|
619
|
+
var se_DescribeDirectConnectGatewayAssociationProposalsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
620
|
+
const headers = sharedHeaders("DescribeDirectConnectGatewayAssociationProposals");
|
|
621
|
+
let body;
|
|
622
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
623
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
624
|
+
}, "se_DescribeDirectConnectGatewayAssociationProposalsCommand");
|
|
625
|
+
var se_DescribeDirectConnectGatewayAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
626
|
+
const headers = sharedHeaders("DescribeDirectConnectGatewayAssociations");
|
|
627
|
+
let body;
|
|
628
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
629
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
630
|
+
}, "se_DescribeDirectConnectGatewayAssociationsCommand");
|
|
631
|
+
var se_DescribeDirectConnectGatewayAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
632
|
+
const headers = sharedHeaders("DescribeDirectConnectGatewayAttachments");
|
|
633
|
+
let body;
|
|
634
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
635
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
636
|
+
}, "se_DescribeDirectConnectGatewayAttachmentsCommand");
|
|
637
|
+
var se_DescribeDirectConnectGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
638
|
+
const headers = sharedHeaders("DescribeDirectConnectGateways");
|
|
639
|
+
let body;
|
|
640
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
641
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
642
|
+
}, "se_DescribeDirectConnectGatewaysCommand");
|
|
643
|
+
var se_DescribeHostedConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
644
|
+
const headers = sharedHeaders("DescribeHostedConnections");
|
|
645
|
+
let body;
|
|
646
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
647
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
648
|
+
}, "se_DescribeHostedConnectionsCommand");
|
|
649
|
+
var se_DescribeInterconnectLoaCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
650
|
+
const headers = sharedHeaders("DescribeInterconnectLoa");
|
|
651
|
+
let body;
|
|
652
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
653
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
654
|
+
}, "se_DescribeInterconnectLoaCommand");
|
|
655
|
+
var se_DescribeInterconnectsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
656
|
+
const headers = sharedHeaders("DescribeInterconnects");
|
|
657
|
+
let body;
|
|
658
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
659
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
660
|
+
}, "se_DescribeInterconnectsCommand");
|
|
661
|
+
var se_DescribeLagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
662
|
+
const headers = sharedHeaders("DescribeLags");
|
|
663
|
+
let body;
|
|
664
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
665
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
666
|
+
}, "se_DescribeLagsCommand");
|
|
667
|
+
var se_DescribeLoaCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
668
|
+
const headers = sharedHeaders("DescribeLoa");
|
|
669
|
+
let body;
|
|
670
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
671
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
672
|
+
}, "se_DescribeLoaCommand");
|
|
673
|
+
var se_DescribeLocationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
674
|
+
const headers = sharedHeaders("DescribeLocations");
|
|
675
|
+
const body = "{}";
|
|
676
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
677
|
+
}, "se_DescribeLocationsCommand");
|
|
678
|
+
var se_DescribeRouterConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
679
|
+
const headers = sharedHeaders("DescribeRouterConfiguration");
|
|
680
|
+
let body;
|
|
681
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
682
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
683
|
+
}, "se_DescribeRouterConfigurationCommand");
|
|
684
|
+
var se_DescribeTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
685
|
+
const headers = sharedHeaders("DescribeTags");
|
|
686
|
+
let body;
|
|
687
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
688
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
689
|
+
}, "se_DescribeTagsCommand");
|
|
690
|
+
var se_DescribeVirtualGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
691
|
+
const headers = sharedHeaders("DescribeVirtualGateways");
|
|
692
|
+
const body = "{}";
|
|
693
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
694
|
+
}, "se_DescribeVirtualGatewaysCommand");
|
|
695
|
+
var se_DescribeVirtualInterfacesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
696
|
+
const headers = sharedHeaders("DescribeVirtualInterfaces");
|
|
697
|
+
let body;
|
|
698
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
699
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
700
|
+
}, "se_DescribeVirtualInterfacesCommand");
|
|
701
|
+
var se_DisassociateConnectionFromLagCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
702
|
+
const headers = sharedHeaders("DisassociateConnectionFromLag");
|
|
703
|
+
let body;
|
|
704
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
705
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
706
|
+
}, "se_DisassociateConnectionFromLagCommand");
|
|
707
|
+
var se_DisassociateMacSecKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
708
|
+
const headers = sharedHeaders("DisassociateMacSecKey");
|
|
709
|
+
let body;
|
|
710
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
711
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
712
|
+
}, "se_DisassociateMacSecKeyCommand");
|
|
713
|
+
var se_ListVirtualInterfaceTestHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
714
|
+
const headers = sharedHeaders("ListVirtualInterfaceTestHistory");
|
|
715
|
+
let body;
|
|
716
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
717
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
718
|
+
}, "se_ListVirtualInterfaceTestHistoryCommand");
|
|
719
|
+
var se_StartBgpFailoverTestCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
720
|
+
const headers = sharedHeaders("StartBgpFailoverTest");
|
|
721
|
+
let body;
|
|
722
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
723
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
724
|
+
}, "se_StartBgpFailoverTestCommand");
|
|
725
|
+
var se_StopBgpFailoverTestCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
726
|
+
const headers = sharedHeaders("StopBgpFailoverTest");
|
|
727
|
+
let body;
|
|
728
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
729
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
730
|
+
}, "se_StopBgpFailoverTestCommand");
|
|
731
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
732
|
+
const headers = sharedHeaders("TagResource");
|
|
733
|
+
let body;
|
|
734
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
735
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
736
|
+
}, "se_TagResourceCommand");
|
|
737
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
738
|
+
const headers = sharedHeaders("UntagResource");
|
|
739
|
+
let body;
|
|
740
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
741
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
742
|
+
}, "se_UntagResourceCommand");
|
|
743
|
+
var se_UpdateConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
744
|
+
const headers = sharedHeaders("UpdateConnection");
|
|
745
|
+
let body;
|
|
746
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
747
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
748
|
+
}, "se_UpdateConnectionCommand");
|
|
749
|
+
var se_UpdateDirectConnectGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
750
|
+
const headers = sharedHeaders("UpdateDirectConnectGateway");
|
|
751
|
+
let body;
|
|
752
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
753
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
754
|
+
}, "se_UpdateDirectConnectGatewayCommand");
|
|
755
|
+
var se_UpdateDirectConnectGatewayAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
756
|
+
const headers = sharedHeaders("UpdateDirectConnectGatewayAssociation");
|
|
757
|
+
let body;
|
|
758
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
759
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
760
|
+
}, "se_UpdateDirectConnectGatewayAssociationCommand");
|
|
761
|
+
var se_UpdateLagCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
762
|
+
const headers = sharedHeaders("UpdateLag");
|
|
763
|
+
let body;
|
|
764
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
765
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
766
|
+
}, "se_UpdateLagCommand");
|
|
767
|
+
var se_UpdateVirtualInterfaceAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
768
|
+
const headers = sharedHeaders("UpdateVirtualInterfaceAttributes");
|
|
769
|
+
let body;
|
|
770
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
771
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
772
|
+
}, "se_UpdateVirtualInterfaceAttributesCommand");
|
|
773
|
+
var de_AcceptDirectConnectGatewayAssociationProposalCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
774
|
+
if (output.statusCode >= 300) {
|
|
775
|
+
return de_AcceptDirectConnectGatewayAssociationProposalCommandError(output, context);
|
|
776
|
+
}
|
|
777
|
+
const data = await parseBody(output.body, context);
|
|
778
|
+
let contents = {};
|
|
779
|
+
contents = (0, import_smithy_client._json)(data);
|
|
780
|
+
const response = {
|
|
781
|
+
$metadata: deserializeMetadata(output),
|
|
782
|
+
...contents
|
|
783
|
+
};
|
|
784
|
+
return response;
|
|
785
|
+
}, "de_AcceptDirectConnectGatewayAssociationProposalCommand");
|
|
786
|
+
var de_AcceptDirectConnectGatewayAssociationProposalCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
787
|
+
const parsedOutput = {
|
|
788
|
+
...output,
|
|
789
|
+
body: await parseErrorBody(output.body, context)
|
|
790
|
+
};
|
|
791
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
792
|
+
switch (errorCode) {
|
|
793
|
+
case "DirectConnectClientException":
|
|
794
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
795
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
796
|
+
case "DirectConnectServerException":
|
|
797
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
798
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
799
|
+
default:
|
|
800
|
+
const parsedBody = parsedOutput.body;
|
|
801
|
+
return throwDefaultError({
|
|
802
|
+
output,
|
|
803
|
+
parsedBody,
|
|
804
|
+
errorCode
|
|
805
|
+
});
|
|
806
|
+
}
|
|
807
|
+
}, "de_AcceptDirectConnectGatewayAssociationProposalCommandError");
|
|
808
|
+
var de_AllocateConnectionOnInterconnectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
809
|
+
if (output.statusCode >= 300) {
|
|
810
|
+
return de_AllocateConnectionOnInterconnectCommandError(output, context);
|
|
811
|
+
}
|
|
812
|
+
const data = await parseBody(output.body, context);
|
|
813
|
+
let contents = {};
|
|
814
|
+
contents = de_Connection(data, context);
|
|
815
|
+
const response = {
|
|
816
|
+
$metadata: deserializeMetadata(output),
|
|
817
|
+
...contents
|
|
818
|
+
};
|
|
819
|
+
return response;
|
|
820
|
+
}, "de_AllocateConnectionOnInterconnectCommand");
|
|
821
|
+
var de_AllocateConnectionOnInterconnectCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
822
|
+
const parsedOutput = {
|
|
823
|
+
...output,
|
|
824
|
+
body: await parseErrorBody(output.body, context)
|
|
825
|
+
};
|
|
826
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
827
|
+
switch (errorCode) {
|
|
828
|
+
case "DirectConnectClientException":
|
|
829
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
830
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
831
|
+
case "DirectConnectServerException":
|
|
832
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
833
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
834
|
+
default:
|
|
835
|
+
const parsedBody = parsedOutput.body;
|
|
836
|
+
return throwDefaultError({
|
|
837
|
+
output,
|
|
838
|
+
parsedBody,
|
|
839
|
+
errorCode
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
}, "de_AllocateConnectionOnInterconnectCommandError");
|
|
843
|
+
var de_AllocateHostedConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
844
|
+
if (output.statusCode >= 300) {
|
|
845
|
+
return de_AllocateHostedConnectionCommandError(output, context);
|
|
846
|
+
}
|
|
847
|
+
const data = await parseBody(output.body, context);
|
|
848
|
+
let contents = {};
|
|
849
|
+
contents = de_Connection(data, context);
|
|
850
|
+
const response = {
|
|
851
|
+
$metadata: deserializeMetadata(output),
|
|
852
|
+
...contents
|
|
853
|
+
};
|
|
854
|
+
return response;
|
|
855
|
+
}, "de_AllocateHostedConnectionCommand");
|
|
856
|
+
var de_AllocateHostedConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
857
|
+
const parsedOutput = {
|
|
858
|
+
...output,
|
|
859
|
+
body: await parseErrorBody(output.body, context)
|
|
860
|
+
};
|
|
861
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
862
|
+
switch (errorCode) {
|
|
863
|
+
case "DirectConnectClientException":
|
|
864
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
865
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
866
|
+
case "DirectConnectServerException":
|
|
867
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
868
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
869
|
+
case "DuplicateTagKeysException":
|
|
870
|
+
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
871
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
872
|
+
case "TooManyTagsException":
|
|
873
|
+
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
874
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
875
|
+
default:
|
|
876
|
+
const parsedBody = parsedOutput.body;
|
|
877
|
+
return throwDefaultError({
|
|
878
|
+
output,
|
|
879
|
+
parsedBody,
|
|
880
|
+
errorCode
|
|
881
|
+
});
|
|
882
|
+
}
|
|
883
|
+
}, "de_AllocateHostedConnectionCommandError");
|
|
884
|
+
var de_AllocatePrivateVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
885
|
+
if (output.statusCode >= 300) {
|
|
886
|
+
return de_AllocatePrivateVirtualInterfaceCommandError(output, context);
|
|
887
|
+
}
|
|
888
|
+
const data = await parseBody(output.body, context);
|
|
889
|
+
let contents = {};
|
|
890
|
+
contents = (0, import_smithy_client._json)(data);
|
|
891
|
+
const response = {
|
|
892
|
+
$metadata: deserializeMetadata(output),
|
|
893
|
+
...contents
|
|
894
|
+
};
|
|
895
|
+
return response;
|
|
896
|
+
}, "de_AllocatePrivateVirtualInterfaceCommand");
|
|
897
|
+
var de_AllocatePrivateVirtualInterfaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
898
|
+
const parsedOutput = {
|
|
899
|
+
...output,
|
|
900
|
+
body: await parseErrorBody(output.body, context)
|
|
901
|
+
};
|
|
902
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
903
|
+
switch (errorCode) {
|
|
904
|
+
case "DirectConnectClientException":
|
|
905
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
906
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
907
|
+
case "DirectConnectServerException":
|
|
908
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
909
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
910
|
+
case "DuplicateTagKeysException":
|
|
911
|
+
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
912
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
913
|
+
case "TooManyTagsException":
|
|
914
|
+
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
915
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
916
|
+
default:
|
|
917
|
+
const parsedBody = parsedOutput.body;
|
|
918
|
+
return throwDefaultError({
|
|
919
|
+
output,
|
|
920
|
+
parsedBody,
|
|
921
|
+
errorCode
|
|
922
|
+
});
|
|
923
|
+
}
|
|
924
|
+
}, "de_AllocatePrivateVirtualInterfaceCommandError");
|
|
925
|
+
var de_AllocatePublicVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
926
|
+
if (output.statusCode >= 300) {
|
|
927
|
+
return de_AllocatePublicVirtualInterfaceCommandError(output, context);
|
|
928
|
+
}
|
|
929
|
+
const data = await parseBody(output.body, context);
|
|
930
|
+
let contents = {};
|
|
931
|
+
contents = (0, import_smithy_client._json)(data);
|
|
932
|
+
const response = {
|
|
933
|
+
$metadata: deserializeMetadata(output),
|
|
934
|
+
...contents
|
|
935
|
+
};
|
|
936
|
+
return response;
|
|
937
|
+
}, "de_AllocatePublicVirtualInterfaceCommand");
|
|
938
|
+
var de_AllocatePublicVirtualInterfaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
939
|
+
const parsedOutput = {
|
|
940
|
+
...output,
|
|
941
|
+
body: await parseErrorBody(output.body, context)
|
|
942
|
+
};
|
|
943
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
944
|
+
switch (errorCode) {
|
|
945
|
+
case "DirectConnectClientException":
|
|
946
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
947
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
948
|
+
case "DirectConnectServerException":
|
|
949
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
950
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
951
|
+
case "DuplicateTagKeysException":
|
|
952
|
+
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
953
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
954
|
+
case "TooManyTagsException":
|
|
955
|
+
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
956
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
957
|
+
default:
|
|
958
|
+
const parsedBody = parsedOutput.body;
|
|
959
|
+
return throwDefaultError({
|
|
960
|
+
output,
|
|
961
|
+
parsedBody,
|
|
962
|
+
errorCode
|
|
963
|
+
});
|
|
964
|
+
}
|
|
965
|
+
}, "de_AllocatePublicVirtualInterfaceCommandError");
|
|
966
|
+
var de_AllocateTransitVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
967
|
+
if (output.statusCode >= 300) {
|
|
968
|
+
return de_AllocateTransitVirtualInterfaceCommandError(output, context);
|
|
969
|
+
}
|
|
970
|
+
const data = await parseBody(output.body, context);
|
|
971
|
+
let contents = {};
|
|
972
|
+
contents = (0, import_smithy_client._json)(data);
|
|
973
|
+
const response = {
|
|
974
|
+
$metadata: deserializeMetadata(output),
|
|
975
|
+
...contents
|
|
976
|
+
};
|
|
977
|
+
return response;
|
|
978
|
+
}, "de_AllocateTransitVirtualInterfaceCommand");
|
|
979
|
+
var de_AllocateTransitVirtualInterfaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
980
|
+
const parsedOutput = {
|
|
981
|
+
...output,
|
|
982
|
+
body: await parseErrorBody(output.body, context)
|
|
983
|
+
};
|
|
984
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
985
|
+
switch (errorCode) {
|
|
986
|
+
case "DirectConnectClientException":
|
|
987
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
988
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
989
|
+
case "DirectConnectServerException":
|
|
990
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
991
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
992
|
+
case "DuplicateTagKeysException":
|
|
993
|
+
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
994
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
995
|
+
case "TooManyTagsException":
|
|
996
|
+
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
997
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
998
|
+
default:
|
|
999
|
+
const parsedBody = parsedOutput.body;
|
|
1000
|
+
return throwDefaultError({
|
|
1001
|
+
output,
|
|
1002
|
+
parsedBody,
|
|
1003
|
+
errorCode
|
|
1004
|
+
});
|
|
1005
|
+
}
|
|
1006
|
+
}, "de_AllocateTransitVirtualInterfaceCommandError");
|
|
1007
|
+
var de_AssociateConnectionWithLagCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1008
|
+
if (output.statusCode >= 300) {
|
|
1009
|
+
return de_AssociateConnectionWithLagCommandError(output, context);
|
|
1010
|
+
}
|
|
1011
|
+
const data = await parseBody(output.body, context);
|
|
1012
|
+
let contents = {};
|
|
1013
|
+
contents = de_Connection(data, context);
|
|
1014
|
+
const response = {
|
|
1015
|
+
$metadata: deserializeMetadata(output),
|
|
1016
|
+
...contents
|
|
1017
|
+
};
|
|
1018
|
+
return response;
|
|
1019
|
+
}, "de_AssociateConnectionWithLagCommand");
|
|
1020
|
+
var de_AssociateConnectionWithLagCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1021
|
+
const parsedOutput = {
|
|
1022
|
+
...output,
|
|
1023
|
+
body: await parseErrorBody(output.body, context)
|
|
1024
|
+
};
|
|
1025
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1026
|
+
switch (errorCode) {
|
|
1027
|
+
case "DirectConnectClientException":
|
|
1028
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1029
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1030
|
+
case "DirectConnectServerException":
|
|
1031
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1032
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1033
|
+
default:
|
|
1034
|
+
const parsedBody = parsedOutput.body;
|
|
1035
|
+
return throwDefaultError({
|
|
1036
|
+
output,
|
|
1037
|
+
parsedBody,
|
|
1038
|
+
errorCode
|
|
1039
|
+
});
|
|
1040
|
+
}
|
|
1041
|
+
}, "de_AssociateConnectionWithLagCommandError");
|
|
1042
|
+
var de_AssociateHostedConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1043
|
+
if (output.statusCode >= 300) {
|
|
1044
|
+
return de_AssociateHostedConnectionCommandError(output, context);
|
|
1045
|
+
}
|
|
1046
|
+
const data = await parseBody(output.body, context);
|
|
1047
|
+
let contents = {};
|
|
1048
|
+
contents = de_Connection(data, context);
|
|
1049
|
+
const response = {
|
|
1050
|
+
$metadata: deserializeMetadata(output),
|
|
1051
|
+
...contents
|
|
1052
|
+
};
|
|
1053
|
+
return response;
|
|
1054
|
+
}, "de_AssociateHostedConnectionCommand");
|
|
1055
|
+
var de_AssociateHostedConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1056
|
+
const parsedOutput = {
|
|
1057
|
+
...output,
|
|
1058
|
+
body: await parseErrorBody(output.body, context)
|
|
1059
|
+
};
|
|
1060
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1061
|
+
switch (errorCode) {
|
|
1062
|
+
case "DirectConnectClientException":
|
|
1063
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1064
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1065
|
+
case "DirectConnectServerException":
|
|
1066
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1067
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1068
|
+
default:
|
|
1069
|
+
const parsedBody = parsedOutput.body;
|
|
1070
|
+
return throwDefaultError({
|
|
1071
|
+
output,
|
|
1072
|
+
parsedBody,
|
|
1073
|
+
errorCode
|
|
1074
|
+
});
|
|
1075
|
+
}
|
|
1076
|
+
}, "de_AssociateHostedConnectionCommandError");
|
|
1077
|
+
var de_AssociateMacSecKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1078
|
+
if (output.statusCode >= 300) {
|
|
1079
|
+
return de_AssociateMacSecKeyCommandError(output, context);
|
|
1080
|
+
}
|
|
1081
|
+
const data = await parseBody(output.body, context);
|
|
1082
|
+
let contents = {};
|
|
1083
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1084
|
+
const response = {
|
|
1085
|
+
$metadata: deserializeMetadata(output),
|
|
1086
|
+
...contents
|
|
1087
|
+
};
|
|
1088
|
+
return response;
|
|
1089
|
+
}, "de_AssociateMacSecKeyCommand");
|
|
1090
|
+
var de_AssociateMacSecKeyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1091
|
+
const parsedOutput = {
|
|
1092
|
+
...output,
|
|
1093
|
+
body: await parseErrorBody(output.body, context)
|
|
1094
|
+
};
|
|
1095
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1096
|
+
switch (errorCode) {
|
|
1097
|
+
case "DirectConnectClientException":
|
|
1098
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1099
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1100
|
+
case "DirectConnectServerException":
|
|
1101
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1102
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1103
|
+
default:
|
|
1104
|
+
const parsedBody = parsedOutput.body;
|
|
1105
|
+
return throwDefaultError({
|
|
1106
|
+
output,
|
|
1107
|
+
parsedBody,
|
|
1108
|
+
errorCode
|
|
1109
|
+
});
|
|
1110
|
+
}
|
|
1111
|
+
}, "de_AssociateMacSecKeyCommandError");
|
|
1112
|
+
var de_AssociateVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1113
|
+
if (output.statusCode >= 300) {
|
|
1114
|
+
return de_AssociateVirtualInterfaceCommandError(output, context);
|
|
1115
|
+
}
|
|
1116
|
+
const data = await parseBody(output.body, context);
|
|
1117
|
+
let contents = {};
|
|
1118
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1119
|
+
const response = {
|
|
1120
|
+
$metadata: deserializeMetadata(output),
|
|
1121
|
+
...contents
|
|
1122
|
+
};
|
|
1123
|
+
return response;
|
|
1124
|
+
}, "de_AssociateVirtualInterfaceCommand");
|
|
1125
|
+
var de_AssociateVirtualInterfaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1126
|
+
const parsedOutput = {
|
|
1127
|
+
...output,
|
|
1128
|
+
body: await parseErrorBody(output.body, context)
|
|
1129
|
+
};
|
|
1130
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1131
|
+
switch (errorCode) {
|
|
1132
|
+
case "DirectConnectClientException":
|
|
1133
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1134
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1135
|
+
case "DirectConnectServerException":
|
|
1136
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1137
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1138
|
+
default:
|
|
1139
|
+
const parsedBody = parsedOutput.body;
|
|
1140
|
+
return throwDefaultError({
|
|
1141
|
+
output,
|
|
1142
|
+
parsedBody,
|
|
1143
|
+
errorCode
|
|
1144
|
+
});
|
|
1145
|
+
}
|
|
1146
|
+
}, "de_AssociateVirtualInterfaceCommandError");
|
|
1147
|
+
var de_ConfirmConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1148
|
+
if (output.statusCode >= 300) {
|
|
1149
|
+
return de_ConfirmConnectionCommandError(output, context);
|
|
1150
|
+
}
|
|
1151
|
+
const data = await parseBody(output.body, context);
|
|
1152
|
+
let contents = {};
|
|
1153
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1154
|
+
const response = {
|
|
1155
|
+
$metadata: deserializeMetadata(output),
|
|
1156
|
+
...contents
|
|
1157
|
+
};
|
|
1158
|
+
return response;
|
|
1159
|
+
}, "de_ConfirmConnectionCommand");
|
|
1160
|
+
var de_ConfirmConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1161
|
+
const parsedOutput = {
|
|
1162
|
+
...output,
|
|
1163
|
+
body: await parseErrorBody(output.body, context)
|
|
1164
|
+
};
|
|
1165
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1166
|
+
switch (errorCode) {
|
|
1167
|
+
case "DirectConnectClientException":
|
|
1168
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1169
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1170
|
+
case "DirectConnectServerException":
|
|
1171
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1172
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1173
|
+
default:
|
|
1174
|
+
const parsedBody = parsedOutput.body;
|
|
1175
|
+
return throwDefaultError({
|
|
1176
|
+
output,
|
|
1177
|
+
parsedBody,
|
|
1178
|
+
errorCode
|
|
1179
|
+
});
|
|
1180
|
+
}
|
|
1181
|
+
}, "de_ConfirmConnectionCommandError");
|
|
1182
|
+
var de_ConfirmCustomerAgreementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1183
|
+
if (output.statusCode >= 300) {
|
|
1184
|
+
return de_ConfirmCustomerAgreementCommandError(output, context);
|
|
1185
|
+
}
|
|
1186
|
+
const data = await parseBody(output.body, context);
|
|
1187
|
+
let contents = {};
|
|
1188
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1189
|
+
const response = {
|
|
1190
|
+
$metadata: deserializeMetadata(output),
|
|
1191
|
+
...contents
|
|
1192
|
+
};
|
|
1193
|
+
return response;
|
|
1194
|
+
}, "de_ConfirmCustomerAgreementCommand");
|
|
1195
|
+
var de_ConfirmCustomerAgreementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1196
|
+
const parsedOutput = {
|
|
1197
|
+
...output,
|
|
1198
|
+
body: await parseErrorBody(output.body, context)
|
|
1199
|
+
};
|
|
1200
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1201
|
+
switch (errorCode) {
|
|
1202
|
+
case "DirectConnectClientException":
|
|
1203
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1204
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1205
|
+
case "DirectConnectServerException":
|
|
1206
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1207
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1208
|
+
default:
|
|
1209
|
+
const parsedBody = parsedOutput.body;
|
|
1210
|
+
return throwDefaultError({
|
|
1211
|
+
output,
|
|
1212
|
+
parsedBody,
|
|
1213
|
+
errorCode
|
|
1214
|
+
});
|
|
1215
|
+
}
|
|
1216
|
+
}, "de_ConfirmCustomerAgreementCommandError");
|
|
1217
|
+
var de_ConfirmPrivateVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1218
|
+
if (output.statusCode >= 300) {
|
|
1219
|
+
return de_ConfirmPrivateVirtualInterfaceCommandError(output, context);
|
|
1220
|
+
}
|
|
1221
|
+
const data = await parseBody(output.body, context);
|
|
1222
|
+
let contents = {};
|
|
1223
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1224
|
+
const response = {
|
|
1225
|
+
$metadata: deserializeMetadata(output),
|
|
1226
|
+
...contents
|
|
1227
|
+
};
|
|
1228
|
+
return response;
|
|
1229
|
+
}, "de_ConfirmPrivateVirtualInterfaceCommand");
|
|
1230
|
+
var de_ConfirmPrivateVirtualInterfaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1231
|
+
const parsedOutput = {
|
|
1232
|
+
...output,
|
|
1233
|
+
body: await parseErrorBody(output.body, context)
|
|
1234
|
+
};
|
|
1235
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1236
|
+
switch (errorCode) {
|
|
1237
|
+
case "DirectConnectClientException":
|
|
1238
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1239
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1240
|
+
case "DirectConnectServerException":
|
|
1241
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1242
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1243
|
+
default:
|
|
1244
|
+
const parsedBody = parsedOutput.body;
|
|
1245
|
+
return throwDefaultError({
|
|
1246
|
+
output,
|
|
1247
|
+
parsedBody,
|
|
1248
|
+
errorCode
|
|
1249
|
+
});
|
|
1250
|
+
}
|
|
1251
|
+
}, "de_ConfirmPrivateVirtualInterfaceCommandError");
|
|
1252
|
+
var de_ConfirmPublicVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1253
|
+
if (output.statusCode >= 300) {
|
|
1254
|
+
return de_ConfirmPublicVirtualInterfaceCommandError(output, context);
|
|
1255
|
+
}
|
|
1256
|
+
const data = await parseBody(output.body, context);
|
|
1257
|
+
let contents = {};
|
|
1258
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1259
|
+
const response = {
|
|
1260
|
+
$metadata: deserializeMetadata(output),
|
|
1261
|
+
...contents
|
|
1262
|
+
};
|
|
1263
|
+
return response;
|
|
1264
|
+
}, "de_ConfirmPublicVirtualInterfaceCommand");
|
|
1265
|
+
var de_ConfirmPublicVirtualInterfaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1266
|
+
const parsedOutput = {
|
|
1267
|
+
...output,
|
|
1268
|
+
body: await parseErrorBody(output.body, context)
|
|
1269
|
+
};
|
|
1270
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1271
|
+
switch (errorCode) {
|
|
1272
|
+
case "DirectConnectClientException":
|
|
1273
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1274
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1275
|
+
case "DirectConnectServerException":
|
|
1276
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1277
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1278
|
+
default:
|
|
1279
|
+
const parsedBody = parsedOutput.body;
|
|
1280
|
+
return throwDefaultError({
|
|
1281
|
+
output,
|
|
1282
|
+
parsedBody,
|
|
1283
|
+
errorCode
|
|
1284
|
+
});
|
|
1285
|
+
}
|
|
1286
|
+
}, "de_ConfirmPublicVirtualInterfaceCommandError");
|
|
1287
|
+
var de_ConfirmTransitVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1288
|
+
if (output.statusCode >= 300) {
|
|
1289
|
+
return de_ConfirmTransitVirtualInterfaceCommandError(output, context);
|
|
1290
|
+
}
|
|
1291
|
+
const data = await parseBody(output.body, context);
|
|
1292
|
+
let contents = {};
|
|
1293
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1294
|
+
const response = {
|
|
1295
|
+
$metadata: deserializeMetadata(output),
|
|
1296
|
+
...contents
|
|
1297
|
+
};
|
|
1298
|
+
return response;
|
|
1299
|
+
}, "de_ConfirmTransitVirtualInterfaceCommand");
|
|
1300
|
+
var de_ConfirmTransitVirtualInterfaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1301
|
+
const parsedOutput = {
|
|
1302
|
+
...output,
|
|
1303
|
+
body: await parseErrorBody(output.body, context)
|
|
1304
|
+
};
|
|
1305
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1306
|
+
switch (errorCode) {
|
|
1307
|
+
case "DirectConnectClientException":
|
|
1308
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1309
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1310
|
+
case "DirectConnectServerException":
|
|
1311
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1312
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1313
|
+
default:
|
|
1314
|
+
const parsedBody = parsedOutput.body;
|
|
1315
|
+
return throwDefaultError({
|
|
1316
|
+
output,
|
|
1317
|
+
parsedBody,
|
|
1318
|
+
errorCode
|
|
1319
|
+
});
|
|
1320
|
+
}
|
|
1321
|
+
}, "de_ConfirmTransitVirtualInterfaceCommandError");
|
|
1322
|
+
var de_CreateBGPPeerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1323
|
+
if (output.statusCode >= 300) {
|
|
1324
|
+
return de_CreateBGPPeerCommandError(output, context);
|
|
1325
|
+
}
|
|
1326
|
+
const data = await parseBody(output.body, context);
|
|
1327
|
+
let contents = {};
|
|
1328
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1329
|
+
const response = {
|
|
1330
|
+
$metadata: deserializeMetadata(output),
|
|
1331
|
+
...contents
|
|
1332
|
+
};
|
|
1333
|
+
return response;
|
|
1334
|
+
}, "de_CreateBGPPeerCommand");
|
|
1335
|
+
var de_CreateBGPPeerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1336
|
+
const parsedOutput = {
|
|
1337
|
+
...output,
|
|
1338
|
+
body: await parseErrorBody(output.body, context)
|
|
1339
|
+
};
|
|
1340
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1341
|
+
switch (errorCode) {
|
|
1342
|
+
case "DirectConnectClientException":
|
|
1343
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1344
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1345
|
+
case "DirectConnectServerException":
|
|
1346
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1347
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1348
|
+
default:
|
|
1349
|
+
const parsedBody = parsedOutput.body;
|
|
1350
|
+
return throwDefaultError({
|
|
1351
|
+
output,
|
|
1352
|
+
parsedBody,
|
|
1353
|
+
errorCode
|
|
1354
|
+
});
|
|
1355
|
+
}
|
|
1356
|
+
}, "de_CreateBGPPeerCommandError");
|
|
1357
|
+
var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1358
|
+
if (output.statusCode >= 300) {
|
|
1359
|
+
return de_CreateConnectionCommandError(output, context);
|
|
1360
|
+
}
|
|
1361
|
+
const data = await parseBody(output.body, context);
|
|
1362
|
+
let contents = {};
|
|
1363
|
+
contents = de_Connection(data, context);
|
|
1364
|
+
const response = {
|
|
1365
|
+
$metadata: deserializeMetadata(output),
|
|
1366
|
+
...contents
|
|
1367
|
+
};
|
|
1368
|
+
return response;
|
|
1369
|
+
}, "de_CreateConnectionCommand");
|
|
1370
|
+
var de_CreateConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1371
|
+
const parsedOutput = {
|
|
1372
|
+
...output,
|
|
1373
|
+
body: await parseErrorBody(output.body, context)
|
|
1374
|
+
};
|
|
1375
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1376
|
+
switch (errorCode) {
|
|
1377
|
+
case "DirectConnectClientException":
|
|
1378
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1379
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1380
|
+
case "DirectConnectServerException":
|
|
1381
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1382
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1383
|
+
case "DuplicateTagKeysException":
|
|
1384
|
+
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
1385
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1386
|
+
case "TooManyTagsException":
|
|
1387
|
+
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
1388
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1389
|
+
default:
|
|
1390
|
+
const parsedBody = parsedOutput.body;
|
|
1391
|
+
return throwDefaultError({
|
|
1392
|
+
output,
|
|
1393
|
+
parsedBody,
|
|
1394
|
+
errorCode
|
|
1395
|
+
});
|
|
1396
|
+
}
|
|
1397
|
+
}, "de_CreateConnectionCommandError");
|
|
1398
|
+
var de_CreateDirectConnectGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1399
|
+
if (output.statusCode >= 300) {
|
|
1400
|
+
return de_CreateDirectConnectGatewayCommandError(output, context);
|
|
1401
|
+
}
|
|
1402
|
+
const data = await parseBody(output.body, context);
|
|
1403
|
+
let contents = {};
|
|
1404
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1405
|
+
const response = {
|
|
1406
|
+
$metadata: deserializeMetadata(output),
|
|
1407
|
+
...contents
|
|
1408
|
+
};
|
|
1409
|
+
return response;
|
|
1410
|
+
}, "de_CreateDirectConnectGatewayCommand");
|
|
1411
|
+
var de_CreateDirectConnectGatewayCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1412
|
+
const parsedOutput = {
|
|
1413
|
+
...output,
|
|
1414
|
+
body: await parseErrorBody(output.body, context)
|
|
1415
|
+
};
|
|
1416
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1417
|
+
switch (errorCode) {
|
|
1418
|
+
case "DirectConnectClientException":
|
|
1419
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1420
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1421
|
+
case "DirectConnectServerException":
|
|
1422
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1423
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1424
|
+
default:
|
|
1425
|
+
const parsedBody = parsedOutput.body;
|
|
1426
|
+
return throwDefaultError({
|
|
1427
|
+
output,
|
|
1428
|
+
parsedBody,
|
|
1429
|
+
errorCode
|
|
1430
|
+
});
|
|
1431
|
+
}
|
|
1432
|
+
}, "de_CreateDirectConnectGatewayCommandError");
|
|
1433
|
+
var de_CreateDirectConnectGatewayAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1434
|
+
if (output.statusCode >= 300) {
|
|
1435
|
+
return de_CreateDirectConnectGatewayAssociationCommandError(output, context);
|
|
1436
|
+
}
|
|
1437
|
+
const data = await parseBody(output.body, context);
|
|
1438
|
+
let contents = {};
|
|
1439
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1440
|
+
const response = {
|
|
1441
|
+
$metadata: deserializeMetadata(output),
|
|
1442
|
+
...contents
|
|
1443
|
+
};
|
|
1444
|
+
return response;
|
|
1445
|
+
}, "de_CreateDirectConnectGatewayAssociationCommand");
|
|
1446
|
+
var de_CreateDirectConnectGatewayAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1447
|
+
const parsedOutput = {
|
|
1448
|
+
...output,
|
|
1449
|
+
body: await parseErrorBody(output.body, context)
|
|
1450
|
+
};
|
|
1451
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1452
|
+
switch (errorCode) {
|
|
1453
|
+
case "DirectConnectClientException":
|
|
1454
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1455
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1456
|
+
case "DirectConnectServerException":
|
|
1457
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1458
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1459
|
+
default:
|
|
1460
|
+
const parsedBody = parsedOutput.body;
|
|
1461
|
+
return throwDefaultError({
|
|
1462
|
+
output,
|
|
1463
|
+
parsedBody,
|
|
1464
|
+
errorCode
|
|
1465
|
+
});
|
|
1466
|
+
}
|
|
1467
|
+
}, "de_CreateDirectConnectGatewayAssociationCommandError");
|
|
1468
|
+
var de_CreateDirectConnectGatewayAssociationProposalCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1469
|
+
if (output.statusCode >= 300) {
|
|
1470
|
+
return de_CreateDirectConnectGatewayAssociationProposalCommandError(output, context);
|
|
1471
|
+
}
|
|
1472
|
+
const data = await parseBody(output.body, context);
|
|
1473
|
+
let contents = {};
|
|
1474
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1475
|
+
const response = {
|
|
1476
|
+
$metadata: deserializeMetadata(output),
|
|
1477
|
+
...contents
|
|
1478
|
+
};
|
|
1479
|
+
return response;
|
|
1480
|
+
}, "de_CreateDirectConnectGatewayAssociationProposalCommand");
|
|
1481
|
+
var de_CreateDirectConnectGatewayAssociationProposalCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1482
|
+
const parsedOutput = {
|
|
1483
|
+
...output,
|
|
1484
|
+
body: await parseErrorBody(output.body, context)
|
|
1485
|
+
};
|
|
1486
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1487
|
+
switch (errorCode) {
|
|
1488
|
+
case "DirectConnectClientException":
|
|
1489
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1490
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1491
|
+
case "DirectConnectServerException":
|
|
1492
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1493
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1494
|
+
default:
|
|
1495
|
+
const parsedBody = parsedOutput.body;
|
|
1496
|
+
return throwDefaultError({
|
|
1497
|
+
output,
|
|
1498
|
+
parsedBody,
|
|
1499
|
+
errorCode
|
|
1500
|
+
});
|
|
1501
|
+
}
|
|
1502
|
+
}, "de_CreateDirectConnectGatewayAssociationProposalCommandError");
|
|
1503
|
+
var de_CreateInterconnectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1504
|
+
if (output.statusCode >= 300) {
|
|
1505
|
+
return de_CreateInterconnectCommandError(output, context);
|
|
1506
|
+
}
|
|
1507
|
+
const data = await parseBody(output.body, context);
|
|
1508
|
+
let contents = {};
|
|
1509
|
+
contents = de_Interconnect(data, context);
|
|
1510
|
+
const response = {
|
|
1511
|
+
$metadata: deserializeMetadata(output),
|
|
1512
|
+
...contents
|
|
1513
|
+
};
|
|
1514
|
+
return response;
|
|
1515
|
+
}, "de_CreateInterconnectCommand");
|
|
1516
|
+
var de_CreateInterconnectCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1517
|
+
const parsedOutput = {
|
|
1518
|
+
...output,
|
|
1519
|
+
body: await parseErrorBody(output.body, context)
|
|
1520
|
+
};
|
|
1521
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1522
|
+
switch (errorCode) {
|
|
1523
|
+
case "DirectConnectClientException":
|
|
1524
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1525
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1526
|
+
case "DirectConnectServerException":
|
|
1527
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1528
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1529
|
+
case "DuplicateTagKeysException":
|
|
1530
|
+
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
1531
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1532
|
+
case "TooManyTagsException":
|
|
1533
|
+
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
1534
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1535
|
+
default:
|
|
1536
|
+
const parsedBody = parsedOutput.body;
|
|
1537
|
+
return throwDefaultError({
|
|
1538
|
+
output,
|
|
1539
|
+
parsedBody,
|
|
1540
|
+
errorCode
|
|
1541
|
+
});
|
|
1542
|
+
}
|
|
1543
|
+
}, "de_CreateInterconnectCommandError");
|
|
1544
|
+
var de_CreateLagCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1545
|
+
if (output.statusCode >= 300) {
|
|
1546
|
+
return de_CreateLagCommandError(output, context);
|
|
1547
|
+
}
|
|
1548
|
+
const data = await parseBody(output.body, context);
|
|
1549
|
+
let contents = {};
|
|
1550
|
+
contents = de_Lag(data, context);
|
|
1551
|
+
const response = {
|
|
1552
|
+
$metadata: deserializeMetadata(output),
|
|
1553
|
+
...contents
|
|
1554
|
+
};
|
|
1555
|
+
return response;
|
|
1556
|
+
}, "de_CreateLagCommand");
|
|
1557
|
+
var de_CreateLagCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1558
|
+
const parsedOutput = {
|
|
1559
|
+
...output,
|
|
1560
|
+
body: await parseErrorBody(output.body, context)
|
|
1561
|
+
};
|
|
1562
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1563
|
+
switch (errorCode) {
|
|
1564
|
+
case "DirectConnectClientException":
|
|
1565
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1566
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1567
|
+
case "DirectConnectServerException":
|
|
1568
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1569
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1570
|
+
case "DuplicateTagKeysException":
|
|
1571
|
+
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
1572
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1573
|
+
case "TooManyTagsException":
|
|
1574
|
+
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
1575
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1576
|
+
default:
|
|
1577
|
+
const parsedBody = parsedOutput.body;
|
|
1578
|
+
return throwDefaultError({
|
|
1579
|
+
output,
|
|
1580
|
+
parsedBody,
|
|
1581
|
+
errorCode
|
|
1582
|
+
});
|
|
1583
|
+
}
|
|
1584
|
+
}, "de_CreateLagCommandError");
|
|
1585
|
+
var de_CreatePrivateVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1586
|
+
if (output.statusCode >= 300) {
|
|
1587
|
+
return de_CreatePrivateVirtualInterfaceCommandError(output, context);
|
|
1588
|
+
}
|
|
1589
|
+
const data = await parseBody(output.body, context);
|
|
1590
|
+
let contents = {};
|
|
1591
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1592
|
+
const response = {
|
|
1593
|
+
$metadata: deserializeMetadata(output),
|
|
1594
|
+
...contents
|
|
1595
|
+
};
|
|
1596
|
+
return response;
|
|
1597
|
+
}, "de_CreatePrivateVirtualInterfaceCommand");
|
|
1598
|
+
var de_CreatePrivateVirtualInterfaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1599
|
+
const parsedOutput = {
|
|
1600
|
+
...output,
|
|
1601
|
+
body: await parseErrorBody(output.body, context)
|
|
1602
|
+
};
|
|
1603
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1604
|
+
switch (errorCode) {
|
|
1605
|
+
case "DirectConnectClientException":
|
|
1606
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1607
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1608
|
+
case "DirectConnectServerException":
|
|
1609
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1610
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1611
|
+
case "DuplicateTagKeysException":
|
|
1612
|
+
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
1613
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1614
|
+
case "TooManyTagsException":
|
|
1615
|
+
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
1616
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1617
|
+
default:
|
|
1618
|
+
const parsedBody = parsedOutput.body;
|
|
1619
|
+
return throwDefaultError({
|
|
1620
|
+
output,
|
|
1621
|
+
parsedBody,
|
|
1622
|
+
errorCode
|
|
1623
|
+
});
|
|
1624
|
+
}
|
|
1625
|
+
}, "de_CreatePrivateVirtualInterfaceCommandError");
|
|
1626
|
+
var de_CreatePublicVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1627
|
+
if (output.statusCode >= 300) {
|
|
1628
|
+
return de_CreatePublicVirtualInterfaceCommandError(output, context);
|
|
1629
|
+
}
|
|
1630
|
+
const data = await parseBody(output.body, context);
|
|
1631
|
+
let contents = {};
|
|
1632
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1633
|
+
const response = {
|
|
1634
|
+
$metadata: deserializeMetadata(output),
|
|
1635
|
+
...contents
|
|
1636
|
+
};
|
|
1637
|
+
return response;
|
|
1638
|
+
}, "de_CreatePublicVirtualInterfaceCommand");
|
|
1639
|
+
var de_CreatePublicVirtualInterfaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1640
|
+
const parsedOutput = {
|
|
1641
|
+
...output,
|
|
1642
|
+
body: await parseErrorBody(output.body, context)
|
|
1643
|
+
};
|
|
1644
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1645
|
+
switch (errorCode) {
|
|
1646
|
+
case "DirectConnectClientException":
|
|
1647
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1648
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1649
|
+
case "DirectConnectServerException":
|
|
1650
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1651
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1652
|
+
case "DuplicateTagKeysException":
|
|
1653
|
+
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
1654
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1655
|
+
case "TooManyTagsException":
|
|
1656
|
+
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
1657
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1658
|
+
default:
|
|
1659
|
+
const parsedBody = parsedOutput.body;
|
|
1660
|
+
return throwDefaultError({
|
|
1661
|
+
output,
|
|
1662
|
+
parsedBody,
|
|
1663
|
+
errorCode
|
|
1664
|
+
});
|
|
1665
|
+
}
|
|
1666
|
+
}, "de_CreatePublicVirtualInterfaceCommandError");
|
|
1667
|
+
var de_CreateTransitVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1668
|
+
if (output.statusCode >= 300) {
|
|
1669
|
+
return de_CreateTransitVirtualInterfaceCommandError(output, context);
|
|
1670
|
+
}
|
|
1671
|
+
const data = await parseBody(output.body, context);
|
|
1672
|
+
let contents = {};
|
|
1673
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1674
|
+
const response = {
|
|
1675
|
+
$metadata: deserializeMetadata(output),
|
|
1676
|
+
...contents
|
|
1677
|
+
};
|
|
1678
|
+
return response;
|
|
1679
|
+
}, "de_CreateTransitVirtualInterfaceCommand");
|
|
1680
|
+
var de_CreateTransitVirtualInterfaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1681
|
+
const parsedOutput = {
|
|
1682
|
+
...output,
|
|
1683
|
+
body: await parseErrorBody(output.body, context)
|
|
1684
|
+
};
|
|
1685
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1686
|
+
switch (errorCode) {
|
|
1687
|
+
case "DirectConnectClientException":
|
|
1688
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1689
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1690
|
+
case "DirectConnectServerException":
|
|
1691
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1692
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1693
|
+
case "DuplicateTagKeysException":
|
|
1694
|
+
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
1695
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1696
|
+
case "TooManyTagsException":
|
|
1697
|
+
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
1698
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1699
|
+
default:
|
|
1700
|
+
const parsedBody = parsedOutput.body;
|
|
1701
|
+
return throwDefaultError({
|
|
1702
|
+
output,
|
|
1703
|
+
parsedBody,
|
|
1704
|
+
errorCode
|
|
1705
|
+
});
|
|
1706
|
+
}
|
|
1707
|
+
}, "de_CreateTransitVirtualInterfaceCommandError");
|
|
1708
|
+
var de_DeleteBGPPeerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1709
|
+
if (output.statusCode >= 300) {
|
|
1710
|
+
return de_DeleteBGPPeerCommandError(output, context);
|
|
1711
|
+
}
|
|
1712
|
+
const data = await parseBody(output.body, context);
|
|
1713
|
+
let contents = {};
|
|
1714
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1715
|
+
const response = {
|
|
1716
|
+
$metadata: deserializeMetadata(output),
|
|
1717
|
+
...contents
|
|
1718
|
+
};
|
|
1719
|
+
return response;
|
|
1720
|
+
}, "de_DeleteBGPPeerCommand");
|
|
1721
|
+
var de_DeleteBGPPeerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1722
|
+
const parsedOutput = {
|
|
1723
|
+
...output,
|
|
1724
|
+
body: await parseErrorBody(output.body, context)
|
|
1725
|
+
};
|
|
1726
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1727
|
+
switch (errorCode) {
|
|
1728
|
+
case "DirectConnectClientException":
|
|
1729
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1730
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1731
|
+
case "DirectConnectServerException":
|
|
1732
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1733
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1734
|
+
default:
|
|
1735
|
+
const parsedBody = parsedOutput.body;
|
|
1736
|
+
return throwDefaultError({
|
|
1737
|
+
output,
|
|
1738
|
+
parsedBody,
|
|
1739
|
+
errorCode
|
|
1740
|
+
});
|
|
1741
|
+
}
|
|
1742
|
+
}, "de_DeleteBGPPeerCommandError");
|
|
1743
|
+
var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1744
|
+
if (output.statusCode >= 300) {
|
|
1745
|
+
return de_DeleteConnectionCommandError(output, context);
|
|
1746
|
+
}
|
|
1747
|
+
const data = await parseBody(output.body, context);
|
|
1748
|
+
let contents = {};
|
|
1749
|
+
contents = de_Connection(data, context);
|
|
1750
|
+
const response = {
|
|
1751
|
+
$metadata: deserializeMetadata(output),
|
|
1752
|
+
...contents
|
|
1753
|
+
};
|
|
1754
|
+
return response;
|
|
1755
|
+
}, "de_DeleteConnectionCommand");
|
|
1756
|
+
var de_DeleteConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1757
|
+
const parsedOutput = {
|
|
1758
|
+
...output,
|
|
1759
|
+
body: await parseErrorBody(output.body, context)
|
|
1760
|
+
};
|
|
1761
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1762
|
+
switch (errorCode) {
|
|
1763
|
+
case "DirectConnectClientException":
|
|
1764
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1765
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1766
|
+
case "DirectConnectServerException":
|
|
1767
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1768
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1769
|
+
default:
|
|
1770
|
+
const parsedBody = parsedOutput.body;
|
|
1771
|
+
return throwDefaultError({
|
|
1772
|
+
output,
|
|
1773
|
+
parsedBody,
|
|
1774
|
+
errorCode
|
|
1775
|
+
});
|
|
1776
|
+
}
|
|
1777
|
+
}, "de_DeleteConnectionCommandError");
|
|
1778
|
+
var de_DeleteDirectConnectGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1779
|
+
if (output.statusCode >= 300) {
|
|
1780
|
+
return de_DeleteDirectConnectGatewayCommandError(output, context);
|
|
1781
|
+
}
|
|
1782
|
+
const data = await parseBody(output.body, context);
|
|
1783
|
+
let contents = {};
|
|
1784
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1785
|
+
const response = {
|
|
1786
|
+
$metadata: deserializeMetadata(output),
|
|
1787
|
+
...contents
|
|
1788
|
+
};
|
|
1789
|
+
return response;
|
|
1790
|
+
}, "de_DeleteDirectConnectGatewayCommand");
|
|
1791
|
+
var de_DeleteDirectConnectGatewayCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1792
|
+
const parsedOutput = {
|
|
1793
|
+
...output,
|
|
1794
|
+
body: await parseErrorBody(output.body, context)
|
|
1795
|
+
};
|
|
1796
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1797
|
+
switch (errorCode) {
|
|
1798
|
+
case "DirectConnectClientException":
|
|
1799
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1800
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1801
|
+
case "DirectConnectServerException":
|
|
1802
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1803
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1804
|
+
default:
|
|
1805
|
+
const parsedBody = parsedOutput.body;
|
|
1806
|
+
return throwDefaultError({
|
|
1807
|
+
output,
|
|
1808
|
+
parsedBody,
|
|
1809
|
+
errorCode
|
|
1810
|
+
});
|
|
1811
|
+
}
|
|
1812
|
+
}, "de_DeleteDirectConnectGatewayCommandError");
|
|
1813
|
+
var de_DeleteDirectConnectGatewayAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1814
|
+
if (output.statusCode >= 300) {
|
|
1815
|
+
return de_DeleteDirectConnectGatewayAssociationCommandError(output, context);
|
|
1816
|
+
}
|
|
1817
|
+
const data = await parseBody(output.body, context);
|
|
1818
|
+
let contents = {};
|
|
1819
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1820
|
+
const response = {
|
|
1821
|
+
$metadata: deserializeMetadata(output),
|
|
1822
|
+
...contents
|
|
1823
|
+
};
|
|
1824
|
+
return response;
|
|
1825
|
+
}, "de_DeleteDirectConnectGatewayAssociationCommand");
|
|
1826
|
+
var de_DeleteDirectConnectGatewayAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1827
|
+
const parsedOutput = {
|
|
1828
|
+
...output,
|
|
1829
|
+
body: await parseErrorBody(output.body, context)
|
|
1830
|
+
};
|
|
1831
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1832
|
+
switch (errorCode) {
|
|
1833
|
+
case "DirectConnectClientException":
|
|
1834
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1835
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1836
|
+
case "DirectConnectServerException":
|
|
1837
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1838
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1839
|
+
default:
|
|
1840
|
+
const parsedBody = parsedOutput.body;
|
|
1841
|
+
return throwDefaultError({
|
|
1842
|
+
output,
|
|
1843
|
+
parsedBody,
|
|
1844
|
+
errorCode
|
|
1845
|
+
});
|
|
1846
|
+
}
|
|
1847
|
+
}, "de_DeleteDirectConnectGatewayAssociationCommandError");
|
|
1848
|
+
var de_DeleteDirectConnectGatewayAssociationProposalCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1849
|
+
if (output.statusCode >= 300) {
|
|
1850
|
+
return de_DeleteDirectConnectGatewayAssociationProposalCommandError(output, context);
|
|
1851
|
+
}
|
|
1852
|
+
const data = await parseBody(output.body, context);
|
|
1853
|
+
let contents = {};
|
|
1854
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1855
|
+
const response = {
|
|
1856
|
+
$metadata: deserializeMetadata(output),
|
|
1857
|
+
...contents
|
|
1858
|
+
};
|
|
1859
|
+
return response;
|
|
1860
|
+
}, "de_DeleteDirectConnectGatewayAssociationProposalCommand");
|
|
1861
|
+
var de_DeleteDirectConnectGatewayAssociationProposalCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1862
|
+
const parsedOutput = {
|
|
1863
|
+
...output,
|
|
1864
|
+
body: await parseErrorBody(output.body, context)
|
|
1865
|
+
};
|
|
1866
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1867
|
+
switch (errorCode) {
|
|
1868
|
+
case "DirectConnectClientException":
|
|
1869
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1870
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1871
|
+
case "DirectConnectServerException":
|
|
1872
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1873
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1874
|
+
default:
|
|
1875
|
+
const parsedBody = parsedOutput.body;
|
|
1876
|
+
return throwDefaultError({
|
|
1877
|
+
output,
|
|
1878
|
+
parsedBody,
|
|
1879
|
+
errorCode
|
|
1880
|
+
});
|
|
1881
|
+
}
|
|
1882
|
+
}, "de_DeleteDirectConnectGatewayAssociationProposalCommandError");
|
|
1883
|
+
var de_DeleteInterconnectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1884
|
+
if (output.statusCode >= 300) {
|
|
1885
|
+
return de_DeleteInterconnectCommandError(output, context);
|
|
1886
|
+
}
|
|
1887
|
+
const data = await parseBody(output.body, context);
|
|
1888
|
+
let contents = {};
|
|
1889
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1890
|
+
const response = {
|
|
1891
|
+
$metadata: deserializeMetadata(output),
|
|
1892
|
+
...contents
|
|
1893
|
+
};
|
|
1894
|
+
return response;
|
|
1895
|
+
}, "de_DeleteInterconnectCommand");
|
|
1896
|
+
var de_DeleteInterconnectCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1897
|
+
const parsedOutput = {
|
|
1898
|
+
...output,
|
|
1899
|
+
body: await parseErrorBody(output.body, context)
|
|
1900
|
+
};
|
|
1901
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1902
|
+
switch (errorCode) {
|
|
1903
|
+
case "DirectConnectClientException":
|
|
1904
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1905
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1906
|
+
case "DirectConnectServerException":
|
|
1907
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1908
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1909
|
+
default:
|
|
1910
|
+
const parsedBody = parsedOutput.body;
|
|
1911
|
+
return throwDefaultError({
|
|
1912
|
+
output,
|
|
1913
|
+
parsedBody,
|
|
1914
|
+
errorCode
|
|
1915
|
+
});
|
|
1916
|
+
}
|
|
1917
|
+
}, "de_DeleteInterconnectCommandError");
|
|
1918
|
+
var de_DeleteLagCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1919
|
+
if (output.statusCode >= 300) {
|
|
1920
|
+
return de_DeleteLagCommandError(output, context);
|
|
1921
|
+
}
|
|
1922
|
+
const data = await parseBody(output.body, context);
|
|
1923
|
+
let contents = {};
|
|
1924
|
+
contents = de_Lag(data, context);
|
|
1925
|
+
const response = {
|
|
1926
|
+
$metadata: deserializeMetadata(output),
|
|
1927
|
+
...contents
|
|
1928
|
+
};
|
|
1929
|
+
return response;
|
|
1930
|
+
}, "de_DeleteLagCommand");
|
|
1931
|
+
var de_DeleteLagCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1932
|
+
const parsedOutput = {
|
|
1933
|
+
...output,
|
|
1934
|
+
body: await parseErrorBody(output.body, context)
|
|
1935
|
+
};
|
|
1936
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1937
|
+
switch (errorCode) {
|
|
1938
|
+
case "DirectConnectClientException":
|
|
1939
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1940
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1941
|
+
case "DirectConnectServerException":
|
|
1942
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1943
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1944
|
+
default:
|
|
1945
|
+
const parsedBody = parsedOutput.body;
|
|
1946
|
+
return throwDefaultError({
|
|
1947
|
+
output,
|
|
1948
|
+
parsedBody,
|
|
1949
|
+
errorCode
|
|
1950
|
+
});
|
|
1951
|
+
}
|
|
1952
|
+
}, "de_DeleteLagCommandError");
|
|
1953
|
+
var de_DeleteVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1954
|
+
if (output.statusCode >= 300) {
|
|
1955
|
+
return de_DeleteVirtualInterfaceCommandError(output, context);
|
|
1956
|
+
}
|
|
1957
|
+
const data = await parseBody(output.body, context);
|
|
1958
|
+
let contents = {};
|
|
1959
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1960
|
+
const response = {
|
|
1961
|
+
$metadata: deserializeMetadata(output),
|
|
1962
|
+
...contents
|
|
1963
|
+
};
|
|
1964
|
+
return response;
|
|
1965
|
+
}, "de_DeleteVirtualInterfaceCommand");
|
|
1966
|
+
var de_DeleteVirtualInterfaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1967
|
+
const parsedOutput = {
|
|
1968
|
+
...output,
|
|
1969
|
+
body: await parseErrorBody(output.body, context)
|
|
1970
|
+
};
|
|
1971
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1972
|
+
switch (errorCode) {
|
|
1973
|
+
case "DirectConnectClientException":
|
|
1974
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1975
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1976
|
+
case "DirectConnectServerException":
|
|
1977
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1978
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1979
|
+
default:
|
|
1980
|
+
const parsedBody = parsedOutput.body;
|
|
1981
|
+
return throwDefaultError({
|
|
1982
|
+
output,
|
|
1983
|
+
parsedBody,
|
|
1984
|
+
errorCode
|
|
1985
|
+
});
|
|
1986
|
+
}
|
|
1987
|
+
}, "de_DeleteVirtualInterfaceCommandError");
|
|
1988
|
+
var de_DescribeConnectionLoaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1989
|
+
if (output.statusCode >= 300) {
|
|
1990
|
+
return de_DescribeConnectionLoaCommandError(output, context);
|
|
1991
|
+
}
|
|
1992
|
+
const data = await parseBody(output.body, context);
|
|
1993
|
+
let contents = {};
|
|
1994
|
+
contents = de_DescribeConnectionLoaResponse(data, context);
|
|
1995
|
+
const response = {
|
|
1996
|
+
$metadata: deserializeMetadata(output),
|
|
1997
|
+
...contents
|
|
1998
|
+
};
|
|
1999
|
+
return response;
|
|
2000
|
+
}, "de_DescribeConnectionLoaCommand");
|
|
2001
|
+
var de_DescribeConnectionLoaCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2002
|
+
const parsedOutput = {
|
|
2003
|
+
...output,
|
|
2004
|
+
body: await parseErrorBody(output.body, context)
|
|
2005
|
+
};
|
|
2006
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2007
|
+
switch (errorCode) {
|
|
2008
|
+
case "DirectConnectClientException":
|
|
2009
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2010
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2011
|
+
case "DirectConnectServerException":
|
|
2012
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2013
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2014
|
+
default:
|
|
2015
|
+
const parsedBody = parsedOutput.body;
|
|
2016
|
+
return throwDefaultError({
|
|
2017
|
+
output,
|
|
2018
|
+
parsedBody,
|
|
2019
|
+
errorCode
|
|
2020
|
+
});
|
|
2021
|
+
}
|
|
2022
|
+
}, "de_DescribeConnectionLoaCommandError");
|
|
2023
|
+
var de_DescribeConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2024
|
+
if (output.statusCode >= 300) {
|
|
2025
|
+
return de_DescribeConnectionsCommandError(output, context);
|
|
2026
|
+
}
|
|
2027
|
+
const data = await parseBody(output.body, context);
|
|
2028
|
+
let contents = {};
|
|
2029
|
+
contents = de_Connections(data, context);
|
|
2030
|
+
const response = {
|
|
2031
|
+
$metadata: deserializeMetadata(output),
|
|
2032
|
+
...contents
|
|
2033
|
+
};
|
|
2034
|
+
return response;
|
|
2035
|
+
}, "de_DescribeConnectionsCommand");
|
|
2036
|
+
var de_DescribeConnectionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2037
|
+
const parsedOutput = {
|
|
2038
|
+
...output,
|
|
2039
|
+
body: await parseErrorBody(output.body, context)
|
|
2040
|
+
};
|
|
2041
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2042
|
+
switch (errorCode) {
|
|
2043
|
+
case "DirectConnectClientException":
|
|
2044
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2045
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2046
|
+
case "DirectConnectServerException":
|
|
2047
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2048
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2049
|
+
default:
|
|
2050
|
+
const parsedBody = parsedOutput.body;
|
|
2051
|
+
return throwDefaultError({
|
|
2052
|
+
output,
|
|
2053
|
+
parsedBody,
|
|
2054
|
+
errorCode
|
|
2055
|
+
});
|
|
2056
|
+
}
|
|
2057
|
+
}, "de_DescribeConnectionsCommandError");
|
|
2058
|
+
var de_DescribeConnectionsOnInterconnectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2059
|
+
if (output.statusCode >= 300) {
|
|
2060
|
+
return de_DescribeConnectionsOnInterconnectCommandError(output, context);
|
|
2061
|
+
}
|
|
2062
|
+
const data = await parseBody(output.body, context);
|
|
2063
|
+
let contents = {};
|
|
2064
|
+
contents = de_Connections(data, context);
|
|
2065
|
+
const response = {
|
|
2066
|
+
$metadata: deserializeMetadata(output),
|
|
2067
|
+
...contents
|
|
2068
|
+
};
|
|
2069
|
+
return response;
|
|
2070
|
+
}, "de_DescribeConnectionsOnInterconnectCommand");
|
|
2071
|
+
var de_DescribeConnectionsOnInterconnectCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2072
|
+
const parsedOutput = {
|
|
2073
|
+
...output,
|
|
2074
|
+
body: await parseErrorBody(output.body, context)
|
|
2075
|
+
};
|
|
2076
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2077
|
+
switch (errorCode) {
|
|
2078
|
+
case "DirectConnectClientException":
|
|
2079
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2080
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2081
|
+
case "DirectConnectServerException":
|
|
2082
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2083
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2084
|
+
default:
|
|
2085
|
+
const parsedBody = parsedOutput.body;
|
|
2086
|
+
return throwDefaultError({
|
|
2087
|
+
output,
|
|
2088
|
+
parsedBody,
|
|
2089
|
+
errorCode
|
|
2090
|
+
});
|
|
2091
|
+
}
|
|
2092
|
+
}, "de_DescribeConnectionsOnInterconnectCommandError");
|
|
2093
|
+
var de_DescribeCustomerMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2094
|
+
if (output.statusCode >= 300) {
|
|
2095
|
+
return de_DescribeCustomerMetadataCommandError(output, context);
|
|
2096
|
+
}
|
|
2097
|
+
const data = await parseBody(output.body, context);
|
|
2098
|
+
let contents = {};
|
|
2099
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2100
|
+
const response = {
|
|
2101
|
+
$metadata: deserializeMetadata(output),
|
|
2102
|
+
...contents
|
|
2103
|
+
};
|
|
2104
|
+
return response;
|
|
2105
|
+
}, "de_DescribeCustomerMetadataCommand");
|
|
2106
|
+
var de_DescribeCustomerMetadataCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2107
|
+
const parsedOutput = {
|
|
2108
|
+
...output,
|
|
2109
|
+
body: await parseErrorBody(output.body, context)
|
|
2110
|
+
};
|
|
2111
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2112
|
+
switch (errorCode) {
|
|
2113
|
+
case "DirectConnectClientException":
|
|
2114
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2115
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2116
|
+
case "DirectConnectServerException":
|
|
2117
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2118
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2119
|
+
default:
|
|
2120
|
+
const parsedBody = parsedOutput.body;
|
|
2121
|
+
return throwDefaultError({
|
|
2122
|
+
output,
|
|
2123
|
+
parsedBody,
|
|
2124
|
+
errorCode
|
|
2125
|
+
});
|
|
2126
|
+
}
|
|
2127
|
+
}, "de_DescribeCustomerMetadataCommandError");
|
|
2128
|
+
var de_DescribeDirectConnectGatewayAssociationProposalsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2129
|
+
if (output.statusCode >= 300) {
|
|
2130
|
+
return de_DescribeDirectConnectGatewayAssociationProposalsCommandError(output, context);
|
|
2131
|
+
}
|
|
2132
|
+
const data = await parseBody(output.body, context);
|
|
2133
|
+
let contents = {};
|
|
2134
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2135
|
+
const response = {
|
|
2136
|
+
$metadata: deserializeMetadata(output),
|
|
2137
|
+
...contents
|
|
2138
|
+
};
|
|
2139
|
+
return response;
|
|
2140
|
+
}, "de_DescribeDirectConnectGatewayAssociationProposalsCommand");
|
|
2141
|
+
var de_DescribeDirectConnectGatewayAssociationProposalsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2142
|
+
const parsedOutput = {
|
|
2143
|
+
...output,
|
|
2144
|
+
body: await parseErrorBody(output.body, context)
|
|
2145
|
+
};
|
|
2146
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2147
|
+
switch (errorCode) {
|
|
2148
|
+
case "DirectConnectClientException":
|
|
2149
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2150
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2151
|
+
case "DirectConnectServerException":
|
|
2152
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2153
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2154
|
+
default:
|
|
2155
|
+
const parsedBody = parsedOutput.body;
|
|
2156
|
+
return throwDefaultError({
|
|
2157
|
+
output,
|
|
2158
|
+
parsedBody,
|
|
2159
|
+
errorCode
|
|
2160
|
+
});
|
|
2161
|
+
}
|
|
2162
|
+
}, "de_DescribeDirectConnectGatewayAssociationProposalsCommandError");
|
|
2163
|
+
var de_DescribeDirectConnectGatewayAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2164
|
+
if (output.statusCode >= 300) {
|
|
2165
|
+
return de_DescribeDirectConnectGatewayAssociationsCommandError(output, context);
|
|
2166
|
+
}
|
|
2167
|
+
const data = await parseBody(output.body, context);
|
|
2168
|
+
let contents = {};
|
|
2169
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2170
|
+
const response = {
|
|
2171
|
+
$metadata: deserializeMetadata(output),
|
|
2172
|
+
...contents
|
|
2173
|
+
};
|
|
2174
|
+
return response;
|
|
2175
|
+
}, "de_DescribeDirectConnectGatewayAssociationsCommand");
|
|
2176
|
+
var de_DescribeDirectConnectGatewayAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2177
|
+
const parsedOutput = {
|
|
2178
|
+
...output,
|
|
2179
|
+
body: await parseErrorBody(output.body, context)
|
|
2180
|
+
};
|
|
2181
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2182
|
+
switch (errorCode) {
|
|
2183
|
+
case "DirectConnectClientException":
|
|
2184
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2185
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2186
|
+
case "DirectConnectServerException":
|
|
2187
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2188
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2189
|
+
default:
|
|
2190
|
+
const parsedBody = parsedOutput.body;
|
|
2191
|
+
return throwDefaultError({
|
|
2192
|
+
output,
|
|
2193
|
+
parsedBody,
|
|
2194
|
+
errorCode
|
|
2195
|
+
});
|
|
2196
|
+
}
|
|
2197
|
+
}, "de_DescribeDirectConnectGatewayAssociationsCommandError");
|
|
2198
|
+
var de_DescribeDirectConnectGatewayAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2199
|
+
if (output.statusCode >= 300) {
|
|
2200
|
+
return de_DescribeDirectConnectGatewayAttachmentsCommandError(output, context);
|
|
2201
|
+
}
|
|
2202
|
+
const data = await parseBody(output.body, context);
|
|
2203
|
+
let contents = {};
|
|
2204
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2205
|
+
const response = {
|
|
2206
|
+
$metadata: deserializeMetadata(output),
|
|
2207
|
+
...contents
|
|
2208
|
+
};
|
|
2209
|
+
return response;
|
|
2210
|
+
}, "de_DescribeDirectConnectGatewayAttachmentsCommand");
|
|
2211
|
+
var de_DescribeDirectConnectGatewayAttachmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2212
|
+
const parsedOutput = {
|
|
2213
|
+
...output,
|
|
2214
|
+
body: await parseErrorBody(output.body, context)
|
|
2215
|
+
};
|
|
2216
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2217
|
+
switch (errorCode) {
|
|
2218
|
+
case "DirectConnectClientException":
|
|
2219
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2220
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2221
|
+
case "DirectConnectServerException":
|
|
2222
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2223
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2224
|
+
default:
|
|
2225
|
+
const parsedBody = parsedOutput.body;
|
|
2226
|
+
return throwDefaultError({
|
|
2227
|
+
output,
|
|
2228
|
+
parsedBody,
|
|
2229
|
+
errorCode
|
|
2230
|
+
});
|
|
2231
|
+
}
|
|
2232
|
+
}, "de_DescribeDirectConnectGatewayAttachmentsCommandError");
|
|
2233
|
+
var de_DescribeDirectConnectGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2234
|
+
if (output.statusCode >= 300) {
|
|
2235
|
+
return de_DescribeDirectConnectGatewaysCommandError(output, context);
|
|
2236
|
+
}
|
|
2237
|
+
const data = await parseBody(output.body, context);
|
|
2238
|
+
let contents = {};
|
|
2239
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2240
|
+
const response = {
|
|
2241
|
+
$metadata: deserializeMetadata(output),
|
|
2242
|
+
...contents
|
|
2243
|
+
};
|
|
2244
|
+
return response;
|
|
2245
|
+
}, "de_DescribeDirectConnectGatewaysCommand");
|
|
2246
|
+
var de_DescribeDirectConnectGatewaysCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2247
|
+
const parsedOutput = {
|
|
2248
|
+
...output,
|
|
2249
|
+
body: await parseErrorBody(output.body, context)
|
|
2250
|
+
};
|
|
2251
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2252
|
+
switch (errorCode) {
|
|
2253
|
+
case "DirectConnectClientException":
|
|
2254
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2255
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2256
|
+
case "DirectConnectServerException":
|
|
2257
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2258
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2259
|
+
default:
|
|
2260
|
+
const parsedBody = parsedOutput.body;
|
|
2261
|
+
return throwDefaultError({
|
|
2262
|
+
output,
|
|
2263
|
+
parsedBody,
|
|
2264
|
+
errorCode
|
|
2265
|
+
});
|
|
2266
|
+
}
|
|
2267
|
+
}, "de_DescribeDirectConnectGatewaysCommandError");
|
|
2268
|
+
var de_DescribeHostedConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2269
|
+
if (output.statusCode >= 300) {
|
|
2270
|
+
return de_DescribeHostedConnectionsCommandError(output, context);
|
|
2271
|
+
}
|
|
2272
|
+
const data = await parseBody(output.body, context);
|
|
2273
|
+
let contents = {};
|
|
2274
|
+
contents = de_Connections(data, context);
|
|
2275
|
+
const response = {
|
|
2276
|
+
$metadata: deserializeMetadata(output),
|
|
2277
|
+
...contents
|
|
2278
|
+
};
|
|
2279
|
+
return response;
|
|
2280
|
+
}, "de_DescribeHostedConnectionsCommand");
|
|
2281
|
+
var de_DescribeHostedConnectionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2282
|
+
const parsedOutput = {
|
|
2283
|
+
...output,
|
|
2284
|
+
body: await parseErrorBody(output.body, context)
|
|
2285
|
+
};
|
|
2286
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2287
|
+
switch (errorCode) {
|
|
2288
|
+
case "DirectConnectClientException":
|
|
2289
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2290
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2291
|
+
case "DirectConnectServerException":
|
|
2292
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2293
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2294
|
+
default:
|
|
2295
|
+
const parsedBody = parsedOutput.body;
|
|
2296
|
+
return throwDefaultError({
|
|
2297
|
+
output,
|
|
2298
|
+
parsedBody,
|
|
2299
|
+
errorCode
|
|
2300
|
+
});
|
|
2301
|
+
}
|
|
2302
|
+
}, "de_DescribeHostedConnectionsCommandError");
|
|
2303
|
+
var de_DescribeInterconnectLoaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2304
|
+
if (output.statusCode >= 300) {
|
|
2305
|
+
return de_DescribeInterconnectLoaCommandError(output, context);
|
|
2306
|
+
}
|
|
2307
|
+
const data = await parseBody(output.body, context);
|
|
2308
|
+
let contents = {};
|
|
2309
|
+
contents = de_DescribeInterconnectLoaResponse(data, context);
|
|
2310
|
+
const response = {
|
|
2311
|
+
$metadata: deserializeMetadata(output),
|
|
2312
|
+
...contents
|
|
2313
|
+
};
|
|
2314
|
+
return response;
|
|
2315
|
+
}, "de_DescribeInterconnectLoaCommand");
|
|
2316
|
+
var de_DescribeInterconnectLoaCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2317
|
+
const parsedOutput = {
|
|
2318
|
+
...output,
|
|
2319
|
+
body: await parseErrorBody(output.body, context)
|
|
2320
|
+
};
|
|
2321
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2322
|
+
switch (errorCode) {
|
|
2323
|
+
case "DirectConnectClientException":
|
|
2324
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2325
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2326
|
+
case "DirectConnectServerException":
|
|
2327
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2328
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2329
|
+
default:
|
|
2330
|
+
const parsedBody = parsedOutput.body;
|
|
2331
|
+
return throwDefaultError({
|
|
2332
|
+
output,
|
|
2333
|
+
parsedBody,
|
|
2334
|
+
errorCode
|
|
2335
|
+
});
|
|
2336
|
+
}
|
|
2337
|
+
}, "de_DescribeInterconnectLoaCommandError");
|
|
2338
|
+
var de_DescribeInterconnectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2339
|
+
if (output.statusCode >= 300) {
|
|
2340
|
+
return de_DescribeInterconnectsCommandError(output, context);
|
|
2341
|
+
}
|
|
2342
|
+
const data = await parseBody(output.body, context);
|
|
2343
|
+
let contents = {};
|
|
2344
|
+
contents = de_Interconnects(data, context);
|
|
2345
|
+
const response = {
|
|
2346
|
+
$metadata: deserializeMetadata(output),
|
|
2347
|
+
...contents
|
|
2348
|
+
};
|
|
2349
|
+
return response;
|
|
2350
|
+
}, "de_DescribeInterconnectsCommand");
|
|
2351
|
+
var de_DescribeInterconnectsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2352
|
+
const parsedOutput = {
|
|
2353
|
+
...output,
|
|
2354
|
+
body: await parseErrorBody(output.body, context)
|
|
2355
|
+
};
|
|
2356
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2357
|
+
switch (errorCode) {
|
|
2358
|
+
case "DirectConnectClientException":
|
|
2359
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2360
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2361
|
+
case "DirectConnectServerException":
|
|
2362
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2363
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2364
|
+
default:
|
|
2365
|
+
const parsedBody = parsedOutput.body;
|
|
2366
|
+
return throwDefaultError({
|
|
2367
|
+
output,
|
|
2368
|
+
parsedBody,
|
|
2369
|
+
errorCode
|
|
2370
|
+
});
|
|
2371
|
+
}
|
|
2372
|
+
}, "de_DescribeInterconnectsCommandError");
|
|
2373
|
+
var de_DescribeLagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2374
|
+
if (output.statusCode >= 300) {
|
|
2375
|
+
return de_DescribeLagsCommandError(output, context);
|
|
2376
|
+
}
|
|
2377
|
+
const data = await parseBody(output.body, context);
|
|
2378
|
+
let contents = {};
|
|
2379
|
+
contents = de_Lags(data, context);
|
|
2380
|
+
const response = {
|
|
2381
|
+
$metadata: deserializeMetadata(output),
|
|
2382
|
+
...contents
|
|
2383
|
+
};
|
|
2384
|
+
return response;
|
|
2385
|
+
}, "de_DescribeLagsCommand");
|
|
2386
|
+
var de_DescribeLagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2387
|
+
const parsedOutput = {
|
|
2388
|
+
...output,
|
|
2389
|
+
body: await parseErrorBody(output.body, context)
|
|
2390
|
+
};
|
|
2391
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2392
|
+
switch (errorCode) {
|
|
2393
|
+
case "DirectConnectClientException":
|
|
2394
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2395
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2396
|
+
case "DirectConnectServerException":
|
|
2397
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2398
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2399
|
+
default:
|
|
2400
|
+
const parsedBody = parsedOutput.body;
|
|
2401
|
+
return throwDefaultError({
|
|
2402
|
+
output,
|
|
2403
|
+
parsedBody,
|
|
2404
|
+
errorCode
|
|
2405
|
+
});
|
|
2406
|
+
}
|
|
2407
|
+
}, "de_DescribeLagsCommandError");
|
|
2408
|
+
var de_DescribeLoaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2409
|
+
if (output.statusCode >= 300) {
|
|
2410
|
+
return de_DescribeLoaCommandError(output, context);
|
|
2411
|
+
}
|
|
2412
|
+
const data = await parseBody(output.body, context);
|
|
2413
|
+
let contents = {};
|
|
2414
|
+
contents = de_Loa(data, context);
|
|
2415
|
+
const response = {
|
|
2416
|
+
$metadata: deserializeMetadata(output),
|
|
2417
|
+
...contents
|
|
2418
|
+
};
|
|
2419
|
+
return response;
|
|
2420
|
+
}, "de_DescribeLoaCommand");
|
|
2421
|
+
var de_DescribeLoaCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2422
|
+
const parsedOutput = {
|
|
2423
|
+
...output,
|
|
2424
|
+
body: await parseErrorBody(output.body, context)
|
|
2425
|
+
};
|
|
2426
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2427
|
+
switch (errorCode) {
|
|
2428
|
+
case "DirectConnectClientException":
|
|
2429
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2430
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2431
|
+
case "DirectConnectServerException":
|
|
2432
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2433
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2434
|
+
default:
|
|
2435
|
+
const parsedBody = parsedOutput.body;
|
|
2436
|
+
return throwDefaultError({
|
|
2437
|
+
output,
|
|
2438
|
+
parsedBody,
|
|
2439
|
+
errorCode
|
|
2440
|
+
});
|
|
2441
|
+
}
|
|
2442
|
+
}, "de_DescribeLoaCommandError");
|
|
2443
|
+
var de_DescribeLocationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2444
|
+
if (output.statusCode >= 300) {
|
|
2445
|
+
return de_DescribeLocationsCommandError(output, context);
|
|
2446
|
+
}
|
|
2447
|
+
const data = await parseBody(output.body, context);
|
|
2448
|
+
let contents = {};
|
|
2449
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2450
|
+
const response = {
|
|
2451
|
+
$metadata: deserializeMetadata(output),
|
|
2452
|
+
...contents
|
|
2453
|
+
};
|
|
2454
|
+
return response;
|
|
2455
|
+
}, "de_DescribeLocationsCommand");
|
|
2456
|
+
var de_DescribeLocationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2457
|
+
const parsedOutput = {
|
|
2458
|
+
...output,
|
|
2459
|
+
body: await parseErrorBody(output.body, context)
|
|
2460
|
+
};
|
|
2461
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2462
|
+
switch (errorCode) {
|
|
2463
|
+
case "DirectConnectClientException":
|
|
2464
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2465
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2466
|
+
case "DirectConnectServerException":
|
|
2467
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2468
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2469
|
+
default:
|
|
2470
|
+
const parsedBody = parsedOutput.body;
|
|
2471
|
+
return throwDefaultError({
|
|
2472
|
+
output,
|
|
2473
|
+
parsedBody,
|
|
2474
|
+
errorCode
|
|
2475
|
+
});
|
|
2476
|
+
}
|
|
2477
|
+
}, "de_DescribeLocationsCommandError");
|
|
2478
|
+
var de_DescribeRouterConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2479
|
+
if (output.statusCode >= 300) {
|
|
2480
|
+
return de_DescribeRouterConfigurationCommandError(output, context);
|
|
2481
|
+
}
|
|
2482
|
+
const data = await parseBody(output.body, context);
|
|
2483
|
+
let contents = {};
|
|
2484
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2485
|
+
const response = {
|
|
2486
|
+
$metadata: deserializeMetadata(output),
|
|
2487
|
+
...contents
|
|
2488
|
+
};
|
|
2489
|
+
return response;
|
|
2490
|
+
}, "de_DescribeRouterConfigurationCommand");
|
|
2491
|
+
var de_DescribeRouterConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2492
|
+
const parsedOutput = {
|
|
2493
|
+
...output,
|
|
2494
|
+
body: await parseErrorBody(output.body, context)
|
|
2495
|
+
};
|
|
2496
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2497
|
+
switch (errorCode) {
|
|
2498
|
+
case "DirectConnectClientException":
|
|
2499
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2500
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2501
|
+
case "DirectConnectServerException":
|
|
2502
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2503
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2504
|
+
default:
|
|
2505
|
+
const parsedBody = parsedOutput.body;
|
|
2506
|
+
return throwDefaultError({
|
|
2507
|
+
output,
|
|
2508
|
+
parsedBody,
|
|
2509
|
+
errorCode
|
|
2510
|
+
});
|
|
2511
|
+
}
|
|
2512
|
+
}, "de_DescribeRouterConfigurationCommandError");
|
|
2513
|
+
var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2514
|
+
if (output.statusCode >= 300) {
|
|
2515
|
+
return de_DescribeTagsCommandError(output, context);
|
|
2516
|
+
}
|
|
2517
|
+
const data = await parseBody(output.body, context);
|
|
2518
|
+
let contents = {};
|
|
2519
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2520
|
+
const response = {
|
|
2521
|
+
$metadata: deserializeMetadata(output),
|
|
2522
|
+
...contents
|
|
2523
|
+
};
|
|
2524
|
+
return response;
|
|
2525
|
+
}, "de_DescribeTagsCommand");
|
|
2526
|
+
var de_DescribeTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2527
|
+
const parsedOutput = {
|
|
2528
|
+
...output,
|
|
2529
|
+
body: await parseErrorBody(output.body, context)
|
|
2530
|
+
};
|
|
2531
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2532
|
+
switch (errorCode) {
|
|
2533
|
+
case "DirectConnectClientException":
|
|
2534
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2535
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2536
|
+
case "DirectConnectServerException":
|
|
2537
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2538
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2539
|
+
default:
|
|
2540
|
+
const parsedBody = parsedOutput.body;
|
|
2541
|
+
return throwDefaultError({
|
|
2542
|
+
output,
|
|
2543
|
+
parsedBody,
|
|
2544
|
+
errorCode
|
|
2545
|
+
});
|
|
2546
|
+
}
|
|
2547
|
+
}, "de_DescribeTagsCommandError");
|
|
2548
|
+
var de_DescribeVirtualGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2549
|
+
if (output.statusCode >= 300) {
|
|
2550
|
+
return de_DescribeVirtualGatewaysCommandError(output, context);
|
|
2551
|
+
}
|
|
2552
|
+
const data = await parseBody(output.body, context);
|
|
2553
|
+
let contents = {};
|
|
2554
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2555
|
+
const response = {
|
|
2556
|
+
$metadata: deserializeMetadata(output),
|
|
2557
|
+
...contents
|
|
2558
|
+
};
|
|
2559
|
+
return response;
|
|
2560
|
+
}, "de_DescribeVirtualGatewaysCommand");
|
|
2561
|
+
var de_DescribeVirtualGatewaysCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2562
|
+
const parsedOutput = {
|
|
2563
|
+
...output,
|
|
2564
|
+
body: await parseErrorBody(output.body, context)
|
|
2565
|
+
};
|
|
2566
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2567
|
+
switch (errorCode) {
|
|
2568
|
+
case "DirectConnectClientException":
|
|
2569
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2570
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2571
|
+
case "DirectConnectServerException":
|
|
2572
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2573
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2574
|
+
default:
|
|
2575
|
+
const parsedBody = parsedOutput.body;
|
|
2576
|
+
return throwDefaultError({
|
|
2577
|
+
output,
|
|
2578
|
+
parsedBody,
|
|
2579
|
+
errorCode
|
|
2580
|
+
});
|
|
2581
|
+
}
|
|
2582
|
+
}, "de_DescribeVirtualGatewaysCommandError");
|
|
2583
|
+
var de_DescribeVirtualInterfacesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2584
|
+
if (output.statusCode >= 300) {
|
|
2585
|
+
return de_DescribeVirtualInterfacesCommandError(output, context);
|
|
2586
|
+
}
|
|
2587
|
+
const data = await parseBody(output.body, context);
|
|
2588
|
+
let contents = {};
|
|
2589
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2590
|
+
const response = {
|
|
2591
|
+
$metadata: deserializeMetadata(output),
|
|
2592
|
+
...contents
|
|
2593
|
+
};
|
|
2594
|
+
return response;
|
|
2595
|
+
}, "de_DescribeVirtualInterfacesCommand");
|
|
2596
|
+
var de_DescribeVirtualInterfacesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2597
|
+
const parsedOutput = {
|
|
2598
|
+
...output,
|
|
2599
|
+
body: await parseErrorBody(output.body, context)
|
|
2600
|
+
};
|
|
2601
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2602
|
+
switch (errorCode) {
|
|
2603
|
+
case "DirectConnectClientException":
|
|
2604
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2605
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2606
|
+
case "DirectConnectServerException":
|
|
2607
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2608
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2609
|
+
default:
|
|
2610
|
+
const parsedBody = parsedOutput.body;
|
|
2611
|
+
return throwDefaultError({
|
|
2612
|
+
output,
|
|
2613
|
+
parsedBody,
|
|
2614
|
+
errorCode
|
|
2615
|
+
});
|
|
2616
|
+
}
|
|
2617
|
+
}, "de_DescribeVirtualInterfacesCommandError");
|
|
2618
|
+
var de_DisassociateConnectionFromLagCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2619
|
+
if (output.statusCode >= 300) {
|
|
2620
|
+
return de_DisassociateConnectionFromLagCommandError(output, context);
|
|
2621
|
+
}
|
|
2622
|
+
const data = await parseBody(output.body, context);
|
|
2623
|
+
let contents = {};
|
|
2624
|
+
contents = de_Connection(data, context);
|
|
2625
|
+
const response = {
|
|
2626
|
+
$metadata: deserializeMetadata(output),
|
|
2627
|
+
...contents
|
|
2628
|
+
};
|
|
2629
|
+
return response;
|
|
2630
|
+
}, "de_DisassociateConnectionFromLagCommand");
|
|
2631
|
+
var de_DisassociateConnectionFromLagCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2632
|
+
const parsedOutput = {
|
|
2633
|
+
...output,
|
|
2634
|
+
body: await parseErrorBody(output.body, context)
|
|
2635
|
+
};
|
|
2636
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2637
|
+
switch (errorCode) {
|
|
2638
|
+
case "DirectConnectClientException":
|
|
2639
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2640
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2641
|
+
case "DirectConnectServerException":
|
|
2642
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2643
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2644
|
+
default:
|
|
2645
|
+
const parsedBody = parsedOutput.body;
|
|
2646
|
+
return throwDefaultError({
|
|
2647
|
+
output,
|
|
2648
|
+
parsedBody,
|
|
2649
|
+
errorCode
|
|
2650
|
+
});
|
|
2651
|
+
}
|
|
2652
|
+
}, "de_DisassociateConnectionFromLagCommandError");
|
|
2653
|
+
var de_DisassociateMacSecKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2654
|
+
if (output.statusCode >= 300) {
|
|
2655
|
+
return de_DisassociateMacSecKeyCommandError(output, context);
|
|
2656
|
+
}
|
|
2657
|
+
const data = await parseBody(output.body, context);
|
|
2658
|
+
let contents = {};
|
|
2659
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2660
|
+
const response = {
|
|
2661
|
+
$metadata: deserializeMetadata(output),
|
|
2662
|
+
...contents
|
|
2663
|
+
};
|
|
2664
|
+
return response;
|
|
2665
|
+
}, "de_DisassociateMacSecKeyCommand");
|
|
2666
|
+
var de_DisassociateMacSecKeyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2667
|
+
const parsedOutput = {
|
|
2668
|
+
...output,
|
|
2669
|
+
body: await parseErrorBody(output.body, context)
|
|
2670
|
+
};
|
|
2671
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2672
|
+
switch (errorCode) {
|
|
2673
|
+
case "DirectConnectClientException":
|
|
2674
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2675
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2676
|
+
case "DirectConnectServerException":
|
|
2677
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2678
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2679
|
+
default:
|
|
2680
|
+
const parsedBody = parsedOutput.body;
|
|
2681
|
+
return throwDefaultError({
|
|
2682
|
+
output,
|
|
2683
|
+
parsedBody,
|
|
2684
|
+
errorCode
|
|
2685
|
+
});
|
|
2686
|
+
}
|
|
2687
|
+
}, "de_DisassociateMacSecKeyCommandError");
|
|
2688
|
+
var de_ListVirtualInterfaceTestHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2689
|
+
if (output.statusCode >= 300) {
|
|
2690
|
+
return de_ListVirtualInterfaceTestHistoryCommandError(output, context);
|
|
2691
|
+
}
|
|
2692
|
+
const data = await parseBody(output.body, context);
|
|
2693
|
+
let contents = {};
|
|
2694
|
+
contents = de_ListVirtualInterfaceTestHistoryResponse(data, context);
|
|
2695
|
+
const response = {
|
|
2696
|
+
$metadata: deserializeMetadata(output),
|
|
2697
|
+
...contents
|
|
2698
|
+
};
|
|
2699
|
+
return response;
|
|
2700
|
+
}, "de_ListVirtualInterfaceTestHistoryCommand");
|
|
2701
|
+
var de_ListVirtualInterfaceTestHistoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2702
|
+
const parsedOutput = {
|
|
2703
|
+
...output,
|
|
2704
|
+
body: await parseErrorBody(output.body, context)
|
|
2705
|
+
};
|
|
2706
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2707
|
+
switch (errorCode) {
|
|
2708
|
+
case "DirectConnectClientException":
|
|
2709
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2710
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2711
|
+
case "DirectConnectServerException":
|
|
2712
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2713
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2714
|
+
default:
|
|
2715
|
+
const parsedBody = parsedOutput.body;
|
|
2716
|
+
return throwDefaultError({
|
|
2717
|
+
output,
|
|
2718
|
+
parsedBody,
|
|
2719
|
+
errorCode
|
|
2720
|
+
});
|
|
2721
|
+
}
|
|
2722
|
+
}, "de_ListVirtualInterfaceTestHistoryCommandError");
|
|
2723
|
+
var de_StartBgpFailoverTestCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2724
|
+
if (output.statusCode >= 300) {
|
|
2725
|
+
return de_StartBgpFailoverTestCommandError(output, context);
|
|
2726
|
+
}
|
|
2727
|
+
const data = await parseBody(output.body, context);
|
|
2728
|
+
let contents = {};
|
|
2729
|
+
contents = de_StartBgpFailoverTestResponse(data, context);
|
|
2730
|
+
const response = {
|
|
2731
|
+
$metadata: deserializeMetadata(output),
|
|
2732
|
+
...contents
|
|
2733
|
+
};
|
|
2734
|
+
return response;
|
|
2735
|
+
}, "de_StartBgpFailoverTestCommand");
|
|
2736
|
+
var de_StartBgpFailoverTestCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2737
|
+
const parsedOutput = {
|
|
2738
|
+
...output,
|
|
2739
|
+
body: await parseErrorBody(output.body, context)
|
|
2740
|
+
};
|
|
2741
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2742
|
+
switch (errorCode) {
|
|
2743
|
+
case "DirectConnectClientException":
|
|
2744
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2745
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2746
|
+
case "DirectConnectServerException":
|
|
2747
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2748
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2749
|
+
default:
|
|
2750
|
+
const parsedBody = parsedOutput.body;
|
|
2751
|
+
return throwDefaultError({
|
|
2752
|
+
output,
|
|
2753
|
+
parsedBody,
|
|
2754
|
+
errorCode
|
|
2755
|
+
});
|
|
2756
|
+
}
|
|
2757
|
+
}, "de_StartBgpFailoverTestCommandError");
|
|
2758
|
+
var de_StopBgpFailoverTestCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2759
|
+
if (output.statusCode >= 300) {
|
|
2760
|
+
return de_StopBgpFailoverTestCommandError(output, context);
|
|
2761
|
+
}
|
|
2762
|
+
const data = await parseBody(output.body, context);
|
|
2763
|
+
let contents = {};
|
|
2764
|
+
contents = de_StopBgpFailoverTestResponse(data, context);
|
|
2765
|
+
const response = {
|
|
2766
|
+
$metadata: deserializeMetadata(output),
|
|
2767
|
+
...contents
|
|
2768
|
+
};
|
|
2769
|
+
return response;
|
|
2770
|
+
}, "de_StopBgpFailoverTestCommand");
|
|
2771
|
+
var de_StopBgpFailoverTestCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2772
|
+
const parsedOutput = {
|
|
2773
|
+
...output,
|
|
2774
|
+
body: await parseErrorBody(output.body, context)
|
|
2775
|
+
};
|
|
2776
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2777
|
+
switch (errorCode) {
|
|
2778
|
+
case "DirectConnectClientException":
|
|
2779
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2780
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2781
|
+
case "DirectConnectServerException":
|
|
2782
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2783
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2784
|
+
default:
|
|
2785
|
+
const parsedBody = parsedOutput.body;
|
|
2786
|
+
return throwDefaultError({
|
|
2787
|
+
output,
|
|
2788
|
+
parsedBody,
|
|
2789
|
+
errorCode
|
|
2790
|
+
});
|
|
2791
|
+
}
|
|
2792
|
+
}, "de_StopBgpFailoverTestCommandError");
|
|
2793
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2794
|
+
if (output.statusCode >= 300) {
|
|
2795
|
+
return de_TagResourceCommandError(output, context);
|
|
2796
|
+
}
|
|
2797
|
+
const data = await parseBody(output.body, context);
|
|
2798
|
+
let contents = {};
|
|
2799
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2800
|
+
const response = {
|
|
2801
|
+
$metadata: deserializeMetadata(output),
|
|
2802
|
+
...contents
|
|
2803
|
+
};
|
|
2804
|
+
return response;
|
|
2805
|
+
}, "de_TagResourceCommand");
|
|
2806
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2807
|
+
const parsedOutput = {
|
|
2808
|
+
...output,
|
|
2809
|
+
body: await parseErrorBody(output.body, context)
|
|
2810
|
+
};
|
|
2811
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2812
|
+
switch (errorCode) {
|
|
2813
|
+
case "DirectConnectClientException":
|
|
2814
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2815
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2816
|
+
case "DirectConnectServerException":
|
|
2817
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2818
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2819
|
+
case "DuplicateTagKeysException":
|
|
2820
|
+
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
2821
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
2822
|
+
case "TooManyTagsException":
|
|
2823
|
+
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
2824
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2825
|
+
default:
|
|
2826
|
+
const parsedBody = parsedOutput.body;
|
|
2827
|
+
return throwDefaultError({
|
|
2828
|
+
output,
|
|
2829
|
+
parsedBody,
|
|
2830
|
+
errorCode
|
|
2831
|
+
});
|
|
2832
|
+
}
|
|
2833
|
+
}, "de_TagResourceCommandError");
|
|
2834
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2835
|
+
if (output.statusCode >= 300) {
|
|
2836
|
+
return de_UntagResourceCommandError(output, context);
|
|
2837
|
+
}
|
|
2838
|
+
const data = await parseBody(output.body, context);
|
|
2839
|
+
let contents = {};
|
|
2840
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2841
|
+
const response = {
|
|
2842
|
+
$metadata: deserializeMetadata(output),
|
|
2843
|
+
...contents
|
|
2844
|
+
};
|
|
2845
|
+
return response;
|
|
2846
|
+
}, "de_UntagResourceCommand");
|
|
2847
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2848
|
+
const parsedOutput = {
|
|
2849
|
+
...output,
|
|
2850
|
+
body: await parseErrorBody(output.body, context)
|
|
2851
|
+
};
|
|
2852
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2853
|
+
switch (errorCode) {
|
|
2854
|
+
case "DirectConnectClientException":
|
|
2855
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2856
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2857
|
+
case "DirectConnectServerException":
|
|
2858
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2859
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2860
|
+
default:
|
|
2861
|
+
const parsedBody = parsedOutput.body;
|
|
2862
|
+
return throwDefaultError({
|
|
2863
|
+
output,
|
|
2864
|
+
parsedBody,
|
|
2865
|
+
errorCode
|
|
2866
|
+
});
|
|
2867
|
+
}
|
|
2868
|
+
}, "de_UntagResourceCommandError");
|
|
2869
|
+
var de_UpdateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2870
|
+
if (output.statusCode >= 300) {
|
|
2871
|
+
return de_UpdateConnectionCommandError(output, context);
|
|
2872
|
+
}
|
|
2873
|
+
const data = await parseBody(output.body, context);
|
|
2874
|
+
let contents = {};
|
|
2875
|
+
contents = de_Connection(data, context);
|
|
2876
|
+
const response = {
|
|
2877
|
+
$metadata: deserializeMetadata(output),
|
|
2878
|
+
...contents
|
|
2879
|
+
};
|
|
2880
|
+
return response;
|
|
2881
|
+
}, "de_UpdateConnectionCommand");
|
|
2882
|
+
var de_UpdateConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2883
|
+
const parsedOutput = {
|
|
2884
|
+
...output,
|
|
2885
|
+
body: await parseErrorBody(output.body, context)
|
|
2886
|
+
};
|
|
2887
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2888
|
+
switch (errorCode) {
|
|
2889
|
+
case "DirectConnectClientException":
|
|
2890
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2891
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2892
|
+
case "DirectConnectServerException":
|
|
2893
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2894
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2895
|
+
default:
|
|
2896
|
+
const parsedBody = parsedOutput.body;
|
|
2897
|
+
return throwDefaultError({
|
|
2898
|
+
output,
|
|
2899
|
+
parsedBody,
|
|
2900
|
+
errorCode
|
|
2901
|
+
});
|
|
2902
|
+
}
|
|
2903
|
+
}, "de_UpdateConnectionCommandError");
|
|
2904
|
+
var de_UpdateDirectConnectGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2905
|
+
if (output.statusCode >= 300) {
|
|
2906
|
+
return de_UpdateDirectConnectGatewayCommandError(output, context);
|
|
2907
|
+
}
|
|
2908
|
+
const data = await parseBody(output.body, context);
|
|
2909
|
+
let contents = {};
|
|
2910
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2911
|
+
const response = {
|
|
2912
|
+
$metadata: deserializeMetadata(output),
|
|
2913
|
+
...contents
|
|
2914
|
+
};
|
|
2915
|
+
return response;
|
|
2916
|
+
}, "de_UpdateDirectConnectGatewayCommand");
|
|
2917
|
+
var de_UpdateDirectConnectGatewayCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2918
|
+
const parsedOutput = {
|
|
2919
|
+
...output,
|
|
2920
|
+
body: await parseErrorBody(output.body, context)
|
|
2921
|
+
};
|
|
2922
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2923
|
+
switch (errorCode) {
|
|
2924
|
+
case "DirectConnectClientException":
|
|
2925
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2926
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2927
|
+
case "DirectConnectServerException":
|
|
2928
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2929
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2930
|
+
default:
|
|
2931
|
+
const parsedBody = parsedOutput.body;
|
|
2932
|
+
return throwDefaultError({
|
|
2933
|
+
output,
|
|
2934
|
+
parsedBody,
|
|
2935
|
+
errorCode
|
|
2936
|
+
});
|
|
2937
|
+
}
|
|
2938
|
+
}, "de_UpdateDirectConnectGatewayCommandError");
|
|
2939
|
+
var de_UpdateDirectConnectGatewayAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2940
|
+
if (output.statusCode >= 300) {
|
|
2941
|
+
return de_UpdateDirectConnectGatewayAssociationCommandError(output, context);
|
|
2942
|
+
}
|
|
2943
|
+
const data = await parseBody(output.body, context);
|
|
2944
|
+
let contents = {};
|
|
2945
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2946
|
+
const response = {
|
|
2947
|
+
$metadata: deserializeMetadata(output),
|
|
2948
|
+
...contents
|
|
2949
|
+
};
|
|
2950
|
+
return response;
|
|
2951
|
+
}, "de_UpdateDirectConnectGatewayAssociationCommand");
|
|
2952
|
+
var de_UpdateDirectConnectGatewayAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2953
|
+
const parsedOutput = {
|
|
2954
|
+
...output,
|
|
2955
|
+
body: await parseErrorBody(output.body, context)
|
|
2956
|
+
};
|
|
2957
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2958
|
+
switch (errorCode) {
|
|
2959
|
+
case "DirectConnectClientException":
|
|
2960
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2961
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2962
|
+
case "DirectConnectServerException":
|
|
2963
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2964
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2965
|
+
default:
|
|
2966
|
+
const parsedBody = parsedOutput.body;
|
|
2967
|
+
return throwDefaultError({
|
|
2968
|
+
output,
|
|
2969
|
+
parsedBody,
|
|
2970
|
+
errorCode
|
|
2971
|
+
});
|
|
2972
|
+
}
|
|
2973
|
+
}, "de_UpdateDirectConnectGatewayAssociationCommandError");
|
|
2974
|
+
var de_UpdateLagCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2975
|
+
if (output.statusCode >= 300) {
|
|
2976
|
+
return de_UpdateLagCommandError(output, context);
|
|
2977
|
+
}
|
|
2978
|
+
const data = await parseBody(output.body, context);
|
|
2979
|
+
let contents = {};
|
|
2980
|
+
contents = de_Lag(data, context);
|
|
2981
|
+
const response = {
|
|
2982
|
+
$metadata: deserializeMetadata(output),
|
|
2983
|
+
...contents
|
|
2984
|
+
};
|
|
2985
|
+
return response;
|
|
2986
|
+
}, "de_UpdateLagCommand");
|
|
2987
|
+
var de_UpdateLagCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2988
|
+
const parsedOutput = {
|
|
2989
|
+
...output,
|
|
2990
|
+
body: await parseErrorBody(output.body, context)
|
|
2991
|
+
};
|
|
2992
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2993
|
+
switch (errorCode) {
|
|
2994
|
+
case "DirectConnectClientException":
|
|
2995
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2996
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2997
|
+
case "DirectConnectServerException":
|
|
2998
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2999
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
3000
|
+
default:
|
|
3001
|
+
const parsedBody = parsedOutput.body;
|
|
3002
|
+
return throwDefaultError({
|
|
3003
|
+
output,
|
|
3004
|
+
parsedBody,
|
|
3005
|
+
errorCode
|
|
3006
|
+
});
|
|
3007
|
+
}
|
|
3008
|
+
}, "de_UpdateLagCommandError");
|
|
3009
|
+
var de_UpdateVirtualInterfaceAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3010
|
+
if (output.statusCode >= 300) {
|
|
3011
|
+
return de_UpdateVirtualInterfaceAttributesCommandError(output, context);
|
|
3012
|
+
}
|
|
3013
|
+
const data = await parseBody(output.body, context);
|
|
3014
|
+
let contents = {};
|
|
3015
|
+
contents = (0, import_smithy_client._json)(data);
|
|
3016
|
+
const response = {
|
|
3017
|
+
$metadata: deserializeMetadata(output),
|
|
3018
|
+
...contents
|
|
3019
|
+
};
|
|
3020
|
+
return response;
|
|
3021
|
+
}, "de_UpdateVirtualInterfaceAttributesCommand");
|
|
3022
|
+
var de_UpdateVirtualInterfaceAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3023
|
+
const parsedOutput = {
|
|
3024
|
+
...output,
|
|
3025
|
+
body: await parseErrorBody(output.body, context)
|
|
3026
|
+
};
|
|
3027
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3028
|
+
switch (errorCode) {
|
|
3029
|
+
case "DirectConnectClientException":
|
|
3030
|
+
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
3031
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
3032
|
+
case "DirectConnectServerException":
|
|
3033
|
+
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
3034
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
3035
|
+
default:
|
|
3036
|
+
const parsedBody = parsedOutput.body;
|
|
3037
|
+
return throwDefaultError({
|
|
3038
|
+
output,
|
|
3039
|
+
parsedBody,
|
|
3040
|
+
errorCode
|
|
3041
|
+
});
|
|
3042
|
+
}
|
|
3043
|
+
}, "de_UpdateVirtualInterfaceAttributesCommandError");
|
|
3044
|
+
var de_DirectConnectClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3045
|
+
const body = parsedOutput.body;
|
|
3046
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3047
|
+
const exception = new DirectConnectClientException({
|
|
3048
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3049
|
+
...deserialized
|
|
3050
|
+
});
|
|
3051
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3052
|
+
}, "de_DirectConnectClientExceptionRes");
|
|
3053
|
+
var de_DirectConnectServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3054
|
+
const body = parsedOutput.body;
|
|
3055
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3056
|
+
const exception = new DirectConnectServerException({
|
|
3057
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3058
|
+
...deserialized
|
|
3059
|
+
});
|
|
3060
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3061
|
+
}, "de_DirectConnectServerExceptionRes");
|
|
3062
|
+
var de_DuplicateTagKeysExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3063
|
+
const body = parsedOutput.body;
|
|
3064
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3065
|
+
const exception = new DuplicateTagKeysException({
|
|
3066
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3067
|
+
...deserialized
|
|
3068
|
+
});
|
|
3069
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3070
|
+
}, "de_DuplicateTagKeysExceptionRes");
|
|
3071
|
+
var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3072
|
+
const body = parsedOutput.body;
|
|
3073
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3074
|
+
const exception = new TooManyTagsException({
|
|
3075
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3076
|
+
...deserialized
|
|
3077
|
+
});
|
|
3078
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3079
|
+
}, "de_TooManyTagsExceptionRes");
|
|
3080
|
+
var de_Connection = /* @__PURE__ */ __name((output, context) => {
|
|
3081
|
+
return (0, import_smithy_client.take)(output, {
|
|
3082
|
+
awsDevice: import_smithy_client.expectString,
|
|
3083
|
+
awsDeviceV2: import_smithy_client.expectString,
|
|
3084
|
+
awsLogicalDeviceId: import_smithy_client.expectString,
|
|
3085
|
+
bandwidth: import_smithy_client.expectString,
|
|
3086
|
+
connectionId: import_smithy_client.expectString,
|
|
3087
|
+
connectionName: import_smithy_client.expectString,
|
|
3088
|
+
connectionState: import_smithy_client.expectString,
|
|
3089
|
+
encryptionMode: import_smithy_client.expectString,
|
|
3090
|
+
hasLogicalRedundancy: import_smithy_client.expectString,
|
|
3091
|
+
jumboFrameCapable: import_smithy_client.expectBoolean,
|
|
3092
|
+
lagId: import_smithy_client.expectString,
|
|
3093
|
+
loaIssueTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3094
|
+
location: import_smithy_client.expectString,
|
|
3095
|
+
macSecCapable: import_smithy_client.expectBoolean,
|
|
3096
|
+
macSecKeys: import_smithy_client._json,
|
|
3097
|
+
ownerAccount: import_smithy_client.expectString,
|
|
3098
|
+
partnerName: import_smithy_client.expectString,
|
|
3099
|
+
portEncryptionStatus: import_smithy_client.expectString,
|
|
3100
|
+
providerName: import_smithy_client.expectString,
|
|
3101
|
+
region: import_smithy_client.expectString,
|
|
3102
|
+
tags: import_smithy_client._json,
|
|
3103
|
+
vlan: import_smithy_client.expectInt32
|
|
3104
|
+
});
|
|
3105
|
+
}, "de_Connection");
|
|
3106
|
+
var de_ConnectionList = /* @__PURE__ */ __name((output, context) => {
|
|
3107
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3108
|
+
return de_Connection(entry, context);
|
|
3109
|
+
});
|
|
3110
|
+
return retVal;
|
|
3111
|
+
}, "de_ConnectionList");
|
|
3112
|
+
var de_Connections = /* @__PURE__ */ __name((output, context) => {
|
|
3113
|
+
return (0, import_smithy_client.take)(output, {
|
|
3114
|
+
connections: (_) => de_ConnectionList(_, context)
|
|
3115
|
+
});
|
|
3116
|
+
}, "de_Connections");
|
|
3117
|
+
var de_DescribeConnectionLoaResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3118
|
+
return (0, import_smithy_client.take)(output, {
|
|
3119
|
+
loa: (_) => de_Loa(_, context)
|
|
3120
|
+
});
|
|
3121
|
+
}, "de_DescribeConnectionLoaResponse");
|
|
3122
|
+
var de_DescribeInterconnectLoaResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3123
|
+
return (0, import_smithy_client.take)(output, {
|
|
3124
|
+
loa: (_) => de_Loa(_, context)
|
|
3125
|
+
});
|
|
3126
|
+
}, "de_DescribeInterconnectLoaResponse");
|
|
3127
|
+
var de_Interconnect = /* @__PURE__ */ __name((output, context) => {
|
|
3128
|
+
return (0, import_smithy_client.take)(output, {
|
|
3129
|
+
awsDevice: import_smithy_client.expectString,
|
|
3130
|
+
awsDeviceV2: import_smithy_client.expectString,
|
|
3131
|
+
awsLogicalDeviceId: import_smithy_client.expectString,
|
|
3132
|
+
bandwidth: import_smithy_client.expectString,
|
|
3133
|
+
hasLogicalRedundancy: import_smithy_client.expectString,
|
|
3134
|
+
interconnectId: import_smithy_client.expectString,
|
|
3135
|
+
interconnectName: import_smithy_client.expectString,
|
|
3136
|
+
interconnectState: import_smithy_client.expectString,
|
|
3137
|
+
jumboFrameCapable: import_smithy_client.expectBoolean,
|
|
3138
|
+
lagId: import_smithy_client.expectString,
|
|
3139
|
+
loaIssueTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3140
|
+
location: import_smithy_client.expectString,
|
|
3141
|
+
providerName: import_smithy_client.expectString,
|
|
3142
|
+
region: import_smithy_client.expectString,
|
|
3143
|
+
tags: import_smithy_client._json
|
|
3144
|
+
});
|
|
3145
|
+
}, "de_Interconnect");
|
|
3146
|
+
var de_InterconnectList = /* @__PURE__ */ __name((output, context) => {
|
|
3147
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3148
|
+
return de_Interconnect(entry, context);
|
|
3149
|
+
});
|
|
3150
|
+
return retVal;
|
|
3151
|
+
}, "de_InterconnectList");
|
|
3152
|
+
var de_Interconnects = /* @__PURE__ */ __name((output, context) => {
|
|
3153
|
+
return (0, import_smithy_client.take)(output, {
|
|
3154
|
+
interconnects: (_) => de_InterconnectList(_, context)
|
|
3155
|
+
});
|
|
3156
|
+
}, "de_Interconnects");
|
|
3157
|
+
var de_Lag = /* @__PURE__ */ __name((output, context) => {
|
|
3158
|
+
return (0, import_smithy_client.take)(output, {
|
|
3159
|
+
allowsHostedConnections: import_smithy_client.expectBoolean,
|
|
3160
|
+
awsDevice: import_smithy_client.expectString,
|
|
3161
|
+
awsDeviceV2: import_smithy_client.expectString,
|
|
3162
|
+
awsLogicalDeviceId: import_smithy_client.expectString,
|
|
3163
|
+
connections: (_) => de_ConnectionList(_, context),
|
|
3164
|
+
connectionsBandwidth: import_smithy_client.expectString,
|
|
3165
|
+
encryptionMode: import_smithy_client.expectString,
|
|
3166
|
+
hasLogicalRedundancy: import_smithy_client.expectString,
|
|
3167
|
+
jumboFrameCapable: import_smithy_client.expectBoolean,
|
|
3168
|
+
lagId: import_smithy_client.expectString,
|
|
3169
|
+
lagName: import_smithy_client.expectString,
|
|
3170
|
+
lagState: import_smithy_client.expectString,
|
|
3171
|
+
location: import_smithy_client.expectString,
|
|
3172
|
+
macSecCapable: import_smithy_client.expectBoolean,
|
|
3173
|
+
macSecKeys: import_smithy_client._json,
|
|
3174
|
+
minimumLinks: import_smithy_client.expectInt32,
|
|
3175
|
+
numberOfConnections: import_smithy_client.expectInt32,
|
|
3176
|
+
ownerAccount: import_smithy_client.expectString,
|
|
3177
|
+
providerName: import_smithy_client.expectString,
|
|
3178
|
+
region: import_smithy_client.expectString,
|
|
3179
|
+
tags: import_smithy_client._json
|
|
3180
|
+
});
|
|
3181
|
+
}, "de_Lag");
|
|
3182
|
+
var de_LagList = /* @__PURE__ */ __name((output, context) => {
|
|
3183
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3184
|
+
return de_Lag(entry, context);
|
|
3185
|
+
});
|
|
3186
|
+
return retVal;
|
|
3187
|
+
}, "de_LagList");
|
|
3188
|
+
var de_Lags = /* @__PURE__ */ __name((output, context) => {
|
|
3189
|
+
return (0, import_smithy_client.take)(output, {
|
|
3190
|
+
lags: (_) => de_LagList(_, context)
|
|
3191
|
+
});
|
|
3192
|
+
}, "de_Lags");
|
|
3193
|
+
var de_ListVirtualInterfaceTestHistoryResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3194
|
+
return (0, import_smithy_client.take)(output, {
|
|
3195
|
+
nextToken: import_smithy_client.expectString,
|
|
3196
|
+
virtualInterfaceTestHistory: (_) => de_VirtualInterfaceTestHistoryList(_, context)
|
|
3197
|
+
});
|
|
3198
|
+
}, "de_ListVirtualInterfaceTestHistoryResponse");
|
|
3199
|
+
var de_Loa = /* @__PURE__ */ __name((output, context) => {
|
|
3200
|
+
return (0, import_smithy_client.take)(output, {
|
|
3201
|
+
loaContent: context.base64Decoder,
|
|
3202
|
+
loaContentType: import_smithy_client.expectString
|
|
3203
|
+
});
|
|
3204
|
+
}, "de_Loa");
|
|
3205
|
+
var de_StartBgpFailoverTestResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3206
|
+
return (0, import_smithy_client.take)(output, {
|
|
3207
|
+
virtualInterfaceTest: (_) => de_VirtualInterfaceTestHistory(_, context)
|
|
3208
|
+
});
|
|
3209
|
+
}, "de_StartBgpFailoverTestResponse");
|
|
3210
|
+
var de_StopBgpFailoverTestResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3211
|
+
return (0, import_smithy_client.take)(output, {
|
|
3212
|
+
virtualInterfaceTest: (_) => de_VirtualInterfaceTestHistory(_, context)
|
|
3213
|
+
});
|
|
3214
|
+
}, "de_StopBgpFailoverTestResponse");
|
|
3215
|
+
var de_VirtualInterfaceTestHistory = /* @__PURE__ */ __name((output, context) => {
|
|
3216
|
+
return (0, import_smithy_client.take)(output, {
|
|
3217
|
+
bgpPeers: import_smithy_client._json,
|
|
3218
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3219
|
+
ownerAccount: import_smithy_client.expectString,
|
|
3220
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3221
|
+
status: import_smithy_client.expectString,
|
|
3222
|
+
testDurationInMinutes: import_smithy_client.expectInt32,
|
|
3223
|
+
testId: import_smithy_client.expectString,
|
|
3224
|
+
virtualInterfaceId: import_smithy_client.expectString
|
|
3225
|
+
});
|
|
3226
|
+
}, "de_VirtualInterfaceTestHistory");
|
|
3227
|
+
var de_VirtualInterfaceTestHistoryList = /* @__PURE__ */ __name((output, context) => {
|
|
3228
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3229
|
+
return de_VirtualInterfaceTestHistory(entry, context);
|
|
3230
|
+
});
|
|
3231
|
+
return retVal;
|
|
3232
|
+
}, "de_VirtualInterfaceTestHistoryList");
|
|
3233
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
3234
|
+
httpStatusCode: output.statusCode,
|
|
3235
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
3236
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3237
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
3238
|
+
}), "deserializeMetadata");
|
|
3239
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
3240
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(DirectConnectServiceException);
|
|
3241
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
3242
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3243
|
+
const contents = {
|
|
3244
|
+
protocol,
|
|
3245
|
+
hostname,
|
|
3246
|
+
port,
|
|
3247
|
+
method: "POST",
|
|
3248
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
3249
|
+
headers
|
|
3250
|
+
};
|
|
3251
|
+
if (resolvedHostname !== void 0) {
|
|
3252
|
+
contents.hostname = resolvedHostname;
|
|
3253
|
+
}
|
|
3254
|
+
if (body !== void 0) {
|
|
3255
|
+
contents.body = body;
|
|
3256
|
+
}
|
|
3257
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
3258
|
+
}, "buildHttpRpcRequest");
|
|
3259
|
+
function sharedHeaders(operation) {
|
|
3260
|
+
return {
|
|
3261
|
+
"content-type": "application/x-amz-json-1.1",
|
|
3262
|
+
"x-amz-target": `OvertureService.${operation}`
|
|
3263
|
+
};
|
|
3264
|
+
}
|
|
3265
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
3266
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3267
|
+
if (encoded.length) {
|
|
3268
|
+
return JSON.parse(encoded);
|
|
3269
|
+
}
|
|
3270
|
+
return {};
|
|
3271
|
+
}), "parseBody");
|
|
3272
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
3273
|
+
const value = await parseBody(errorBody, context);
|
|
3274
|
+
value.message = value.message ?? value.Message;
|
|
3275
|
+
return value;
|
|
3276
|
+
}, "parseErrorBody");
|
|
3277
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
3278
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
3279
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
3280
|
+
let cleanValue = rawValue;
|
|
3281
|
+
if (typeof cleanValue === "number") {
|
|
3282
|
+
cleanValue = cleanValue.toString();
|
|
3283
|
+
}
|
|
3284
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
3285
|
+
cleanValue = cleanValue.split(",")[0];
|
|
3286
|
+
}
|
|
3287
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
3288
|
+
cleanValue = cleanValue.split(":")[0];
|
|
3289
|
+
}
|
|
3290
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
3291
|
+
cleanValue = cleanValue.split("#")[1];
|
|
3292
|
+
}
|
|
3293
|
+
return cleanValue;
|
|
3294
|
+
}, "sanitizeErrorCode");
|
|
3295
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
3296
|
+
if (headerKey !== void 0) {
|
|
3297
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
3298
|
+
}
|
|
3299
|
+
if (data.code !== void 0) {
|
|
3300
|
+
return sanitizeErrorCode(data.code);
|
|
3301
|
+
}
|
|
3302
|
+
if (data["__type"] !== void 0) {
|
|
3303
|
+
return sanitizeErrorCode(data["__type"]);
|
|
3304
|
+
}
|
|
3305
|
+
}, "loadRestJsonErrorCode");
|
|
3306
|
+
|
|
3307
|
+
// src/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts
|
|
3308
|
+
var _AcceptDirectConnectGatewayAssociationProposalCommand = class _AcceptDirectConnectGatewayAssociationProposalCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3309
|
+
...commonParams
|
|
3310
|
+
}).m(function(Command, cs, config, o) {
|
|
3311
|
+
return [
|
|
3312
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3313
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3314
|
+
];
|
|
3315
|
+
}).s("OvertureService", "AcceptDirectConnectGatewayAssociationProposal", {}).n("DirectConnectClient", "AcceptDirectConnectGatewayAssociationProposalCommand").f(void 0, void 0).ser(se_AcceptDirectConnectGatewayAssociationProposalCommand).de(de_AcceptDirectConnectGatewayAssociationProposalCommand).build() {
|
|
3316
|
+
};
|
|
3317
|
+
__name(_AcceptDirectConnectGatewayAssociationProposalCommand, "AcceptDirectConnectGatewayAssociationProposalCommand");
|
|
3318
|
+
var AcceptDirectConnectGatewayAssociationProposalCommand = _AcceptDirectConnectGatewayAssociationProposalCommand;
|
|
3319
|
+
|
|
3320
|
+
// src/commands/AllocateConnectionOnInterconnectCommand.ts
|
|
3321
|
+
|
|
3322
|
+
|
|
3323
|
+
|
|
3324
|
+
|
|
3325
|
+
var _AllocateConnectionOnInterconnectCommand = class _AllocateConnectionOnInterconnectCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3326
|
+
...commonParams
|
|
3327
|
+
}).m(function(Command, cs, config, o) {
|
|
3328
|
+
return [
|
|
3329
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3330
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3331
|
+
];
|
|
3332
|
+
}).s("OvertureService", "AllocateConnectionOnInterconnect", {}).n("DirectConnectClient", "AllocateConnectionOnInterconnectCommand").f(void 0, void 0).ser(se_AllocateConnectionOnInterconnectCommand).de(de_AllocateConnectionOnInterconnectCommand).build() {
|
|
3333
|
+
};
|
|
3334
|
+
__name(_AllocateConnectionOnInterconnectCommand, "AllocateConnectionOnInterconnectCommand");
|
|
3335
|
+
var AllocateConnectionOnInterconnectCommand = _AllocateConnectionOnInterconnectCommand;
|
|
3336
|
+
|
|
3337
|
+
// src/commands/AllocateHostedConnectionCommand.ts
|
|
3338
|
+
|
|
3339
|
+
|
|
3340
|
+
|
|
3341
|
+
|
|
3342
|
+
var _AllocateHostedConnectionCommand = class _AllocateHostedConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3343
|
+
...commonParams
|
|
3344
|
+
}).m(function(Command, cs, config, o) {
|
|
3345
|
+
return [
|
|
3346
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3347
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3348
|
+
];
|
|
3349
|
+
}).s("OvertureService", "AllocateHostedConnection", {}).n("DirectConnectClient", "AllocateHostedConnectionCommand").f(void 0, void 0).ser(se_AllocateHostedConnectionCommand).de(de_AllocateHostedConnectionCommand).build() {
|
|
3350
|
+
};
|
|
3351
|
+
__name(_AllocateHostedConnectionCommand, "AllocateHostedConnectionCommand");
|
|
3352
|
+
var AllocateHostedConnectionCommand = _AllocateHostedConnectionCommand;
|
|
3353
|
+
|
|
3354
|
+
// src/commands/AllocatePrivateVirtualInterfaceCommand.ts
|
|
3355
|
+
|
|
3356
|
+
|
|
3357
|
+
|
|
3358
|
+
|
|
3359
|
+
var _AllocatePrivateVirtualInterfaceCommand = class _AllocatePrivateVirtualInterfaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3360
|
+
...commonParams
|
|
3361
|
+
}).m(function(Command, cs, config, o) {
|
|
3362
|
+
return [
|
|
3363
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3364
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3365
|
+
];
|
|
3366
|
+
}).s("OvertureService", "AllocatePrivateVirtualInterface", {}).n("DirectConnectClient", "AllocatePrivateVirtualInterfaceCommand").f(void 0, void 0).ser(se_AllocatePrivateVirtualInterfaceCommand).de(de_AllocatePrivateVirtualInterfaceCommand).build() {
|
|
3367
|
+
};
|
|
3368
|
+
__name(_AllocatePrivateVirtualInterfaceCommand, "AllocatePrivateVirtualInterfaceCommand");
|
|
3369
|
+
var AllocatePrivateVirtualInterfaceCommand = _AllocatePrivateVirtualInterfaceCommand;
|
|
3370
|
+
|
|
3371
|
+
// src/commands/AllocatePublicVirtualInterfaceCommand.ts
|
|
3372
|
+
|
|
3373
|
+
|
|
3374
|
+
|
|
3375
|
+
|
|
3376
|
+
var _AllocatePublicVirtualInterfaceCommand = class _AllocatePublicVirtualInterfaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3377
|
+
...commonParams
|
|
3378
|
+
}).m(function(Command, cs, config, o) {
|
|
3379
|
+
return [
|
|
3380
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3381
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3382
|
+
];
|
|
3383
|
+
}).s("OvertureService", "AllocatePublicVirtualInterface", {}).n("DirectConnectClient", "AllocatePublicVirtualInterfaceCommand").f(void 0, void 0).ser(se_AllocatePublicVirtualInterfaceCommand).de(de_AllocatePublicVirtualInterfaceCommand).build() {
|
|
3384
|
+
};
|
|
3385
|
+
__name(_AllocatePublicVirtualInterfaceCommand, "AllocatePublicVirtualInterfaceCommand");
|
|
3386
|
+
var AllocatePublicVirtualInterfaceCommand = _AllocatePublicVirtualInterfaceCommand;
|
|
3387
|
+
|
|
3388
|
+
// src/commands/AllocateTransitVirtualInterfaceCommand.ts
|
|
3389
|
+
|
|
3390
|
+
|
|
3391
|
+
|
|
3392
|
+
|
|
3393
|
+
var _AllocateTransitVirtualInterfaceCommand = class _AllocateTransitVirtualInterfaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3394
|
+
...commonParams
|
|
3395
|
+
}).m(function(Command, cs, config, o) {
|
|
3396
|
+
return [
|
|
3397
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3398
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3399
|
+
];
|
|
3400
|
+
}).s("OvertureService", "AllocateTransitVirtualInterface", {}).n("DirectConnectClient", "AllocateTransitVirtualInterfaceCommand").f(void 0, void 0).ser(se_AllocateTransitVirtualInterfaceCommand).de(de_AllocateTransitVirtualInterfaceCommand).build() {
|
|
3401
|
+
};
|
|
3402
|
+
__name(_AllocateTransitVirtualInterfaceCommand, "AllocateTransitVirtualInterfaceCommand");
|
|
3403
|
+
var AllocateTransitVirtualInterfaceCommand = _AllocateTransitVirtualInterfaceCommand;
|
|
3404
|
+
|
|
3405
|
+
// src/commands/AssociateConnectionWithLagCommand.ts
|
|
3406
|
+
|
|
3407
|
+
|
|
3408
|
+
|
|
3409
|
+
|
|
3410
|
+
var _AssociateConnectionWithLagCommand = class _AssociateConnectionWithLagCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3411
|
+
...commonParams
|
|
3412
|
+
}).m(function(Command, cs, config, o) {
|
|
3413
|
+
return [
|
|
3414
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3415
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3416
|
+
];
|
|
3417
|
+
}).s("OvertureService", "AssociateConnectionWithLag", {}).n("DirectConnectClient", "AssociateConnectionWithLagCommand").f(void 0, void 0).ser(se_AssociateConnectionWithLagCommand).de(de_AssociateConnectionWithLagCommand).build() {
|
|
3418
|
+
};
|
|
3419
|
+
__name(_AssociateConnectionWithLagCommand, "AssociateConnectionWithLagCommand");
|
|
3420
|
+
var AssociateConnectionWithLagCommand = _AssociateConnectionWithLagCommand;
|
|
3421
|
+
|
|
3422
|
+
// src/commands/AssociateHostedConnectionCommand.ts
|
|
3423
|
+
|
|
3424
|
+
|
|
3425
|
+
|
|
3426
|
+
|
|
3427
|
+
var _AssociateHostedConnectionCommand = class _AssociateHostedConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3428
|
+
...commonParams
|
|
3429
|
+
}).m(function(Command, cs, config, o) {
|
|
3430
|
+
return [
|
|
3431
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3432
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3433
|
+
];
|
|
3434
|
+
}).s("OvertureService", "AssociateHostedConnection", {}).n("DirectConnectClient", "AssociateHostedConnectionCommand").f(void 0, void 0).ser(se_AssociateHostedConnectionCommand).de(de_AssociateHostedConnectionCommand).build() {
|
|
3435
|
+
};
|
|
3436
|
+
__name(_AssociateHostedConnectionCommand, "AssociateHostedConnectionCommand");
|
|
3437
|
+
var AssociateHostedConnectionCommand = _AssociateHostedConnectionCommand;
|
|
3438
|
+
|
|
3439
|
+
// src/commands/AssociateMacSecKeyCommand.ts
|
|
3440
|
+
|
|
3441
|
+
|
|
3442
|
+
|
|
3443
|
+
|
|
3444
|
+
var _AssociateMacSecKeyCommand = class _AssociateMacSecKeyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3445
|
+
...commonParams
|
|
3446
|
+
}).m(function(Command, cs, config, o) {
|
|
3447
|
+
return [
|
|
3448
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3449
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3450
|
+
];
|
|
3451
|
+
}).s("OvertureService", "AssociateMacSecKey", {}).n("DirectConnectClient", "AssociateMacSecKeyCommand").f(void 0, void 0).ser(se_AssociateMacSecKeyCommand).de(de_AssociateMacSecKeyCommand).build() {
|
|
3452
|
+
};
|
|
3453
|
+
__name(_AssociateMacSecKeyCommand, "AssociateMacSecKeyCommand");
|
|
3454
|
+
var AssociateMacSecKeyCommand = _AssociateMacSecKeyCommand;
|
|
3455
|
+
|
|
3456
|
+
// src/commands/AssociateVirtualInterfaceCommand.ts
|
|
3457
|
+
|
|
3458
|
+
|
|
3459
|
+
|
|
3460
|
+
|
|
3461
|
+
var _AssociateVirtualInterfaceCommand = class _AssociateVirtualInterfaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3462
|
+
...commonParams
|
|
3463
|
+
}).m(function(Command, cs, config, o) {
|
|
3464
|
+
return [
|
|
3465
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3466
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3467
|
+
];
|
|
3468
|
+
}).s("OvertureService", "AssociateVirtualInterface", {}).n("DirectConnectClient", "AssociateVirtualInterfaceCommand").f(void 0, void 0).ser(se_AssociateVirtualInterfaceCommand).de(de_AssociateVirtualInterfaceCommand).build() {
|
|
3469
|
+
};
|
|
3470
|
+
__name(_AssociateVirtualInterfaceCommand, "AssociateVirtualInterfaceCommand");
|
|
3471
|
+
var AssociateVirtualInterfaceCommand = _AssociateVirtualInterfaceCommand;
|
|
3472
|
+
|
|
3473
|
+
// src/commands/ConfirmConnectionCommand.ts
|
|
3474
|
+
|
|
3475
|
+
|
|
3476
|
+
|
|
3477
|
+
|
|
3478
|
+
var _ConfirmConnectionCommand = class _ConfirmConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3479
|
+
...commonParams
|
|
3480
|
+
}).m(function(Command, cs, config, o) {
|
|
3481
|
+
return [
|
|
3482
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3483
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3484
|
+
];
|
|
3485
|
+
}).s("OvertureService", "ConfirmConnection", {}).n("DirectConnectClient", "ConfirmConnectionCommand").f(void 0, void 0).ser(se_ConfirmConnectionCommand).de(de_ConfirmConnectionCommand).build() {
|
|
3486
|
+
};
|
|
3487
|
+
__name(_ConfirmConnectionCommand, "ConfirmConnectionCommand");
|
|
3488
|
+
var ConfirmConnectionCommand = _ConfirmConnectionCommand;
|
|
3489
|
+
|
|
3490
|
+
// src/commands/ConfirmCustomerAgreementCommand.ts
|
|
3491
|
+
|
|
3492
|
+
|
|
3493
|
+
|
|
3494
|
+
|
|
3495
|
+
var _ConfirmCustomerAgreementCommand = class _ConfirmCustomerAgreementCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3496
|
+
...commonParams
|
|
3497
|
+
}).m(function(Command, cs, config, o) {
|
|
3498
|
+
return [
|
|
3499
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3500
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3501
|
+
];
|
|
3502
|
+
}).s("OvertureService", "ConfirmCustomerAgreement", {}).n("DirectConnectClient", "ConfirmCustomerAgreementCommand").f(void 0, void 0).ser(se_ConfirmCustomerAgreementCommand).de(de_ConfirmCustomerAgreementCommand).build() {
|
|
3503
|
+
};
|
|
3504
|
+
__name(_ConfirmCustomerAgreementCommand, "ConfirmCustomerAgreementCommand");
|
|
3505
|
+
var ConfirmCustomerAgreementCommand = _ConfirmCustomerAgreementCommand;
|
|
3506
|
+
|
|
3507
|
+
// src/commands/ConfirmPrivateVirtualInterfaceCommand.ts
|
|
3508
|
+
|
|
3509
|
+
|
|
3510
|
+
|
|
3511
|
+
|
|
3512
|
+
var _ConfirmPrivateVirtualInterfaceCommand = class _ConfirmPrivateVirtualInterfaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3513
|
+
...commonParams
|
|
3514
|
+
}).m(function(Command, cs, config, o) {
|
|
3515
|
+
return [
|
|
3516
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3517
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3518
|
+
];
|
|
3519
|
+
}).s("OvertureService", "ConfirmPrivateVirtualInterface", {}).n("DirectConnectClient", "ConfirmPrivateVirtualInterfaceCommand").f(void 0, void 0).ser(se_ConfirmPrivateVirtualInterfaceCommand).de(de_ConfirmPrivateVirtualInterfaceCommand).build() {
|
|
3520
|
+
};
|
|
3521
|
+
__name(_ConfirmPrivateVirtualInterfaceCommand, "ConfirmPrivateVirtualInterfaceCommand");
|
|
3522
|
+
var ConfirmPrivateVirtualInterfaceCommand = _ConfirmPrivateVirtualInterfaceCommand;
|
|
3523
|
+
|
|
3524
|
+
// src/commands/ConfirmPublicVirtualInterfaceCommand.ts
|
|
3525
|
+
|
|
3526
|
+
|
|
3527
|
+
|
|
3528
|
+
|
|
3529
|
+
var _ConfirmPublicVirtualInterfaceCommand = class _ConfirmPublicVirtualInterfaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3530
|
+
...commonParams
|
|
3531
|
+
}).m(function(Command, cs, config, o) {
|
|
3532
|
+
return [
|
|
3533
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3534
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3535
|
+
];
|
|
3536
|
+
}).s("OvertureService", "ConfirmPublicVirtualInterface", {}).n("DirectConnectClient", "ConfirmPublicVirtualInterfaceCommand").f(void 0, void 0).ser(se_ConfirmPublicVirtualInterfaceCommand).de(de_ConfirmPublicVirtualInterfaceCommand).build() {
|
|
3537
|
+
};
|
|
3538
|
+
__name(_ConfirmPublicVirtualInterfaceCommand, "ConfirmPublicVirtualInterfaceCommand");
|
|
3539
|
+
var ConfirmPublicVirtualInterfaceCommand = _ConfirmPublicVirtualInterfaceCommand;
|
|
3540
|
+
|
|
3541
|
+
// src/commands/ConfirmTransitVirtualInterfaceCommand.ts
|
|
3542
|
+
|
|
3543
|
+
|
|
3544
|
+
|
|
3545
|
+
|
|
3546
|
+
var _ConfirmTransitVirtualInterfaceCommand = class _ConfirmTransitVirtualInterfaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3547
|
+
...commonParams
|
|
3548
|
+
}).m(function(Command, cs, config, o) {
|
|
3549
|
+
return [
|
|
3550
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3551
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3552
|
+
];
|
|
3553
|
+
}).s("OvertureService", "ConfirmTransitVirtualInterface", {}).n("DirectConnectClient", "ConfirmTransitVirtualInterfaceCommand").f(void 0, void 0).ser(se_ConfirmTransitVirtualInterfaceCommand).de(de_ConfirmTransitVirtualInterfaceCommand).build() {
|
|
3554
|
+
};
|
|
3555
|
+
__name(_ConfirmTransitVirtualInterfaceCommand, "ConfirmTransitVirtualInterfaceCommand");
|
|
3556
|
+
var ConfirmTransitVirtualInterfaceCommand = _ConfirmTransitVirtualInterfaceCommand;
|
|
3557
|
+
|
|
3558
|
+
// src/commands/CreateBGPPeerCommand.ts
|
|
3559
|
+
|
|
3560
|
+
|
|
3561
|
+
|
|
3562
|
+
|
|
3563
|
+
var _CreateBGPPeerCommand = class _CreateBGPPeerCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3564
|
+
...commonParams
|
|
3565
|
+
}).m(function(Command, cs, config, o) {
|
|
3566
|
+
return [
|
|
3567
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3568
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3569
|
+
];
|
|
3570
|
+
}).s("OvertureService", "CreateBGPPeer", {}).n("DirectConnectClient", "CreateBGPPeerCommand").f(void 0, void 0).ser(se_CreateBGPPeerCommand).de(de_CreateBGPPeerCommand).build() {
|
|
3571
|
+
};
|
|
3572
|
+
__name(_CreateBGPPeerCommand, "CreateBGPPeerCommand");
|
|
3573
|
+
var CreateBGPPeerCommand = _CreateBGPPeerCommand;
|
|
3574
|
+
|
|
3575
|
+
// src/commands/CreateConnectionCommand.ts
|
|
3576
|
+
|
|
3577
|
+
|
|
3578
|
+
|
|
3579
|
+
|
|
3580
|
+
var _CreateConnectionCommand = class _CreateConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3581
|
+
...commonParams
|
|
3582
|
+
}).m(function(Command, cs, config, o) {
|
|
3583
|
+
return [
|
|
3584
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3585
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3586
|
+
];
|
|
3587
|
+
}).s("OvertureService", "CreateConnection", {}).n("DirectConnectClient", "CreateConnectionCommand").f(void 0, void 0).ser(se_CreateConnectionCommand).de(de_CreateConnectionCommand).build() {
|
|
3588
|
+
};
|
|
3589
|
+
__name(_CreateConnectionCommand, "CreateConnectionCommand");
|
|
3590
|
+
var CreateConnectionCommand = _CreateConnectionCommand;
|
|
3591
|
+
|
|
3592
|
+
// src/commands/CreateDirectConnectGatewayAssociationCommand.ts
|
|
3593
|
+
|
|
3594
|
+
|
|
3595
|
+
|
|
3596
|
+
|
|
3597
|
+
var _CreateDirectConnectGatewayAssociationCommand = class _CreateDirectConnectGatewayAssociationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3598
|
+
...commonParams
|
|
3599
|
+
}).m(function(Command, cs, config, o) {
|
|
3600
|
+
return [
|
|
3601
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3602
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3603
|
+
];
|
|
3604
|
+
}).s("OvertureService", "CreateDirectConnectGatewayAssociation", {}).n("DirectConnectClient", "CreateDirectConnectGatewayAssociationCommand").f(void 0, void 0).ser(se_CreateDirectConnectGatewayAssociationCommand).de(de_CreateDirectConnectGatewayAssociationCommand).build() {
|
|
3605
|
+
};
|
|
3606
|
+
__name(_CreateDirectConnectGatewayAssociationCommand, "CreateDirectConnectGatewayAssociationCommand");
|
|
3607
|
+
var CreateDirectConnectGatewayAssociationCommand = _CreateDirectConnectGatewayAssociationCommand;
|
|
3608
|
+
|
|
3609
|
+
// src/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts
|
|
3610
|
+
|
|
3611
|
+
|
|
3612
|
+
|
|
3613
|
+
|
|
3614
|
+
var _CreateDirectConnectGatewayAssociationProposalCommand = class _CreateDirectConnectGatewayAssociationProposalCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3615
|
+
...commonParams
|
|
3616
|
+
}).m(function(Command, cs, config, o) {
|
|
3617
|
+
return [
|
|
3618
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3619
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3620
|
+
];
|
|
3621
|
+
}).s("OvertureService", "CreateDirectConnectGatewayAssociationProposal", {}).n("DirectConnectClient", "CreateDirectConnectGatewayAssociationProposalCommand").f(void 0, void 0).ser(se_CreateDirectConnectGatewayAssociationProposalCommand).de(de_CreateDirectConnectGatewayAssociationProposalCommand).build() {
|
|
3622
|
+
};
|
|
3623
|
+
__name(_CreateDirectConnectGatewayAssociationProposalCommand, "CreateDirectConnectGatewayAssociationProposalCommand");
|
|
3624
|
+
var CreateDirectConnectGatewayAssociationProposalCommand = _CreateDirectConnectGatewayAssociationProposalCommand;
|
|
3625
|
+
|
|
3626
|
+
// src/commands/CreateDirectConnectGatewayCommand.ts
|
|
3627
|
+
|
|
3628
|
+
|
|
3629
|
+
|
|
3630
|
+
|
|
3631
|
+
var _CreateDirectConnectGatewayCommand = class _CreateDirectConnectGatewayCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3632
|
+
...commonParams
|
|
3633
|
+
}).m(function(Command, cs, config, o) {
|
|
3634
|
+
return [
|
|
3635
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3636
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3637
|
+
];
|
|
3638
|
+
}).s("OvertureService", "CreateDirectConnectGateway", {}).n("DirectConnectClient", "CreateDirectConnectGatewayCommand").f(void 0, void 0).ser(se_CreateDirectConnectGatewayCommand).de(de_CreateDirectConnectGatewayCommand).build() {
|
|
3639
|
+
};
|
|
3640
|
+
__name(_CreateDirectConnectGatewayCommand, "CreateDirectConnectGatewayCommand");
|
|
3641
|
+
var CreateDirectConnectGatewayCommand = _CreateDirectConnectGatewayCommand;
|
|
3642
|
+
|
|
3643
|
+
// src/commands/CreateInterconnectCommand.ts
|
|
3644
|
+
|
|
3645
|
+
|
|
3646
|
+
|
|
3647
|
+
|
|
3648
|
+
var _CreateInterconnectCommand = class _CreateInterconnectCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3649
|
+
...commonParams
|
|
3650
|
+
}).m(function(Command, cs, config, o) {
|
|
3651
|
+
return [
|
|
3652
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3653
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3654
|
+
];
|
|
3655
|
+
}).s("OvertureService", "CreateInterconnect", {}).n("DirectConnectClient", "CreateInterconnectCommand").f(void 0, void 0).ser(se_CreateInterconnectCommand).de(de_CreateInterconnectCommand).build() {
|
|
3656
|
+
};
|
|
3657
|
+
__name(_CreateInterconnectCommand, "CreateInterconnectCommand");
|
|
3658
|
+
var CreateInterconnectCommand = _CreateInterconnectCommand;
|
|
3659
|
+
|
|
3660
|
+
// src/commands/CreateLagCommand.ts
|
|
3661
|
+
|
|
3662
|
+
|
|
3663
|
+
|
|
3664
|
+
|
|
3665
|
+
var _CreateLagCommand = class _CreateLagCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3666
|
+
...commonParams
|
|
3667
|
+
}).m(function(Command, cs, config, o) {
|
|
3668
|
+
return [
|
|
3669
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3670
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3671
|
+
];
|
|
3672
|
+
}).s("OvertureService", "CreateLag", {}).n("DirectConnectClient", "CreateLagCommand").f(void 0, void 0).ser(se_CreateLagCommand).de(de_CreateLagCommand).build() {
|
|
3673
|
+
};
|
|
3674
|
+
__name(_CreateLagCommand, "CreateLagCommand");
|
|
3675
|
+
var CreateLagCommand = _CreateLagCommand;
|
|
3676
|
+
|
|
3677
|
+
// src/commands/CreatePrivateVirtualInterfaceCommand.ts
|
|
3678
|
+
|
|
3679
|
+
|
|
3680
|
+
|
|
3681
|
+
|
|
3682
|
+
var _CreatePrivateVirtualInterfaceCommand = class _CreatePrivateVirtualInterfaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3683
|
+
...commonParams
|
|
3684
|
+
}).m(function(Command, cs, config, o) {
|
|
3685
|
+
return [
|
|
3686
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3687
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3688
|
+
];
|
|
3689
|
+
}).s("OvertureService", "CreatePrivateVirtualInterface", {}).n("DirectConnectClient", "CreatePrivateVirtualInterfaceCommand").f(void 0, void 0).ser(se_CreatePrivateVirtualInterfaceCommand).de(de_CreatePrivateVirtualInterfaceCommand).build() {
|
|
3690
|
+
};
|
|
3691
|
+
__name(_CreatePrivateVirtualInterfaceCommand, "CreatePrivateVirtualInterfaceCommand");
|
|
3692
|
+
var CreatePrivateVirtualInterfaceCommand = _CreatePrivateVirtualInterfaceCommand;
|
|
3693
|
+
|
|
3694
|
+
// src/commands/CreatePublicVirtualInterfaceCommand.ts
|
|
3695
|
+
|
|
3696
|
+
|
|
3697
|
+
|
|
3698
|
+
|
|
3699
|
+
var _CreatePublicVirtualInterfaceCommand = class _CreatePublicVirtualInterfaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3700
|
+
...commonParams
|
|
3701
|
+
}).m(function(Command, cs, config, o) {
|
|
3702
|
+
return [
|
|
3703
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3704
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3705
|
+
];
|
|
3706
|
+
}).s("OvertureService", "CreatePublicVirtualInterface", {}).n("DirectConnectClient", "CreatePublicVirtualInterfaceCommand").f(void 0, void 0).ser(se_CreatePublicVirtualInterfaceCommand).de(de_CreatePublicVirtualInterfaceCommand).build() {
|
|
3707
|
+
};
|
|
3708
|
+
__name(_CreatePublicVirtualInterfaceCommand, "CreatePublicVirtualInterfaceCommand");
|
|
3709
|
+
var CreatePublicVirtualInterfaceCommand = _CreatePublicVirtualInterfaceCommand;
|
|
3710
|
+
|
|
3711
|
+
// src/commands/CreateTransitVirtualInterfaceCommand.ts
|
|
3712
|
+
|
|
3713
|
+
|
|
3714
|
+
|
|
3715
|
+
|
|
3716
|
+
var _CreateTransitVirtualInterfaceCommand = class _CreateTransitVirtualInterfaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3717
|
+
...commonParams
|
|
3718
|
+
}).m(function(Command, cs, config, o) {
|
|
3719
|
+
return [
|
|
3720
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3721
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3722
|
+
];
|
|
3723
|
+
}).s("OvertureService", "CreateTransitVirtualInterface", {}).n("DirectConnectClient", "CreateTransitVirtualInterfaceCommand").f(void 0, void 0).ser(se_CreateTransitVirtualInterfaceCommand).de(de_CreateTransitVirtualInterfaceCommand).build() {
|
|
3724
|
+
};
|
|
3725
|
+
__name(_CreateTransitVirtualInterfaceCommand, "CreateTransitVirtualInterfaceCommand");
|
|
3726
|
+
var CreateTransitVirtualInterfaceCommand = _CreateTransitVirtualInterfaceCommand;
|
|
3727
|
+
|
|
3728
|
+
// src/commands/DeleteBGPPeerCommand.ts
|
|
3729
|
+
|
|
3730
|
+
|
|
3731
|
+
|
|
3732
|
+
|
|
3733
|
+
var _DeleteBGPPeerCommand = class _DeleteBGPPeerCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3734
|
+
...commonParams
|
|
3735
|
+
}).m(function(Command, cs, config, o) {
|
|
3736
|
+
return [
|
|
3737
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3738
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3739
|
+
];
|
|
3740
|
+
}).s("OvertureService", "DeleteBGPPeer", {}).n("DirectConnectClient", "DeleteBGPPeerCommand").f(void 0, void 0).ser(se_DeleteBGPPeerCommand).de(de_DeleteBGPPeerCommand).build() {
|
|
3741
|
+
};
|
|
3742
|
+
__name(_DeleteBGPPeerCommand, "DeleteBGPPeerCommand");
|
|
3743
|
+
var DeleteBGPPeerCommand = _DeleteBGPPeerCommand;
|
|
3744
|
+
|
|
3745
|
+
// src/commands/DeleteConnectionCommand.ts
|
|
3746
|
+
|
|
3747
|
+
|
|
3748
|
+
|
|
3749
|
+
|
|
3750
|
+
var _DeleteConnectionCommand = class _DeleteConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3751
|
+
...commonParams
|
|
3752
|
+
}).m(function(Command, cs, config, o) {
|
|
3753
|
+
return [
|
|
3754
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3755
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3756
|
+
];
|
|
3757
|
+
}).s("OvertureService", "DeleteConnection", {}).n("DirectConnectClient", "DeleteConnectionCommand").f(void 0, void 0).ser(se_DeleteConnectionCommand).de(de_DeleteConnectionCommand).build() {
|
|
3758
|
+
};
|
|
3759
|
+
__name(_DeleteConnectionCommand, "DeleteConnectionCommand");
|
|
3760
|
+
var DeleteConnectionCommand = _DeleteConnectionCommand;
|
|
3761
|
+
|
|
3762
|
+
// src/commands/DeleteDirectConnectGatewayAssociationCommand.ts
|
|
3763
|
+
|
|
3764
|
+
|
|
3765
|
+
|
|
3766
|
+
|
|
3767
|
+
var _DeleteDirectConnectGatewayAssociationCommand = class _DeleteDirectConnectGatewayAssociationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3768
|
+
...commonParams
|
|
3769
|
+
}).m(function(Command, cs, config, o) {
|
|
3770
|
+
return [
|
|
3771
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3772
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3773
|
+
];
|
|
3774
|
+
}).s("OvertureService", "DeleteDirectConnectGatewayAssociation", {}).n("DirectConnectClient", "DeleteDirectConnectGatewayAssociationCommand").f(void 0, void 0).ser(se_DeleteDirectConnectGatewayAssociationCommand).de(de_DeleteDirectConnectGatewayAssociationCommand).build() {
|
|
3775
|
+
};
|
|
3776
|
+
__name(_DeleteDirectConnectGatewayAssociationCommand, "DeleteDirectConnectGatewayAssociationCommand");
|
|
3777
|
+
var DeleteDirectConnectGatewayAssociationCommand = _DeleteDirectConnectGatewayAssociationCommand;
|
|
3778
|
+
|
|
3779
|
+
// src/commands/DeleteDirectConnectGatewayAssociationProposalCommand.ts
|
|
3780
|
+
|
|
3781
|
+
|
|
3782
|
+
|
|
3783
|
+
|
|
3784
|
+
var _DeleteDirectConnectGatewayAssociationProposalCommand = class _DeleteDirectConnectGatewayAssociationProposalCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3785
|
+
...commonParams
|
|
3786
|
+
}).m(function(Command, cs, config, o) {
|
|
3787
|
+
return [
|
|
3788
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3789
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3790
|
+
];
|
|
3791
|
+
}).s("OvertureService", "DeleteDirectConnectGatewayAssociationProposal", {}).n("DirectConnectClient", "DeleteDirectConnectGatewayAssociationProposalCommand").f(void 0, void 0).ser(se_DeleteDirectConnectGatewayAssociationProposalCommand).de(de_DeleteDirectConnectGatewayAssociationProposalCommand).build() {
|
|
3792
|
+
};
|
|
3793
|
+
__name(_DeleteDirectConnectGatewayAssociationProposalCommand, "DeleteDirectConnectGatewayAssociationProposalCommand");
|
|
3794
|
+
var DeleteDirectConnectGatewayAssociationProposalCommand = _DeleteDirectConnectGatewayAssociationProposalCommand;
|
|
3795
|
+
|
|
3796
|
+
// src/commands/DeleteDirectConnectGatewayCommand.ts
|
|
3797
|
+
|
|
3798
|
+
|
|
3799
|
+
|
|
3800
|
+
|
|
3801
|
+
var _DeleteDirectConnectGatewayCommand = class _DeleteDirectConnectGatewayCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3802
|
+
...commonParams
|
|
3803
|
+
}).m(function(Command, cs, config, o) {
|
|
3804
|
+
return [
|
|
3805
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3806
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3807
|
+
];
|
|
3808
|
+
}).s("OvertureService", "DeleteDirectConnectGateway", {}).n("DirectConnectClient", "DeleteDirectConnectGatewayCommand").f(void 0, void 0).ser(se_DeleteDirectConnectGatewayCommand).de(de_DeleteDirectConnectGatewayCommand).build() {
|
|
3809
|
+
};
|
|
3810
|
+
__name(_DeleteDirectConnectGatewayCommand, "DeleteDirectConnectGatewayCommand");
|
|
3811
|
+
var DeleteDirectConnectGatewayCommand = _DeleteDirectConnectGatewayCommand;
|
|
3812
|
+
|
|
3813
|
+
// src/commands/DeleteInterconnectCommand.ts
|
|
3814
|
+
|
|
3815
|
+
|
|
3816
|
+
|
|
3817
|
+
|
|
3818
|
+
var _DeleteInterconnectCommand = class _DeleteInterconnectCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3819
|
+
...commonParams
|
|
3820
|
+
}).m(function(Command, cs, config, o) {
|
|
3821
|
+
return [
|
|
3822
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3823
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3824
|
+
];
|
|
3825
|
+
}).s("OvertureService", "DeleteInterconnect", {}).n("DirectConnectClient", "DeleteInterconnectCommand").f(void 0, void 0).ser(se_DeleteInterconnectCommand).de(de_DeleteInterconnectCommand).build() {
|
|
3826
|
+
};
|
|
3827
|
+
__name(_DeleteInterconnectCommand, "DeleteInterconnectCommand");
|
|
3828
|
+
var DeleteInterconnectCommand = _DeleteInterconnectCommand;
|
|
3829
|
+
|
|
3830
|
+
// src/commands/DeleteLagCommand.ts
|
|
3831
|
+
|
|
3832
|
+
|
|
3833
|
+
|
|
3834
|
+
|
|
3835
|
+
var _DeleteLagCommand = class _DeleteLagCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3836
|
+
...commonParams
|
|
3837
|
+
}).m(function(Command, cs, config, o) {
|
|
3838
|
+
return [
|
|
3839
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3840
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3841
|
+
];
|
|
3842
|
+
}).s("OvertureService", "DeleteLag", {}).n("DirectConnectClient", "DeleteLagCommand").f(void 0, void 0).ser(se_DeleteLagCommand).de(de_DeleteLagCommand).build() {
|
|
3843
|
+
};
|
|
3844
|
+
__name(_DeleteLagCommand, "DeleteLagCommand");
|
|
3845
|
+
var DeleteLagCommand = _DeleteLagCommand;
|
|
3846
|
+
|
|
3847
|
+
// src/commands/DeleteVirtualInterfaceCommand.ts
|
|
3848
|
+
|
|
3849
|
+
|
|
3850
|
+
|
|
3851
|
+
|
|
3852
|
+
var _DeleteVirtualInterfaceCommand = class _DeleteVirtualInterfaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3853
|
+
...commonParams
|
|
3854
|
+
}).m(function(Command, cs, config, o) {
|
|
3855
|
+
return [
|
|
3856
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3857
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3858
|
+
];
|
|
3859
|
+
}).s("OvertureService", "DeleteVirtualInterface", {}).n("DirectConnectClient", "DeleteVirtualInterfaceCommand").f(void 0, void 0).ser(se_DeleteVirtualInterfaceCommand).de(de_DeleteVirtualInterfaceCommand).build() {
|
|
3860
|
+
};
|
|
3861
|
+
__name(_DeleteVirtualInterfaceCommand, "DeleteVirtualInterfaceCommand");
|
|
3862
|
+
var DeleteVirtualInterfaceCommand = _DeleteVirtualInterfaceCommand;
|
|
3863
|
+
|
|
3864
|
+
// src/commands/DescribeConnectionLoaCommand.ts
|
|
3865
|
+
|
|
3866
|
+
|
|
3867
|
+
|
|
3868
|
+
|
|
3869
|
+
var _DescribeConnectionLoaCommand = class _DescribeConnectionLoaCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3870
|
+
...commonParams
|
|
3871
|
+
}).m(function(Command, cs, config, o) {
|
|
3872
|
+
return [
|
|
3873
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3874
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3875
|
+
];
|
|
3876
|
+
}).s("OvertureService", "DescribeConnectionLoa", {}).n("DirectConnectClient", "DescribeConnectionLoaCommand").f(void 0, void 0).ser(se_DescribeConnectionLoaCommand).de(de_DescribeConnectionLoaCommand).build() {
|
|
3877
|
+
};
|
|
3878
|
+
__name(_DescribeConnectionLoaCommand, "DescribeConnectionLoaCommand");
|
|
3879
|
+
var DescribeConnectionLoaCommand = _DescribeConnectionLoaCommand;
|
|
3880
|
+
|
|
3881
|
+
// src/commands/DescribeConnectionsCommand.ts
|
|
3882
|
+
|
|
3883
|
+
|
|
3884
|
+
|
|
3885
|
+
|
|
3886
|
+
var _DescribeConnectionsCommand = class _DescribeConnectionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3887
|
+
...commonParams
|
|
3888
|
+
}).m(function(Command, cs, config, o) {
|
|
3889
|
+
return [
|
|
3890
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3891
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3892
|
+
];
|
|
3893
|
+
}).s("OvertureService", "DescribeConnections", {}).n("DirectConnectClient", "DescribeConnectionsCommand").f(void 0, void 0).ser(se_DescribeConnectionsCommand).de(de_DescribeConnectionsCommand).build() {
|
|
3894
|
+
};
|
|
3895
|
+
__name(_DescribeConnectionsCommand, "DescribeConnectionsCommand");
|
|
3896
|
+
var DescribeConnectionsCommand = _DescribeConnectionsCommand;
|
|
3897
|
+
|
|
3898
|
+
// src/commands/DescribeConnectionsOnInterconnectCommand.ts
|
|
3899
|
+
|
|
3900
|
+
|
|
3901
|
+
|
|
3902
|
+
|
|
3903
|
+
var _DescribeConnectionsOnInterconnectCommand = class _DescribeConnectionsOnInterconnectCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3904
|
+
...commonParams
|
|
3905
|
+
}).m(function(Command, cs, config, o) {
|
|
3906
|
+
return [
|
|
3907
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3908
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3909
|
+
];
|
|
3910
|
+
}).s("OvertureService", "DescribeConnectionsOnInterconnect", {}).n("DirectConnectClient", "DescribeConnectionsOnInterconnectCommand").f(void 0, void 0).ser(se_DescribeConnectionsOnInterconnectCommand).de(de_DescribeConnectionsOnInterconnectCommand).build() {
|
|
3911
|
+
};
|
|
3912
|
+
__name(_DescribeConnectionsOnInterconnectCommand, "DescribeConnectionsOnInterconnectCommand");
|
|
3913
|
+
var DescribeConnectionsOnInterconnectCommand = _DescribeConnectionsOnInterconnectCommand;
|
|
3914
|
+
|
|
3915
|
+
// src/commands/DescribeCustomerMetadataCommand.ts
|
|
3916
|
+
|
|
3917
|
+
|
|
3918
|
+
|
|
3919
|
+
|
|
3920
|
+
var _DescribeCustomerMetadataCommand = class _DescribeCustomerMetadataCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3921
|
+
...commonParams
|
|
3922
|
+
}).m(function(Command, cs, config, o) {
|
|
3923
|
+
return [
|
|
3924
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3925
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3926
|
+
];
|
|
3927
|
+
}).s("OvertureService", "DescribeCustomerMetadata", {}).n("DirectConnectClient", "DescribeCustomerMetadataCommand").f(void 0, void 0).ser(se_DescribeCustomerMetadataCommand).de(de_DescribeCustomerMetadataCommand).build() {
|
|
3928
|
+
};
|
|
3929
|
+
__name(_DescribeCustomerMetadataCommand, "DescribeCustomerMetadataCommand");
|
|
3930
|
+
var DescribeCustomerMetadataCommand = _DescribeCustomerMetadataCommand;
|
|
3931
|
+
|
|
3932
|
+
// src/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.ts
|
|
3933
|
+
|
|
3934
|
+
|
|
3935
|
+
|
|
3936
|
+
|
|
3937
|
+
var _DescribeDirectConnectGatewayAssociationProposalsCommand = class _DescribeDirectConnectGatewayAssociationProposalsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3938
|
+
...commonParams
|
|
3939
|
+
}).m(function(Command, cs, config, o) {
|
|
3940
|
+
return [
|
|
3941
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3942
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3943
|
+
];
|
|
3944
|
+
}).s("OvertureService", "DescribeDirectConnectGatewayAssociationProposals", {}).n("DirectConnectClient", "DescribeDirectConnectGatewayAssociationProposalsCommand").f(void 0, void 0).ser(se_DescribeDirectConnectGatewayAssociationProposalsCommand).de(de_DescribeDirectConnectGatewayAssociationProposalsCommand).build() {
|
|
3945
|
+
};
|
|
3946
|
+
__name(_DescribeDirectConnectGatewayAssociationProposalsCommand, "DescribeDirectConnectGatewayAssociationProposalsCommand");
|
|
3947
|
+
var DescribeDirectConnectGatewayAssociationProposalsCommand = _DescribeDirectConnectGatewayAssociationProposalsCommand;
|
|
3948
|
+
|
|
3949
|
+
// src/commands/DescribeDirectConnectGatewayAssociationsCommand.ts
|
|
3950
|
+
|
|
3951
|
+
|
|
3952
|
+
|
|
3953
|
+
|
|
3954
|
+
var _DescribeDirectConnectGatewayAssociationsCommand = class _DescribeDirectConnectGatewayAssociationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3955
|
+
...commonParams
|
|
3956
|
+
}).m(function(Command, cs, config, o) {
|
|
3957
|
+
return [
|
|
3958
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3959
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3960
|
+
];
|
|
3961
|
+
}).s("OvertureService", "DescribeDirectConnectGatewayAssociations", {}).n("DirectConnectClient", "DescribeDirectConnectGatewayAssociationsCommand").f(void 0, void 0).ser(se_DescribeDirectConnectGatewayAssociationsCommand).de(de_DescribeDirectConnectGatewayAssociationsCommand).build() {
|
|
3962
|
+
};
|
|
3963
|
+
__name(_DescribeDirectConnectGatewayAssociationsCommand, "DescribeDirectConnectGatewayAssociationsCommand");
|
|
3964
|
+
var DescribeDirectConnectGatewayAssociationsCommand = _DescribeDirectConnectGatewayAssociationsCommand;
|
|
3965
|
+
|
|
3966
|
+
// src/commands/DescribeDirectConnectGatewayAttachmentsCommand.ts
|
|
3967
|
+
|
|
3968
|
+
|
|
3969
|
+
|
|
3970
|
+
|
|
3971
|
+
var _DescribeDirectConnectGatewayAttachmentsCommand = class _DescribeDirectConnectGatewayAttachmentsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3972
|
+
...commonParams
|
|
3973
|
+
}).m(function(Command, cs, config, o) {
|
|
3974
|
+
return [
|
|
3975
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3976
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3977
|
+
];
|
|
3978
|
+
}).s("OvertureService", "DescribeDirectConnectGatewayAttachments", {}).n("DirectConnectClient", "DescribeDirectConnectGatewayAttachmentsCommand").f(void 0, void 0).ser(se_DescribeDirectConnectGatewayAttachmentsCommand).de(de_DescribeDirectConnectGatewayAttachmentsCommand).build() {
|
|
3979
|
+
};
|
|
3980
|
+
__name(_DescribeDirectConnectGatewayAttachmentsCommand, "DescribeDirectConnectGatewayAttachmentsCommand");
|
|
3981
|
+
var DescribeDirectConnectGatewayAttachmentsCommand = _DescribeDirectConnectGatewayAttachmentsCommand;
|
|
3982
|
+
|
|
3983
|
+
// src/commands/DescribeDirectConnectGatewaysCommand.ts
|
|
3984
|
+
|
|
3985
|
+
|
|
3986
|
+
|
|
3987
|
+
|
|
3988
|
+
var _DescribeDirectConnectGatewaysCommand = class _DescribeDirectConnectGatewaysCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3989
|
+
...commonParams
|
|
3990
|
+
}).m(function(Command, cs, config, o) {
|
|
3991
|
+
return [
|
|
3992
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3993
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3994
|
+
];
|
|
3995
|
+
}).s("OvertureService", "DescribeDirectConnectGateways", {}).n("DirectConnectClient", "DescribeDirectConnectGatewaysCommand").f(void 0, void 0).ser(se_DescribeDirectConnectGatewaysCommand).de(de_DescribeDirectConnectGatewaysCommand).build() {
|
|
3996
|
+
};
|
|
3997
|
+
__name(_DescribeDirectConnectGatewaysCommand, "DescribeDirectConnectGatewaysCommand");
|
|
3998
|
+
var DescribeDirectConnectGatewaysCommand = _DescribeDirectConnectGatewaysCommand;
|
|
3999
|
+
|
|
4000
|
+
// src/commands/DescribeHostedConnectionsCommand.ts
|
|
4001
|
+
|
|
4002
|
+
|
|
4003
|
+
|
|
4004
|
+
|
|
4005
|
+
var _DescribeHostedConnectionsCommand = class _DescribeHostedConnectionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4006
|
+
...commonParams
|
|
4007
|
+
}).m(function(Command, cs, config, o) {
|
|
4008
|
+
return [
|
|
4009
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4010
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4011
|
+
];
|
|
4012
|
+
}).s("OvertureService", "DescribeHostedConnections", {}).n("DirectConnectClient", "DescribeHostedConnectionsCommand").f(void 0, void 0).ser(se_DescribeHostedConnectionsCommand).de(de_DescribeHostedConnectionsCommand).build() {
|
|
4013
|
+
};
|
|
4014
|
+
__name(_DescribeHostedConnectionsCommand, "DescribeHostedConnectionsCommand");
|
|
4015
|
+
var DescribeHostedConnectionsCommand = _DescribeHostedConnectionsCommand;
|
|
4016
|
+
|
|
4017
|
+
// src/commands/DescribeInterconnectLoaCommand.ts
|
|
4018
|
+
|
|
4019
|
+
|
|
4020
|
+
|
|
4021
|
+
|
|
4022
|
+
var _DescribeInterconnectLoaCommand = class _DescribeInterconnectLoaCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4023
|
+
...commonParams
|
|
4024
|
+
}).m(function(Command, cs, config, o) {
|
|
4025
|
+
return [
|
|
4026
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4027
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4028
|
+
];
|
|
4029
|
+
}).s("OvertureService", "DescribeInterconnectLoa", {}).n("DirectConnectClient", "DescribeInterconnectLoaCommand").f(void 0, void 0).ser(se_DescribeInterconnectLoaCommand).de(de_DescribeInterconnectLoaCommand).build() {
|
|
4030
|
+
};
|
|
4031
|
+
__name(_DescribeInterconnectLoaCommand, "DescribeInterconnectLoaCommand");
|
|
4032
|
+
var DescribeInterconnectLoaCommand = _DescribeInterconnectLoaCommand;
|
|
4033
|
+
|
|
4034
|
+
// src/commands/DescribeInterconnectsCommand.ts
|
|
4035
|
+
|
|
4036
|
+
|
|
4037
|
+
|
|
4038
|
+
|
|
4039
|
+
var _DescribeInterconnectsCommand = class _DescribeInterconnectsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4040
|
+
...commonParams
|
|
4041
|
+
}).m(function(Command, cs, config, o) {
|
|
4042
|
+
return [
|
|
4043
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4044
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4045
|
+
];
|
|
4046
|
+
}).s("OvertureService", "DescribeInterconnects", {}).n("DirectConnectClient", "DescribeInterconnectsCommand").f(void 0, void 0).ser(se_DescribeInterconnectsCommand).de(de_DescribeInterconnectsCommand).build() {
|
|
4047
|
+
};
|
|
4048
|
+
__name(_DescribeInterconnectsCommand, "DescribeInterconnectsCommand");
|
|
4049
|
+
var DescribeInterconnectsCommand = _DescribeInterconnectsCommand;
|
|
4050
|
+
|
|
4051
|
+
// src/commands/DescribeLagsCommand.ts
|
|
4052
|
+
|
|
4053
|
+
|
|
4054
|
+
|
|
4055
|
+
|
|
4056
|
+
var _DescribeLagsCommand = class _DescribeLagsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4057
|
+
...commonParams
|
|
4058
|
+
}).m(function(Command, cs, config, o) {
|
|
4059
|
+
return [
|
|
4060
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4061
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4062
|
+
];
|
|
4063
|
+
}).s("OvertureService", "DescribeLags", {}).n("DirectConnectClient", "DescribeLagsCommand").f(void 0, void 0).ser(se_DescribeLagsCommand).de(de_DescribeLagsCommand).build() {
|
|
4064
|
+
};
|
|
4065
|
+
__name(_DescribeLagsCommand, "DescribeLagsCommand");
|
|
4066
|
+
var DescribeLagsCommand = _DescribeLagsCommand;
|
|
4067
|
+
|
|
4068
|
+
// src/commands/DescribeLoaCommand.ts
|
|
4069
|
+
|
|
4070
|
+
|
|
4071
|
+
|
|
4072
|
+
|
|
4073
|
+
var _DescribeLoaCommand = class _DescribeLoaCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4074
|
+
...commonParams
|
|
4075
|
+
}).m(function(Command, cs, config, o) {
|
|
4076
|
+
return [
|
|
4077
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4078
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4079
|
+
];
|
|
4080
|
+
}).s("OvertureService", "DescribeLoa", {}).n("DirectConnectClient", "DescribeLoaCommand").f(void 0, void 0).ser(se_DescribeLoaCommand).de(de_DescribeLoaCommand).build() {
|
|
4081
|
+
};
|
|
4082
|
+
__name(_DescribeLoaCommand, "DescribeLoaCommand");
|
|
4083
|
+
var DescribeLoaCommand = _DescribeLoaCommand;
|
|
4084
|
+
|
|
4085
|
+
// src/commands/DescribeLocationsCommand.ts
|
|
4086
|
+
|
|
4087
|
+
|
|
4088
|
+
|
|
4089
|
+
|
|
4090
|
+
var _DescribeLocationsCommand = class _DescribeLocationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4091
|
+
...commonParams
|
|
4092
|
+
}).m(function(Command, cs, config, o) {
|
|
4093
|
+
return [
|
|
4094
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4095
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4096
|
+
];
|
|
4097
|
+
}).s("OvertureService", "DescribeLocations", {}).n("DirectConnectClient", "DescribeLocationsCommand").f(void 0, void 0).ser(se_DescribeLocationsCommand).de(de_DescribeLocationsCommand).build() {
|
|
4098
|
+
};
|
|
4099
|
+
__name(_DescribeLocationsCommand, "DescribeLocationsCommand");
|
|
4100
|
+
var DescribeLocationsCommand = _DescribeLocationsCommand;
|
|
4101
|
+
|
|
4102
|
+
// src/commands/DescribeRouterConfigurationCommand.ts
|
|
4103
|
+
|
|
4104
|
+
|
|
4105
|
+
|
|
4106
|
+
|
|
4107
|
+
var _DescribeRouterConfigurationCommand = class _DescribeRouterConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4108
|
+
...commonParams
|
|
4109
|
+
}).m(function(Command, cs, config, o) {
|
|
4110
|
+
return [
|
|
4111
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4112
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4113
|
+
];
|
|
4114
|
+
}).s("OvertureService", "DescribeRouterConfiguration", {}).n("DirectConnectClient", "DescribeRouterConfigurationCommand").f(void 0, void 0).ser(se_DescribeRouterConfigurationCommand).de(de_DescribeRouterConfigurationCommand).build() {
|
|
4115
|
+
};
|
|
4116
|
+
__name(_DescribeRouterConfigurationCommand, "DescribeRouterConfigurationCommand");
|
|
4117
|
+
var DescribeRouterConfigurationCommand = _DescribeRouterConfigurationCommand;
|
|
4118
|
+
|
|
4119
|
+
// src/commands/DescribeTagsCommand.ts
|
|
4120
|
+
|
|
4121
|
+
|
|
4122
|
+
|
|
4123
|
+
|
|
4124
|
+
var _DescribeTagsCommand = class _DescribeTagsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4125
|
+
...commonParams
|
|
4126
|
+
}).m(function(Command, cs, config, o) {
|
|
4127
|
+
return [
|
|
4128
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4129
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4130
|
+
];
|
|
4131
|
+
}).s("OvertureService", "DescribeTags", {}).n("DirectConnectClient", "DescribeTagsCommand").f(void 0, void 0).ser(se_DescribeTagsCommand).de(de_DescribeTagsCommand).build() {
|
|
4132
|
+
};
|
|
4133
|
+
__name(_DescribeTagsCommand, "DescribeTagsCommand");
|
|
4134
|
+
var DescribeTagsCommand = _DescribeTagsCommand;
|
|
4135
|
+
|
|
4136
|
+
// src/commands/DescribeVirtualGatewaysCommand.ts
|
|
4137
|
+
|
|
4138
|
+
|
|
4139
|
+
|
|
4140
|
+
|
|
4141
|
+
var _DescribeVirtualGatewaysCommand = class _DescribeVirtualGatewaysCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4142
|
+
...commonParams
|
|
4143
|
+
}).m(function(Command, cs, config, o) {
|
|
4144
|
+
return [
|
|
4145
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4146
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4147
|
+
];
|
|
4148
|
+
}).s("OvertureService", "DescribeVirtualGateways", {}).n("DirectConnectClient", "DescribeVirtualGatewaysCommand").f(void 0, void 0).ser(se_DescribeVirtualGatewaysCommand).de(de_DescribeVirtualGatewaysCommand).build() {
|
|
4149
|
+
};
|
|
4150
|
+
__name(_DescribeVirtualGatewaysCommand, "DescribeVirtualGatewaysCommand");
|
|
4151
|
+
var DescribeVirtualGatewaysCommand = _DescribeVirtualGatewaysCommand;
|
|
4152
|
+
|
|
4153
|
+
// src/commands/DescribeVirtualInterfacesCommand.ts
|
|
4154
|
+
|
|
4155
|
+
|
|
4156
|
+
|
|
4157
|
+
|
|
4158
|
+
var _DescribeVirtualInterfacesCommand = class _DescribeVirtualInterfacesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4159
|
+
...commonParams
|
|
4160
|
+
}).m(function(Command, cs, config, o) {
|
|
4161
|
+
return [
|
|
4162
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4163
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4164
|
+
];
|
|
4165
|
+
}).s("OvertureService", "DescribeVirtualInterfaces", {}).n("DirectConnectClient", "DescribeVirtualInterfacesCommand").f(void 0, void 0).ser(se_DescribeVirtualInterfacesCommand).de(de_DescribeVirtualInterfacesCommand).build() {
|
|
4166
|
+
};
|
|
4167
|
+
__name(_DescribeVirtualInterfacesCommand, "DescribeVirtualInterfacesCommand");
|
|
4168
|
+
var DescribeVirtualInterfacesCommand = _DescribeVirtualInterfacesCommand;
|
|
4169
|
+
|
|
4170
|
+
// src/commands/DisassociateConnectionFromLagCommand.ts
|
|
4171
|
+
|
|
4172
|
+
|
|
4173
|
+
|
|
4174
|
+
|
|
4175
|
+
var _DisassociateConnectionFromLagCommand = class _DisassociateConnectionFromLagCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4176
|
+
...commonParams
|
|
4177
|
+
}).m(function(Command, cs, config, o) {
|
|
4178
|
+
return [
|
|
4179
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4180
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4181
|
+
];
|
|
4182
|
+
}).s("OvertureService", "DisassociateConnectionFromLag", {}).n("DirectConnectClient", "DisassociateConnectionFromLagCommand").f(void 0, void 0).ser(se_DisassociateConnectionFromLagCommand).de(de_DisassociateConnectionFromLagCommand).build() {
|
|
4183
|
+
};
|
|
4184
|
+
__name(_DisassociateConnectionFromLagCommand, "DisassociateConnectionFromLagCommand");
|
|
4185
|
+
var DisassociateConnectionFromLagCommand = _DisassociateConnectionFromLagCommand;
|
|
4186
|
+
|
|
4187
|
+
// src/commands/DisassociateMacSecKeyCommand.ts
|
|
4188
|
+
|
|
4189
|
+
|
|
4190
|
+
|
|
4191
|
+
|
|
4192
|
+
var _DisassociateMacSecKeyCommand = class _DisassociateMacSecKeyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4193
|
+
...commonParams
|
|
4194
|
+
}).m(function(Command, cs, config, o) {
|
|
4195
|
+
return [
|
|
4196
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4197
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4198
|
+
];
|
|
4199
|
+
}).s("OvertureService", "DisassociateMacSecKey", {}).n("DirectConnectClient", "DisassociateMacSecKeyCommand").f(void 0, void 0).ser(se_DisassociateMacSecKeyCommand).de(de_DisassociateMacSecKeyCommand).build() {
|
|
4200
|
+
};
|
|
4201
|
+
__name(_DisassociateMacSecKeyCommand, "DisassociateMacSecKeyCommand");
|
|
4202
|
+
var DisassociateMacSecKeyCommand = _DisassociateMacSecKeyCommand;
|
|
4203
|
+
|
|
4204
|
+
// src/commands/ListVirtualInterfaceTestHistoryCommand.ts
|
|
4205
|
+
|
|
4206
|
+
|
|
4207
|
+
|
|
4208
|
+
|
|
4209
|
+
var _ListVirtualInterfaceTestHistoryCommand = class _ListVirtualInterfaceTestHistoryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4210
|
+
...commonParams
|
|
4211
|
+
}).m(function(Command, cs, config, o) {
|
|
4212
|
+
return [
|
|
4213
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4214
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4215
|
+
];
|
|
4216
|
+
}).s("OvertureService", "ListVirtualInterfaceTestHistory", {}).n("DirectConnectClient", "ListVirtualInterfaceTestHistoryCommand").f(void 0, void 0).ser(se_ListVirtualInterfaceTestHistoryCommand).de(de_ListVirtualInterfaceTestHistoryCommand).build() {
|
|
4217
|
+
};
|
|
4218
|
+
__name(_ListVirtualInterfaceTestHistoryCommand, "ListVirtualInterfaceTestHistoryCommand");
|
|
4219
|
+
var ListVirtualInterfaceTestHistoryCommand = _ListVirtualInterfaceTestHistoryCommand;
|
|
4220
|
+
|
|
4221
|
+
// src/commands/StartBgpFailoverTestCommand.ts
|
|
4222
|
+
|
|
4223
|
+
|
|
4224
|
+
|
|
4225
|
+
|
|
4226
|
+
var _StartBgpFailoverTestCommand = class _StartBgpFailoverTestCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4227
|
+
...commonParams
|
|
4228
|
+
}).m(function(Command, cs, config, o) {
|
|
4229
|
+
return [
|
|
4230
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4231
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4232
|
+
];
|
|
4233
|
+
}).s("OvertureService", "StartBgpFailoverTest", {}).n("DirectConnectClient", "StartBgpFailoverTestCommand").f(void 0, void 0).ser(se_StartBgpFailoverTestCommand).de(de_StartBgpFailoverTestCommand).build() {
|
|
4234
|
+
};
|
|
4235
|
+
__name(_StartBgpFailoverTestCommand, "StartBgpFailoverTestCommand");
|
|
4236
|
+
var StartBgpFailoverTestCommand = _StartBgpFailoverTestCommand;
|
|
4237
|
+
|
|
4238
|
+
// src/commands/StopBgpFailoverTestCommand.ts
|
|
4239
|
+
|
|
4240
|
+
|
|
4241
|
+
|
|
4242
|
+
|
|
4243
|
+
var _StopBgpFailoverTestCommand = class _StopBgpFailoverTestCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4244
|
+
...commonParams
|
|
4245
|
+
}).m(function(Command, cs, config, o) {
|
|
4246
|
+
return [
|
|
4247
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4248
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4249
|
+
];
|
|
4250
|
+
}).s("OvertureService", "StopBgpFailoverTest", {}).n("DirectConnectClient", "StopBgpFailoverTestCommand").f(void 0, void 0).ser(se_StopBgpFailoverTestCommand).de(de_StopBgpFailoverTestCommand).build() {
|
|
4251
|
+
};
|
|
4252
|
+
__name(_StopBgpFailoverTestCommand, "StopBgpFailoverTestCommand");
|
|
4253
|
+
var StopBgpFailoverTestCommand = _StopBgpFailoverTestCommand;
|
|
4254
|
+
|
|
4255
|
+
// src/commands/TagResourceCommand.ts
|
|
4256
|
+
|
|
4257
|
+
|
|
4258
|
+
|
|
4259
|
+
|
|
4260
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4261
|
+
...commonParams
|
|
4262
|
+
}).m(function(Command, cs, config, o) {
|
|
4263
|
+
return [
|
|
4264
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4265
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4266
|
+
];
|
|
4267
|
+
}).s("OvertureService", "TagResource", {}).n("DirectConnectClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
4268
|
+
};
|
|
4269
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
4270
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
4271
|
+
|
|
4272
|
+
// src/commands/UntagResourceCommand.ts
|
|
4273
|
+
|
|
4274
|
+
|
|
4275
|
+
|
|
4276
|
+
|
|
4277
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4278
|
+
...commonParams
|
|
4279
|
+
}).m(function(Command, cs, config, o) {
|
|
4280
|
+
return [
|
|
4281
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4282
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4283
|
+
];
|
|
4284
|
+
}).s("OvertureService", "UntagResource", {}).n("DirectConnectClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
4285
|
+
};
|
|
4286
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
4287
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
4288
|
+
|
|
4289
|
+
// src/commands/UpdateConnectionCommand.ts
|
|
4290
|
+
|
|
4291
|
+
|
|
4292
|
+
|
|
4293
|
+
|
|
4294
|
+
var _UpdateConnectionCommand = class _UpdateConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4295
|
+
...commonParams
|
|
4296
|
+
}).m(function(Command, cs, config, o) {
|
|
4297
|
+
return [
|
|
4298
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4299
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4300
|
+
];
|
|
4301
|
+
}).s("OvertureService", "UpdateConnection", {}).n("DirectConnectClient", "UpdateConnectionCommand").f(void 0, void 0).ser(se_UpdateConnectionCommand).de(de_UpdateConnectionCommand).build() {
|
|
4302
|
+
};
|
|
4303
|
+
__name(_UpdateConnectionCommand, "UpdateConnectionCommand");
|
|
4304
|
+
var UpdateConnectionCommand = _UpdateConnectionCommand;
|
|
4305
|
+
|
|
4306
|
+
// src/commands/UpdateDirectConnectGatewayAssociationCommand.ts
|
|
4307
|
+
|
|
4308
|
+
|
|
4309
|
+
|
|
4310
|
+
|
|
4311
|
+
var _UpdateDirectConnectGatewayAssociationCommand = class _UpdateDirectConnectGatewayAssociationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4312
|
+
...commonParams
|
|
4313
|
+
}).m(function(Command, cs, config, o) {
|
|
4314
|
+
return [
|
|
4315
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4316
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4317
|
+
];
|
|
4318
|
+
}).s("OvertureService", "UpdateDirectConnectGatewayAssociation", {}).n("DirectConnectClient", "UpdateDirectConnectGatewayAssociationCommand").f(void 0, void 0).ser(se_UpdateDirectConnectGatewayAssociationCommand).de(de_UpdateDirectConnectGatewayAssociationCommand).build() {
|
|
4319
|
+
};
|
|
4320
|
+
__name(_UpdateDirectConnectGatewayAssociationCommand, "UpdateDirectConnectGatewayAssociationCommand");
|
|
4321
|
+
var UpdateDirectConnectGatewayAssociationCommand = _UpdateDirectConnectGatewayAssociationCommand;
|
|
4322
|
+
|
|
4323
|
+
// src/commands/UpdateDirectConnectGatewayCommand.ts
|
|
4324
|
+
|
|
4325
|
+
|
|
4326
|
+
|
|
4327
|
+
|
|
4328
|
+
var _UpdateDirectConnectGatewayCommand = class _UpdateDirectConnectGatewayCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4329
|
+
...commonParams
|
|
4330
|
+
}).m(function(Command, cs, config, o) {
|
|
4331
|
+
return [
|
|
4332
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4333
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4334
|
+
];
|
|
4335
|
+
}).s("OvertureService", "UpdateDirectConnectGateway", {}).n("DirectConnectClient", "UpdateDirectConnectGatewayCommand").f(void 0, void 0).ser(se_UpdateDirectConnectGatewayCommand).de(de_UpdateDirectConnectGatewayCommand).build() {
|
|
4336
|
+
};
|
|
4337
|
+
__name(_UpdateDirectConnectGatewayCommand, "UpdateDirectConnectGatewayCommand");
|
|
4338
|
+
var UpdateDirectConnectGatewayCommand = _UpdateDirectConnectGatewayCommand;
|
|
4339
|
+
|
|
4340
|
+
// src/commands/UpdateLagCommand.ts
|
|
4341
|
+
|
|
4342
|
+
|
|
4343
|
+
|
|
4344
|
+
|
|
4345
|
+
var _UpdateLagCommand = class _UpdateLagCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4346
|
+
...commonParams
|
|
4347
|
+
}).m(function(Command, cs, config, o) {
|
|
4348
|
+
return [
|
|
4349
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4350
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4351
|
+
];
|
|
4352
|
+
}).s("OvertureService", "UpdateLag", {}).n("DirectConnectClient", "UpdateLagCommand").f(void 0, void 0).ser(se_UpdateLagCommand).de(de_UpdateLagCommand).build() {
|
|
4353
|
+
};
|
|
4354
|
+
__name(_UpdateLagCommand, "UpdateLagCommand");
|
|
4355
|
+
var UpdateLagCommand = _UpdateLagCommand;
|
|
4356
|
+
|
|
4357
|
+
// src/commands/UpdateVirtualInterfaceAttributesCommand.ts
|
|
4358
|
+
|
|
4359
|
+
|
|
4360
|
+
|
|
4361
|
+
|
|
4362
|
+
var _UpdateVirtualInterfaceAttributesCommand = class _UpdateVirtualInterfaceAttributesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4363
|
+
...commonParams
|
|
4364
|
+
}).m(function(Command, cs, config, o) {
|
|
4365
|
+
return [
|
|
4366
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4367
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4368
|
+
];
|
|
4369
|
+
}).s("OvertureService", "UpdateVirtualInterfaceAttributes", {}).n("DirectConnectClient", "UpdateVirtualInterfaceAttributesCommand").f(void 0, void 0).ser(se_UpdateVirtualInterfaceAttributesCommand).de(de_UpdateVirtualInterfaceAttributesCommand).build() {
|
|
4370
|
+
};
|
|
4371
|
+
__name(_UpdateVirtualInterfaceAttributesCommand, "UpdateVirtualInterfaceAttributesCommand");
|
|
4372
|
+
var UpdateVirtualInterfaceAttributesCommand = _UpdateVirtualInterfaceAttributesCommand;
|
|
4373
|
+
|
|
4374
|
+
// src/DirectConnect.ts
|
|
4375
|
+
var commands = {
|
|
4376
|
+
AcceptDirectConnectGatewayAssociationProposalCommand,
|
|
4377
|
+
AllocateConnectionOnInterconnectCommand,
|
|
4378
|
+
AllocateHostedConnectionCommand,
|
|
4379
|
+
AllocatePrivateVirtualInterfaceCommand,
|
|
4380
|
+
AllocatePublicVirtualInterfaceCommand,
|
|
4381
|
+
AllocateTransitVirtualInterfaceCommand,
|
|
4382
|
+
AssociateConnectionWithLagCommand,
|
|
4383
|
+
AssociateHostedConnectionCommand,
|
|
4384
|
+
AssociateMacSecKeyCommand,
|
|
4385
|
+
AssociateVirtualInterfaceCommand,
|
|
4386
|
+
ConfirmConnectionCommand,
|
|
4387
|
+
ConfirmCustomerAgreementCommand,
|
|
4388
|
+
ConfirmPrivateVirtualInterfaceCommand,
|
|
4389
|
+
ConfirmPublicVirtualInterfaceCommand,
|
|
4390
|
+
ConfirmTransitVirtualInterfaceCommand,
|
|
4391
|
+
CreateBGPPeerCommand,
|
|
4392
|
+
CreateConnectionCommand,
|
|
4393
|
+
CreateDirectConnectGatewayCommand,
|
|
4394
|
+
CreateDirectConnectGatewayAssociationCommand,
|
|
4395
|
+
CreateDirectConnectGatewayAssociationProposalCommand,
|
|
4396
|
+
CreateInterconnectCommand,
|
|
4397
|
+
CreateLagCommand,
|
|
4398
|
+
CreatePrivateVirtualInterfaceCommand,
|
|
4399
|
+
CreatePublicVirtualInterfaceCommand,
|
|
4400
|
+
CreateTransitVirtualInterfaceCommand,
|
|
4401
|
+
DeleteBGPPeerCommand,
|
|
4402
|
+
DeleteConnectionCommand,
|
|
4403
|
+
DeleteDirectConnectGatewayCommand,
|
|
4404
|
+
DeleteDirectConnectGatewayAssociationCommand,
|
|
4405
|
+
DeleteDirectConnectGatewayAssociationProposalCommand,
|
|
4406
|
+
DeleteInterconnectCommand,
|
|
4407
|
+
DeleteLagCommand,
|
|
4408
|
+
DeleteVirtualInterfaceCommand,
|
|
4409
|
+
DescribeConnectionLoaCommand,
|
|
4410
|
+
DescribeConnectionsCommand,
|
|
4411
|
+
DescribeConnectionsOnInterconnectCommand,
|
|
4412
|
+
DescribeCustomerMetadataCommand,
|
|
4413
|
+
DescribeDirectConnectGatewayAssociationProposalsCommand,
|
|
4414
|
+
DescribeDirectConnectGatewayAssociationsCommand,
|
|
4415
|
+
DescribeDirectConnectGatewayAttachmentsCommand,
|
|
4416
|
+
DescribeDirectConnectGatewaysCommand,
|
|
4417
|
+
DescribeHostedConnectionsCommand,
|
|
4418
|
+
DescribeInterconnectLoaCommand,
|
|
4419
|
+
DescribeInterconnectsCommand,
|
|
4420
|
+
DescribeLagsCommand,
|
|
4421
|
+
DescribeLoaCommand,
|
|
4422
|
+
DescribeLocationsCommand,
|
|
4423
|
+
DescribeRouterConfigurationCommand,
|
|
4424
|
+
DescribeTagsCommand,
|
|
4425
|
+
DescribeVirtualGatewaysCommand,
|
|
4426
|
+
DescribeVirtualInterfacesCommand,
|
|
4427
|
+
DisassociateConnectionFromLagCommand,
|
|
4428
|
+
DisassociateMacSecKeyCommand,
|
|
4429
|
+
ListVirtualInterfaceTestHistoryCommand,
|
|
4430
|
+
StartBgpFailoverTestCommand,
|
|
4431
|
+
StopBgpFailoverTestCommand,
|
|
4432
|
+
TagResourceCommand,
|
|
4433
|
+
UntagResourceCommand,
|
|
4434
|
+
UpdateConnectionCommand,
|
|
4435
|
+
UpdateDirectConnectGatewayCommand,
|
|
4436
|
+
UpdateDirectConnectGatewayAssociationCommand,
|
|
4437
|
+
UpdateLagCommand,
|
|
4438
|
+
UpdateVirtualInterfaceAttributesCommand
|
|
4439
|
+
};
|
|
4440
|
+
var _DirectConnect = class _DirectConnect extends DirectConnectClient {
|
|
4441
|
+
};
|
|
4442
|
+
__name(_DirectConnect, "DirectConnect");
|
|
4443
|
+
var DirectConnect = _DirectConnect;
|
|
4444
|
+
(0, import_smithy_client.createAggregatedClient)(commands, DirectConnect);
|
|
4445
|
+
|
|
4446
|
+
// src/index.ts
|
|
4447
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
4448
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
4449
|
+
0 && (module.exports = {
|
|
4450
|
+
AcceptDirectConnectGatewayAssociationProposalCommand,
|
|
4451
|
+
AddressFamily,
|
|
4452
|
+
AllocateConnectionOnInterconnectCommand,
|
|
4453
|
+
AllocateHostedConnectionCommand,
|
|
4454
|
+
AllocatePrivateVirtualInterfaceCommand,
|
|
4455
|
+
AllocatePublicVirtualInterfaceCommand,
|
|
4456
|
+
AllocateTransitVirtualInterfaceCommand,
|
|
4457
|
+
AssociateConnectionWithLagCommand,
|
|
4458
|
+
AssociateHostedConnectionCommand,
|
|
4459
|
+
AssociateMacSecKeyCommand,
|
|
4460
|
+
AssociateVirtualInterfaceCommand,
|
|
4461
|
+
BGPPeerState,
|
|
4462
|
+
BGPStatus,
|
|
4463
|
+
ConfirmConnectionCommand,
|
|
4464
|
+
ConfirmCustomerAgreementCommand,
|
|
4465
|
+
ConfirmPrivateVirtualInterfaceCommand,
|
|
4466
|
+
ConfirmPublicVirtualInterfaceCommand,
|
|
4467
|
+
ConfirmTransitVirtualInterfaceCommand,
|
|
4468
|
+
ConnectionState,
|
|
4469
|
+
CreateBGPPeerCommand,
|
|
4470
|
+
CreateConnectionCommand,
|
|
4471
|
+
CreateDirectConnectGatewayAssociationCommand,
|
|
4472
|
+
CreateDirectConnectGatewayAssociationProposalCommand,
|
|
4473
|
+
CreateDirectConnectGatewayCommand,
|
|
4474
|
+
CreateInterconnectCommand,
|
|
4475
|
+
CreateLagCommand,
|
|
4476
|
+
CreatePrivateVirtualInterfaceCommand,
|
|
4477
|
+
CreatePublicVirtualInterfaceCommand,
|
|
4478
|
+
CreateTransitVirtualInterfaceCommand,
|
|
4479
|
+
DeleteBGPPeerCommand,
|
|
4480
|
+
DeleteConnectionCommand,
|
|
4481
|
+
DeleteDirectConnectGatewayAssociationCommand,
|
|
4482
|
+
DeleteDirectConnectGatewayAssociationProposalCommand,
|
|
4483
|
+
DeleteDirectConnectGatewayCommand,
|
|
4484
|
+
DeleteInterconnectCommand,
|
|
4485
|
+
DeleteLagCommand,
|
|
4486
|
+
DeleteVirtualInterfaceCommand,
|
|
4487
|
+
DescribeConnectionLoaCommand,
|
|
4488
|
+
DescribeConnectionsCommand,
|
|
4489
|
+
DescribeConnectionsOnInterconnectCommand,
|
|
4490
|
+
DescribeCustomerMetadataCommand,
|
|
4491
|
+
DescribeDirectConnectGatewayAssociationProposalsCommand,
|
|
4492
|
+
DescribeDirectConnectGatewayAssociationsCommand,
|
|
4493
|
+
DescribeDirectConnectGatewayAttachmentsCommand,
|
|
4494
|
+
DescribeDirectConnectGatewaysCommand,
|
|
4495
|
+
DescribeHostedConnectionsCommand,
|
|
4496
|
+
DescribeInterconnectLoaCommand,
|
|
4497
|
+
DescribeInterconnectsCommand,
|
|
4498
|
+
DescribeLagsCommand,
|
|
4499
|
+
DescribeLoaCommand,
|
|
4500
|
+
DescribeLocationsCommand,
|
|
4501
|
+
DescribeRouterConfigurationCommand,
|
|
4502
|
+
DescribeTagsCommand,
|
|
4503
|
+
DescribeVirtualGatewaysCommand,
|
|
4504
|
+
DescribeVirtualInterfacesCommand,
|
|
4505
|
+
DirectConnect,
|
|
4506
|
+
DirectConnectClient,
|
|
4507
|
+
DirectConnectClientException,
|
|
4508
|
+
DirectConnectGatewayAssociationProposalState,
|
|
4509
|
+
DirectConnectGatewayAssociationState,
|
|
4510
|
+
DirectConnectGatewayAttachmentState,
|
|
4511
|
+
DirectConnectGatewayAttachmentType,
|
|
4512
|
+
DirectConnectGatewayState,
|
|
4513
|
+
DirectConnectServerException,
|
|
4514
|
+
DirectConnectServiceException,
|
|
4515
|
+
DisassociateConnectionFromLagCommand,
|
|
4516
|
+
DisassociateMacSecKeyCommand,
|
|
4517
|
+
DuplicateTagKeysException,
|
|
4518
|
+
GatewayType,
|
|
4519
|
+
HasLogicalRedundancy,
|
|
4520
|
+
InterconnectState,
|
|
4521
|
+
LagState,
|
|
4522
|
+
ListVirtualInterfaceTestHistoryCommand,
|
|
4523
|
+
LoaContentType,
|
|
4524
|
+
NniPartnerType,
|
|
4525
|
+
StartBgpFailoverTestCommand,
|
|
4526
|
+
StopBgpFailoverTestCommand,
|
|
4527
|
+
TagResourceCommand,
|
|
4528
|
+
TooManyTagsException,
|
|
4529
|
+
UntagResourceCommand,
|
|
4530
|
+
UpdateConnectionCommand,
|
|
4531
|
+
UpdateDirectConnectGatewayAssociationCommand,
|
|
4532
|
+
UpdateDirectConnectGatewayCommand,
|
|
4533
|
+
UpdateLagCommand,
|
|
4534
|
+
UpdateVirtualInterfaceAttributesCommand,
|
|
4535
|
+
VirtualInterfaceState,
|
|
4536
|
+
__Client
|
|
4537
|
+
});
|