@aws-sdk/client-direct-connect 3.309.0 → 3.312.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/protocols/Aws_json1_1.js +69 -252
- package/dist-es/protocols/Aws_json1_1.js +69 -252
- package/package.json +35 -35
|
@@ -8,627 +8,438 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
8
8
|
const DirectConnectServiceException_1 = require("../models/DirectConnectServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const se_AcceptDirectConnectGatewayAssociationProposalCommand = async (input, context) => {
|
|
11
|
-
const headers =
|
|
12
|
-
"content-type": "application/x-amz-json-1.1",
|
|
13
|
-
"x-amz-target": "OvertureService.AcceptDirectConnectGatewayAssociationProposal",
|
|
14
|
-
};
|
|
11
|
+
const headers = sharedHeaders("AcceptDirectConnectGatewayAssociationProposal");
|
|
15
12
|
let body;
|
|
16
13
|
body = JSON.stringify(se_AcceptDirectConnectGatewayAssociationProposalRequest(input, context));
|
|
17
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
15
|
};
|
|
19
16
|
exports.se_AcceptDirectConnectGatewayAssociationProposalCommand = se_AcceptDirectConnectGatewayAssociationProposalCommand;
|
|
20
17
|
const se_AllocateConnectionOnInterconnectCommand = async (input, context) => {
|
|
21
|
-
const headers =
|
|
22
|
-
"content-type": "application/x-amz-json-1.1",
|
|
23
|
-
"x-amz-target": "OvertureService.AllocateConnectionOnInterconnect",
|
|
24
|
-
};
|
|
18
|
+
const headers = sharedHeaders("AllocateConnectionOnInterconnect");
|
|
25
19
|
let body;
|
|
26
20
|
body = JSON.stringify(se_AllocateConnectionOnInterconnectRequest(input, context));
|
|
27
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
22
|
};
|
|
29
23
|
exports.se_AllocateConnectionOnInterconnectCommand = se_AllocateConnectionOnInterconnectCommand;
|
|
30
24
|
const se_AllocateHostedConnectionCommand = async (input, context) => {
|
|
31
|
-
const headers =
|
|
32
|
-
"content-type": "application/x-amz-json-1.1",
|
|
33
|
-
"x-amz-target": "OvertureService.AllocateHostedConnection",
|
|
34
|
-
};
|
|
25
|
+
const headers = sharedHeaders("AllocateHostedConnection");
|
|
35
26
|
let body;
|
|
36
27
|
body = JSON.stringify(se_AllocateHostedConnectionRequest(input, context));
|
|
37
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
38
29
|
};
|
|
39
30
|
exports.se_AllocateHostedConnectionCommand = se_AllocateHostedConnectionCommand;
|
|
40
31
|
const se_AllocatePrivateVirtualInterfaceCommand = async (input, context) => {
|
|
41
|
-
const headers =
|
|
42
|
-
"content-type": "application/x-amz-json-1.1",
|
|
43
|
-
"x-amz-target": "OvertureService.AllocatePrivateVirtualInterface",
|
|
44
|
-
};
|
|
32
|
+
const headers = sharedHeaders("AllocatePrivateVirtualInterface");
|
|
45
33
|
let body;
|
|
46
34
|
body = JSON.stringify(se_AllocatePrivateVirtualInterfaceRequest(input, context));
|
|
47
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
36
|
};
|
|
49
37
|
exports.se_AllocatePrivateVirtualInterfaceCommand = se_AllocatePrivateVirtualInterfaceCommand;
|
|
50
38
|
const se_AllocatePublicVirtualInterfaceCommand = async (input, context) => {
|
|
51
|
-
const headers =
|
|
52
|
-
"content-type": "application/x-amz-json-1.1",
|
|
53
|
-
"x-amz-target": "OvertureService.AllocatePublicVirtualInterface",
|
|
54
|
-
};
|
|
39
|
+
const headers = sharedHeaders("AllocatePublicVirtualInterface");
|
|
55
40
|
let body;
|
|
56
41
|
body = JSON.stringify(se_AllocatePublicVirtualInterfaceRequest(input, context));
|
|
57
42
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
43
|
};
|
|
59
44
|
exports.se_AllocatePublicVirtualInterfaceCommand = se_AllocatePublicVirtualInterfaceCommand;
|
|
60
45
|
const se_AllocateTransitVirtualInterfaceCommand = async (input, context) => {
|
|
61
|
-
const headers =
|
|
62
|
-
"content-type": "application/x-amz-json-1.1",
|
|
63
|
-
"x-amz-target": "OvertureService.AllocateTransitVirtualInterface",
|
|
64
|
-
};
|
|
46
|
+
const headers = sharedHeaders("AllocateTransitVirtualInterface");
|
|
65
47
|
let body;
|
|
66
48
|
body = JSON.stringify(se_AllocateTransitVirtualInterfaceRequest(input, context));
|
|
67
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
50
|
};
|
|
69
51
|
exports.se_AllocateTransitVirtualInterfaceCommand = se_AllocateTransitVirtualInterfaceCommand;
|
|
70
52
|
const se_AssociateConnectionWithLagCommand = async (input, context) => {
|
|
71
|
-
const headers =
|
|
72
|
-
"content-type": "application/x-amz-json-1.1",
|
|
73
|
-
"x-amz-target": "OvertureService.AssociateConnectionWithLag",
|
|
74
|
-
};
|
|
53
|
+
const headers = sharedHeaders("AssociateConnectionWithLag");
|
|
75
54
|
let body;
|
|
76
55
|
body = JSON.stringify(se_AssociateConnectionWithLagRequest(input, context));
|
|
77
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
57
|
};
|
|
79
58
|
exports.se_AssociateConnectionWithLagCommand = se_AssociateConnectionWithLagCommand;
|
|
80
59
|
const se_AssociateHostedConnectionCommand = async (input, context) => {
|
|
81
|
-
const headers =
|
|
82
|
-
"content-type": "application/x-amz-json-1.1",
|
|
83
|
-
"x-amz-target": "OvertureService.AssociateHostedConnection",
|
|
84
|
-
};
|
|
60
|
+
const headers = sharedHeaders("AssociateHostedConnection");
|
|
85
61
|
let body;
|
|
86
62
|
body = JSON.stringify(se_AssociateHostedConnectionRequest(input, context));
|
|
87
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
64
|
};
|
|
89
65
|
exports.se_AssociateHostedConnectionCommand = se_AssociateHostedConnectionCommand;
|
|
90
66
|
const se_AssociateMacSecKeyCommand = async (input, context) => {
|
|
91
|
-
const headers =
|
|
92
|
-
"content-type": "application/x-amz-json-1.1",
|
|
93
|
-
"x-amz-target": "OvertureService.AssociateMacSecKey",
|
|
94
|
-
};
|
|
67
|
+
const headers = sharedHeaders("AssociateMacSecKey");
|
|
95
68
|
let body;
|
|
96
69
|
body = JSON.stringify(se_AssociateMacSecKeyRequest(input, context));
|
|
97
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
71
|
};
|
|
99
72
|
exports.se_AssociateMacSecKeyCommand = se_AssociateMacSecKeyCommand;
|
|
100
73
|
const se_AssociateVirtualInterfaceCommand = async (input, context) => {
|
|
101
|
-
const headers =
|
|
102
|
-
"content-type": "application/x-amz-json-1.1",
|
|
103
|
-
"x-amz-target": "OvertureService.AssociateVirtualInterface",
|
|
104
|
-
};
|
|
74
|
+
const headers = sharedHeaders("AssociateVirtualInterface");
|
|
105
75
|
let body;
|
|
106
76
|
body = JSON.stringify(se_AssociateVirtualInterfaceRequest(input, context));
|
|
107
77
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
78
|
};
|
|
109
79
|
exports.se_AssociateVirtualInterfaceCommand = se_AssociateVirtualInterfaceCommand;
|
|
110
80
|
const se_ConfirmConnectionCommand = async (input, context) => {
|
|
111
|
-
const headers =
|
|
112
|
-
"content-type": "application/x-amz-json-1.1",
|
|
113
|
-
"x-amz-target": "OvertureService.ConfirmConnection",
|
|
114
|
-
};
|
|
81
|
+
const headers = sharedHeaders("ConfirmConnection");
|
|
115
82
|
let body;
|
|
116
83
|
body = JSON.stringify(se_ConfirmConnectionRequest(input, context));
|
|
117
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
85
|
};
|
|
119
86
|
exports.se_ConfirmConnectionCommand = se_ConfirmConnectionCommand;
|
|
120
87
|
const se_ConfirmCustomerAgreementCommand = async (input, context) => {
|
|
121
|
-
const headers =
|
|
122
|
-
"content-type": "application/x-amz-json-1.1",
|
|
123
|
-
"x-amz-target": "OvertureService.ConfirmCustomerAgreement",
|
|
124
|
-
};
|
|
88
|
+
const headers = sharedHeaders("ConfirmCustomerAgreement");
|
|
125
89
|
let body;
|
|
126
90
|
body = JSON.stringify(se_ConfirmCustomerAgreementRequest(input, context));
|
|
127
91
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
128
92
|
};
|
|
129
93
|
exports.se_ConfirmCustomerAgreementCommand = se_ConfirmCustomerAgreementCommand;
|
|
130
94
|
const se_ConfirmPrivateVirtualInterfaceCommand = async (input, context) => {
|
|
131
|
-
const headers =
|
|
132
|
-
"content-type": "application/x-amz-json-1.1",
|
|
133
|
-
"x-amz-target": "OvertureService.ConfirmPrivateVirtualInterface",
|
|
134
|
-
};
|
|
95
|
+
const headers = sharedHeaders("ConfirmPrivateVirtualInterface");
|
|
135
96
|
let body;
|
|
136
97
|
body = JSON.stringify(se_ConfirmPrivateVirtualInterfaceRequest(input, context));
|
|
137
98
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
99
|
};
|
|
139
100
|
exports.se_ConfirmPrivateVirtualInterfaceCommand = se_ConfirmPrivateVirtualInterfaceCommand;
|
|
140
101
|
const se_ConfirmPublicVirtualInterfaceCommand = async (input, context) => {
|
|
141
|
-
const headers =
|
|
142
|
-
"content-type": "application/x-amz-json-1.1",
|
|
143
|
-
"x-amz-target": "OvertureService.ConfirmPublicVirtualInterface",
|
|
144
|
-
};
|
|
102
|
+
const headers = sharedHeaders("ConfirmPublicVirtualInterface");
|
|
145
103
|
let body;
|
|
146
104
|
body = JSON.stringify(se_ConfirmPublicVirtualInterfaceRequest(input, context));
|
|
147
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
106
|
};
|
|
149
107
|
exports.se_ConfirmPublicVirtualInterfaceCommand = se_ConfirmPublicVirtualInterfaceCommand;
|
|
150
108
|
const se_ConfirmTransitVirtualInterfaceCommand = async (input, context) => {
|
|
151
|
-
const headers =
|
|
152
|
-
"content-type": "application/x-amz-json-1.1",
|
|
153
|
-
"x-amz-target": "OvertureService.ConfirmTransitVirtualInterface",
|
|
154
|
-
};
|
|
109
|
+
const headers = sharedHeaders("ConfirmTransitVirtualInterface");
|
|
155
110
|
let body;
|
|
156
111
|
body = JSON.stringify(se_ConfirmTransitVirtualInterfaceRequest(input, context));
|
|
157
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
158
113
|
};
|
|
159
114
|
exports.se_ConfirmTransitVirtualInterfaceCommand = se_ConfirmTransitVirtualInterfaceCommand;
|
|
160
115
|
const se_CreateBGPPeerCommand = async (input, context) => {
|
|
161
|
-
const headers =
|
|
162
|
-
"content-type": "application/x-amz-json-1.1",
|
|
163
|
-
"x-amz-target": "OvertureService.CreateBGPPeer",
|
|
164
|
-
};
|
|
116
|
+
const headers = sharedHeaders("CreateBGPPeer");
|
|
165
117
|
let body;
|
|
166
118
|
body = JSON.stringify(se_CreateBGPPeerRequest(input, context));
|
|
167
119
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
120
|
};
|
|
169
121
|
exports.se_CreateBGPPeerCommand = se_CreateBGPPeerCommand;
|
|
170
122
|
const se_CreateConnectionCommand = async (input, context) => {
|
|
171
|
-
const headers =
|
|
172
|
-
"content-type": "application/x-amz-json-1.1",
|
|
173
|
-
"x-amz-target": "OvertureService.CreateConnection",
|
|
174
|
-
};
|
|
123
|
+
const headers = sharedHeaders("CreateConnection");
|
|
175
124
|
let body;
|
|
176
125
|
body = JSON.stringify(se_CreateConnectionRequest(input, context));
|
|
177
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
127
|
};
|
|
179
128
|
exports.se_CreateConnectionCommand = se_CreateConnectionCommand;
|
|
180
129
|
const se_CreateDirectConnectGatewayCommand = async (input, context) => {
|
|
181
|
-
const headers =
|
|
182
|
-
"content-type": "application/x-amz-json-1.1",
|
|
183
|
-
"x-amz-target": "OvertureService.CreateDirectConnectGateway",
|
|
184
|
-
};
|
|
130
|
+
const headers = sharedHeaders("CreateDirectConnectGateway");
|
|
185
131
|
let body;
|
|
186
132
|
body = JSON.stringify(se_CreateDirectConnectGatewayRequest(input, context));
|
|
187
133
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
188
134
|
};
|
|
189
135
|
exports.se_CreateDirectConnectGatewayCommand = se_CreateDirectConnectGatewayCommand;
|
|
190
136
|
const se_CreateDirectConnectGatewayAssociationCommand = async (input, context) => {
|
|
191
|
-
const headers =
|
|
192
|
-
"content-type": "application/x-amz-json-1.1",
|
|
193
|
-
"x-amz-target": "OvertureService.CreateDirectConnectGatewayAssociation",
|
|
194
|
-
};
|
|
137
|
+
const headers = sharedHeaders("CreateDirectConnectGatewayAssociation");
|
|
195
138
|
let body;
|
|
196
139
|
body = JSON.stringify(se_CreateDirectConnectGatewayAssociationRequest(input, context));
|
|
197
140
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
141
|
};
|
|
199
142
|
exports.se_CreateDirectConnectGatewayAssociationCommand = se_CreateDirectConnectGatewayAssociationCommand;
|
|
200
143
|
const se_CreateDirectConnectGatewayAssociationProposalCommand = async (input, context) => {
|
|
201
|
-
const headers =
|
|
202
|
-
"content-type": "application/x-amz-json-1.1",
|
|
203
|
-
"x-amz-target": "OvertureService.CreateDirectConnectGatewayAssociationProposal",
|
|
204
|
-
};
|
|
144
|
+
const headers = sharedHeaders("CreateDirectConnectGatewayAssociationProposal");
|
|
205
145
|
let body;
|
|
206
146
|
body = JSON.stringify(se_CreateDirectConnectGatewayAssociationProposalRequest(input, context));
|
|
207
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
208
148
|
};
|
|
209
149
|
exports.se_CreateDirectConnectGatewayAssociationProposalCommand = se_CreateDirectConnectGatewayAssociationProposalCommand;
|
|
210
150
|
const se_CreateInterconnectCommand = async (input, context) => {
|
|
211
|
-
const headers =
|
|
212
|
-
"content-type": "application/x-amz-json-1.1",
|
|
213
|
-
"x-amz-target": "OvertureService.CreateInterconnect",
|
|
214
|
-
};
|
|
151
|
+
const headers = sharedHeaders("CreateInterconnect");
|
|
215
152
|
let body;
|
|
216
153
|
body = JSON.stringify(se_CreateInterconnectRequest(input, context));
|
|
217
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
218
155
|
};
|
|
219
156
|
exports.se_CreateInterconnectCommand = se_CreateInterconnectCommand;
|
|
220
157
|
const se_CreateLagCommand = async (input, context) => {
|
|
221
|
-
const headers =
|
|
222
|
-
"content-type": "application/x-amz-json-1.1",
|
|
223
|
-
"x-amz-target": "OvertureService.CreateLag",
|
|
224
|
-
};
|
|
158
|
+
const headers = sharedHeaders("CreateLag");
|
|
225
159
|
let body;
|
|
226
160
|
body = JSON.stringify(se_CreateLagRequest(input, context));
|
|
227
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
162
|
};
|
|
229
163
|
exports.se_CreateLagCommand = se_CreateLagCommand;
|
|
230
164
|
const se_CreatePrivateVirtualInterfaceCommand = async (input, context) => {
|
|
231
|
-
const headers =
|
|
232
|
-
"content-type": "application/x-amz-json-1.1",
|
|
233
|
-
"x-amz-target": "OvertureService.CreatePrivateVirtualInterface",
|
|
234
|
-
};
|
|
165
|
+
const headers = sharedHeaders("CreatePrivateVirtualInterface");
|
|
235
166
|
let body;
|
|
236
167
|
body = JSON.stringify(se_CreatePrivateVirtualInterfaceRequest(input, context));
|
|
237
168
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
169
|
};
|
|
239
170
|
exports.se_CreatePrivateVirtualInterfaceCommand = se_CreatePrivateVirtualInterfaceCommand;
|
|
240
171
|
const se_CreatePublicVirtualInterfaceCommand = async (input, context) => {
|
|
241
|
-
const headers =
|
|
242
|
-
"content-type": "application/x-amz-json-1.1",
|
|
243
|
-
"x-amz-target": "OvertureService.CreatePublicVirtualInterface",
|
|
244
|
-
};
|
|
172
|
+
const headers = sharedHeaders("CreatePublicVirtualInterface");
|
|
245
173
|
let body;
|
|
246
174
|
body = JSON.stringify(se_CreatePublicVirtualInterfaceRequest(input, context));
|
|
247
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
248
176
|
};
|
|
249
177
|
exports.se_CreatePublicVirtualInterfaceCommand = se_CreatePublicVirtualInterfaceCommand;
|
|
250
178
|
const se_CreateTransitVirtualInterfaceCommand = async (input, context) => {
|
|
251
|
-
const headers =
|
|
252
|
-
"content-type": "application/x-amz-json-1.1",
|
|
253
|
-
"x-amz-target": "OvertureService.CreateTransitVirtualInterface",
|
|
254
|
-
};
|
|
179
|
+
const headers = sharedHeaders("CreateTransitVirtualInterface");
|
|
255
180
|
let body;
|
|
256
181
|
body = JSON.stringify(se_CreateTransitVirtualInterfaceRequest(input, context));
|
|
257
182
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
183
|
};
|
|
259
184
|
exports.se_CreateTransitVirtualInterfaceCommand = se_CreateTransitVirtualInterfaceCommand;
|
|
260
185
|
const se_DeleteBGPPeerCommand = async (input, context) => {
|
|
261
|
-
const headers =
|
|
262
|
-
"content-type": "application/x-amz-json-1.1",
|
|
263
|
-
"x-amz-target": "OvertureService.DeleteBGPPeer",
|
|
264
|
-
};
|
|
186
|
+
const headers = sharedHeaders("DeleteBGPPeer");
|
|
265
187
|
let body;
|
|
266
188
|
body = JSON.stringify(se_DeleteBGPPeerRequest(input, context));
|
|
267
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
190
|
};
|
|
269
191
|
exports.se_DeleteBGPPeerCommand = se_DeleteBGPPeerCommand;
|
|
270
192
|
const se_DeleteConnectionCommand = async (input, context) => {
|
|
271
|
-
const headers =
|
|
272
|
-
"content-type": "application/x-amz-json-1.1",
|
|
273
|
-
"x-amz-target": "OvertureService.DeleteConnection",
|
|
274
|
-
};
|
|
193
|
+
const headers = sharedHeaders("DeleteConnection");
|
|
275
194
|
let body;
|
|
276
195
|
body = JSON.stringify(se_DeleteConnectionRequest(input, context));
|
|
277
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
278
197
|
};
|
|
279
198
|
exports.se_DeleteConnectionCommand = se_DeleteConnectionCommand;
|
|
280
199
|
const se_DeleteDirectConnectGatewayCommand = async (input, context) => {
|
|
281
|
-
const headers =
|
|
282
|
-
"content-type": "application/x-amz-json-1.1",
|
|
283
|
-
"x-amz-target": "OvertureService.DeleteDirectConnectGateway",
|
|
284
|
-
};
|
|
200
|
+
const headers = sharedHeaders("DeleteDirectConnectGateway");
|
|
285
201
|
let body;
|
|
286
202
|
body = JSON.stringify(se_DeleteDirectConnectGatewayRequest(input, context));
|
|
287
203
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
204
|
};
|
|
289
205
|
exports.se_DeleteDirectConnectGatewayCommand = se_DeleteDirectConnectGatewayCommand;
|
|
290
206
|
const se_DeleteDirectConnectGatewayAssociationCommand = async (input, context) => {
|
|
291
|
-
const headers =
|
|
292
|
-
"content-type": "application/x-amz-json-1.1",
|
|
293
|
-
"x-amz-target": "OvertureService.DeleteDirectConnectGatewayAssociation",
|
|
294
|
-
};
|
|
207
|
+
const headers = sharedHeaders("DeleteDirectConnectGatewayAssociation");
|
|
295
208
|
let body;
|
|
296
209
|
body = JSON.stringify(se_DeleteDirectConnectGatewayAssociationRequest(input, context));
|
|
297
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
298
211
|
};
|
|
299
212
|
exports.se_DeleteDirectConnectGatewayAssociationCommand = se_DeleteDirectConnectGatewayAssociationCommand;
|
|
300
213
|
const se_DeleteDirectConnectGatewayAssociationProposalCommand = async (input, context) => {
|
|
301
|
-
const headers =
|
|
302
|
-
"content-type": "application/x-amz-json-1.1",
|
|
303
|
-
"x-amz-target": "OvertureService.DeleteDirectConnectGatewayAssociationProposal",
|
|
304
|
-
};
|
|
214
|
+
const headers = sharedHeaders("DeleteDirectConnectGatewayAssociationProposal");
|
|
305
215
|
let body;
|
|
306
216
|
body = JSON.stringify(se_DeleteDirectConnectGatewayAssociationProposalRequest(input, context));
|
|
307
217
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
308
218
|
};
|
|
309
219
|
exports.se_DeleteDirectConnectGatewayAssociationProposalCommand = se_DeleteDirectConnectGatewayAssociationProposalCommand;
|
|
310
220
|
const se_DeleteInterconnectCommand = async (input, context) => {
|
|
311
|
-
const headers =
|
|
312
|
-
"content-type": "application/x-amz-json-1.1",
|
|
313
|
-
"x-amz-target": "OvertureService.DeleteInterconnect",
|
|
314
|
-
};
|
|
221
|
+
const headers = sharedHeaders("DeleteInterconnect");
|
|
315
222
|
let body;
|
|
316
223
|
body = JSON.stringify(se_DeleteInterconnectRequest(input, context));
|
|
317
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
318
225
|
};
|
|
319
226
|
exports.se_DeleteInterconnectCommand = se_DeleteInterconnectCommand;
|
|
320
227
|
const se_DeleteLagCommand = async (input, context) => {
|
|
321
|
-
const headers =
|
|
322
|
-
"content-type": "application/x-amz-json-1.1",
|
|
323
|
-
"x-amz-target": "OvertureService.DeleteLag",
|
|
324
|
-
};
|
|
228
|
+
const headers = sharedHeaders("DeleteLag");
|
|
325
229
|
let body;
|
|
326
230
|
body = JSON.stringify(se_DeleteLagRequest(input, context));
|
|
327
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
232
|
};
|
|
329
233
|
exports.se_DeleteLagCommand = se_DeleteLagCommand;
|
|
330
234
|
const se_DeleteVirtualInterfaceCommand = async (input, context) => {
|
|
331
|
-
const headers =
|
|
332
|
-
"content-type": "application/x-amz-json-1.1",
|
|
333
|
-
"x-amz-target": "OvertureService.DeleteVirtualInterface",
|
|
334
|
-
};
|
|
235
|
+
const headers = sharedHeaders("DeleteVirtualInterface");
|
|
335
236
|
let body;
|
|
336
237
|
body = JSON.stringify(se_DeleteVirtualInterfaceRequest(input, context));
|
|
337
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
239
|
};
|
|
339
240
|
exports.se_DeleteVirtualInterfaceCommand = se_DeleteVirtualInterfaceCommand;
|
|
340
241
|
const se_DescribeConnectionLoaCommand = async (input, context) => {
|
|
341
|
-
const headers =
|
|
342
|
-
"content-type": "application/x-amz-json-1.1",
|
|
343
|
-
"x-amz-target": "OvertureService.DescribeConnectionLoa",
|
|
344
|
-
};
|
|
242
|
+
const headers = sharedHeaders("DescribeConnectionLoa");
|
|
345
243
|
let body;
|
|
346
244
|
body = JSON.stringify(se_DescribeConnectionLoaRequest(input, context));
|
|
347
245
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
348
246
|
};
|
|
349
247
|
exports.se_DescribeConnectionLoaCommand = se_DescribeConnectionLoaCommand;
|
|
350
248
|
const se_DescribeConnectionsCommand = async (input, context) => {
|
|
351
|
-
const headers =
|
|
352
|
-
"content-type": "application/x-amz-json-1.1",
|
|
353
|
-
"x-amz-target": "OvertureService.DescribeConnections",
|
|
354
|
-
};
|
|
249
|
+
const headers = sharedHeaders("DescribeConnections");
|
|
355
250
|
let body;
|
|
356
251
|
body = JSON.stringify(se_DescribeConnectionsRequest(input, context));
|
|
357
252
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
358
253
|
};
|
|
359
254
|
exports.se_DescribeConnectionsCommand = se_DescribeConnectionsCommand;
|
|
360
255
|
const se_DescribeConnectionsOnInterconnectCommand = async (input, context) => {
|
|
361
|
-
const headers =
|
|
362
|
-
"content-type": "application/x-amz-json-1.1",
|
|
363
|
-
"x-amz-target": "OvertureService.DescribeConnectionsOnInterconnect",
|
|
364
|
-
};
|
|
256
|
+
const headers = sharedHeaders("DescribeConnectionsOnInterconnect");
|
|
365
257
|
let body;
|
|
366
258
|
body = JSON.stringify(se_DescribeConnectionsOnInterconnectRequest(input, context));
|
|
367
259
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
368
260
|
};
|
|
369
261
|
exports.se_DescribeConnectionsOnInterconnectCommand = se_DescribeConnectionsOnInterconnectCommand;
|
|
370
262
|
const se_DescribeCustomerMetadataCommand = async (input, context) => {
|
|
371
|
-
const headers =
|
|
372
|
-
"content-type": "application/x-amz-json-1.1",
|
|
373
|
-
"x-amz-target": "OvertureService.DescribeCustomerMetadata",
|
|
374
|
-
};
|
|
263
|
+
const headers = sharedHeaders("DescribeCustomerMetadata");
|
|
375
264
|
const body = "{}";
|
|
376
265
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
377
266
|
};
|
|
378
267
|
exports.se_DescribeCustomerMetadataCommand = se_DescribeCustomerMetadataCommand;
|
|
379
268
|
const se_DescribeDirectConnectGatewayAssociationProposalsCommand = async (input, context) => {
|
|
380
|
-
const headers =
|
|
381
|
-
"content-type": "application/x-amz-json-1.1",
|
|
382
|
-
"x-amz-target": "OvertureService.DescribeDirectConnectGatewayAssociationProposals",
|
|
383
|
-
};
|
|
269
|
+
const headers = sharedHeaders("DescribeDirectConnectGatewayAssociationProposals");
|
|
384
270
|
let body;
|
|
385
271
|
body = JSON.stringify(se_DescribeDirectConnectGatewayAssociationProposalsRequest(input, context));
|
|
386
272
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
387
273
|
};
|
|
388
274
|
exports.se_DescribeDirectConnectGatewayAssociationProposalsCommand = se_DescribeDirectConnectGatewayAssociationProposalsCommand;
|
|
389
275
|
const se_DescribeDirectConnectGatewayAssociationsCommand = async (input, context) => {
|
|
390
|
-
const headers =
|
|
391
|
-
"content-type": "application/x-amz-json-1.1",
|
|
392
|
-
"x-amz-target": "OvertureService.DescribeDirectConnectGatewayAssociations",
|
|
393
|
-
};
|
|
276
|
+
const headers = sharedHeaders("DescribeDirectConnectGatewayAssociations");
|
|
394
277
|
let body;
|
|
395
278
|
body = JSON.stringify(se_DescribeDirectConnectGatewayAssociationsRequest(input, context));
|
|
396
279
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
397
280
|
};
|
|
398
281
|
exports.se_DescribeDirectConnectGatewayAssociationsCommand = se_DescribeDirectConnectGatewayAssociationsCommand;
|
|
399
282
|
const se_DescribeDirectConnectGatewayAttachmentsCommand = async (input, context) => {
|
|
400
|
-
const headers =
|
|
401
|
-
"content-type": "application/x-amz-json-1.1",
|
|
402
|
-
"x-amz-target": "OvertureService.DescribeDirectConnectGatewayAttachments",
|
|
403
|
-
};
|
|
283
|
+
const headers = sharedHeaders("DescribeDirectConnectGatewayAttachments");
|
|
404
284
|
let body;
|
|
405
285
|
body = JSON.stringify(se_DescribeDirectConnectGatewayAttachmentsRequest(input, context));
|
|
406
286
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
407
287
|
};
|
|
408
288
|
exports.se_DescribeDirectConnectGatewayAttachmentsCommand = se_DescribeDirectConnectGatewayAttachmentsCommand;
|
|
409
289
|
const se_DescribeDirectConnectGatewaysCommand = async (input, context) => {
|
|
410
|
-
const headers =
|
|
411
|
-
"content-type": "application/x-amz-json-1.1",
|
|
412
|
-
"x-amz-target": "OvertureService.DescribeDirectConnectGateways",
|
|
413
|
-
};
|
|
290
|
+
const headers = sharedHeaders("DescribeDirectConnectGateways");
|
|
414
291
|
let body;
|
|
415
292
|
body = JSON.stringify(se_DescribeDirectConnectGatewaysRequest(input, context));
|
|
416
293
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
417
294
|
};
|
|
418
295
|
exports.se_DescribeDirectConnectGatewaysCommand = se_DescribeDirectConnectGatewaysCommand;
|
|
419
296
|
const se_DescribeHostedConnectionsCommand = async (input, context) => {
|
|
420
|
-
const headers =
|
|
421
|
-
"content-type": "application/x-amz-json-1.1",
|
|
422
|
-
"x-amz-target": "OvertureService.DescribeHostedConnections",
|
|
423
|
-
};
|
|
297
|
+
const headers = sharedHeaders("DescribeHostedConnections");
|
|
424
298
|
let body;
|
|
425
299
|
body = JSON.stringify(se_DescribeHostedConnectionsRequest(input, context));
|
|
426
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
427
301
|
};
|
|
428
302
|
exports.se_DescribeHostedConnectionsCommand = se_DescribeHostedConnectionsCommand;
|
|
429
303
|
const se_DescribeInterconnectLoaCommand = async (input, context) => {
|
|
430
|
-
const headers =
|
|
431
|
-
"content-type": "application/x-amz-json-1.1",
|
|
432
|
-
"x-amz-target": "OvertureService.DescribeInterconnectLoa",
|
|
433
|
-
};
|
|
304
|
+
const headers = sharedHeaders("DescribeInterconnectLoa");
|
|
434
305
|
let body;
|
|
435
306
|
body = JSON.stringify(se_DescribeInterconnectLoaRequest(input, context));
|
|
436
307
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
308
|
};
|
|
438
309
|
exports.se_DescribeInterconnectLoaCommand = se_DescribeInterconnectLoaCommand;
|
|
439
310
|
const se_DescribeInterconnectsCommand = async (input, context) => {
|
|
440
|
-
const headers =
|
|
441
|
-
"content-type": "application/x-amz-json-1.1",
|
|
442
|
-
"x-amz-target": "OvertureService.DescribeInterconnects",
|
|
443
|
-
};
|
|
311
|
+
const headers = sharedHeaders("DescribeInterconnects");
|
|
444
312
|
let body;
|
|
445
313
|
body = JSON.stringify(se_DescribeInterconnectsRequest(input, context));
|
|
446
314
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
447
315
|
};
|
|
448
316
|
exports.se_DescribeInterconnectsCommand = se_DescribeInterconnectsCommand;
|
|
449
317
|
const se_DescribeLagsCommand = async (input, context) => {
|
|
450
|
-
const headers =
|
|
451
|
-
"content-type": "application/x-amz-json-1.1",
|
|
452
|
-
"x-amz-target": "OvertureService.DescribeLags",
|
|
453
|
-
};
|
|
318
|
+
const headers = sharedHeaders("DescribeLags");
|
|
454
319
|
let body;
|
|
455
320
|
body = JSON.stringify(se_DescribeLagsRequest(input, context));
|
|
456
321
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
457
322
|
};
|
|
458
323
|
exports.se_DescribeLagsCommand = se_DescribeLagsCommand;
|
|
459
324
|
const se_DescribeLoaCommand = async (input, context) => {
|
|
460
|
-
const headers =
|
|
461
|
-
"content-type": "application/x-amz-json-1.1",
|
|
462
|
-
"x-amz-target": "OvertureService.DescribeLoa",
|
|
463
|
-
};
|
|
325
|
+
const headers = sharedHeaders("DescribeLoa");
|
|
464
326
|
let body;
|
|
465
327
|
body = JSON.stringify(se_DescribeLoaRequest(input, context));
|
|
466
328
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
467
329
|
};
|
|
468
330
|
exports.se_DescribeLoaCommand = se_DescribeLoaCommand;
|
|
469
331
|
const se_DescribeLocationsCommand = async (input, context) => {
|
|
470
|
-
const headers =
|
|
471
|
-
"content-type": "application/x-amz-json-1.1",
|
|
472
|
-
"x-amz-target": "OvertureService.DescribeLocations",
|
|
473
|
-
};
|
|
332
|
+
const headers = sharedHeaders("DescribeLocations");
|
|
474
333
|
const body = "{}";
|
|
475
334
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
476
335
|
};
|
|
477
336
|
exports.se_DescribeLocationsCommand = se_DescribeLocationsCommand;
|
|
478
337
|
const se_DescribeRouterConfigurationCommand = async (input, context) => {
|
|
479
|
-
const headers =
|
|
480
|
-
"content-type": "application/x-amz-json-1.1",
|
|
481
|
-
"x-amz-target": "OvertureService.DescribeRouterConfiguration",
|
|
482
|
-
};
|
|
338
|
+
const headers = sharedHeaders("DescribeRouterConfiguration");
|
|
483
339
|
let body;
|
|
484
340
|
body = JSON.stringify(se_DescribeRouterConfigurationRequest(input, context));
|
|
485
341
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
486
342
|
};
|
|
487
343
|
exports.se_DescribeRouterConfigurationCommand = se_DescribeRouterConfigurationCommand;
|
|
488
344
|
const se_DescribeTagsCommand = async (input, context) => {
|
|
489
|
-
const headers =
|
|
490
|
-
"content-type": "application/x-amz-json-1.1",
|
|
491
|
-
"x-amz-target": "OvertureService.DescribeTags",
|
|
492
|
-
};
|
|
345
|
+
const headers = sharedHeaders("DescribeTags");
|
|
493
346
|
let body;
|
|
494
347
|
body = JSON.stringify(se_DescribeTagsRequest(input, context));
|
|
495
348
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
496
349
|
};
|
|
497
350
|
exports.se_DescribeTagsCommand = se_DescribeTagsCommand;
|
|
498
351
|
const se_DescribeVirtualGatewaysCommand = async (input, context) => {
|
|
499
|
-
const headers =
|
|
500
|
-
"content-type": "application/x-amz-json-1.1",
|
|
501
|
-
"x-amz-target": "OvertureService.DescribeVirtualGateways",
|
|
502
|
-
};
|
|
352
|
+
const headers = sharedHeaders("DescribeVirtualGateways");
|
|
503
353
|
const body = "{}";
|
|
504
354
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
505
355
|
};
|
|
506
356
|
exports.se_DescribeVirtualGatewaysCommand = se_DescribeVirtualGatewaysCommand;
|
|
507
357
|
const se_DescribeVirtualInterfacesCommand = async (input, context) => {
|
|
508
|
-
const headers =
|
|
509
|
-
"content-type": "application/x-amz-json-1.1",
|
|
510
|
-
"x-amz-target": "OvertureService.DescribeVirtualInterfaces",
|
|
511
|
-
};
|
|
358
|
+
const headers = sharedHeaders("DescribeVirtualInterfaces");
|
|
512
359
|
let body;
|
|
513
360
|
body = JSON.stringify(se_DescribeVirtualInterfacesRequest(input, context));
|
|
514
361
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
515
362
|
};
|
|
516
363
|
exports.se_DescribeVirtualInterfacesCommand = se_DescribeVirtualInterfacesCommand;
|
|
517
364
|
const se_DisassociateConnectionFromLagCommand = async (input, context) => {
|
|
518
|
-
const headers =
|
|
519
|
-
"content-type": "application/x-amz-json-1.1",
|
|
520
|
-
"x-amz-target": "OvertureService.DisassociateConnectionFromLag",
|
|
521
|
-
};
|
|
365
|
+
const headers = sharedHeaders("DisassociateConnectionFromLag");
|
|
522
366
|
let body;
|
|
523
367
|
body = JSON.stringify(se_DisassociateConnectionFromLagRequest(input, context));
|
|
524
368
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
525
369
|
};
|
|
526
370
|
exports.se_DisassociateConnectionFromLagCommand = se_DisassociateConnectionFromLagCommand;
|
|
527
371
|
const se_DisassociateMacSecKeyCommand = async (input, context) => {
|
|
528
|
-
const headers =
|
|
529
|
-
"content-type": "application/x-amz-json-1.1",
|
|
530
|
-
"x-amz-target": "OvertureService.DisassociateMacSecKey",
|
|
531
|
-
};
|
|
372
|
+
const headers = sharedHeaders("DisassociateMacSecKey");
|
|
532
373
|
let body;
|
|
533
374
|
body = JSON.stringify(se_DisassociateMacSecKeyRequest(input, context));
|
|
534
375
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
535
376
|
};
|
|
536
377
|
exports.se_DisassociateMacSecKeyCommand = se_DisassociateMacSecKeyCommand;
|
|
537
378
|
const se_ListVirtualInterfaceTestHistoryCommand = async (input, context) => {
|
|
538
|
-
const headers =
|
|
539
|
-
"content-type": "application/x-amz-json-1.1",
|
|
540
|
-
"x-amz-target": "OvertureService.ListVirtualInterfaceTestHistory",
|
|
541
|
-
};
|
|
379
|
+
const headers = sharedHeaders("ListVirtualInterfaceTestHistory");
|
|
542
380
|
let body;
|
|
543
381
|
body = JSON.stringify(se_ListVirtualInterfaceTestHistoryRequest(input, context));
|
|
544
382
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
545
383
|
};
|
|
546
384
|
exports.se_ListVirtualInterfaceTestHistoryCommand = se_ListVirtualInterfaceTestHistoryCommand;
|
|
547
385
|
const se_StartBgpFailoverTestCommand = async (input, context) => {
|
|
548
|
-
const headers =
|
|
549
|
-
"content-type": "application/x-amz-json-1.1",
|
|
550
|
-
"x-amz-target": "OvertureService.StartBgpFailoverTest",
|
|
551
|
-
};
|
|
386
|
+
const headers = sharedHeaders("StartBgpFailoverTest");
|
|
552
387
|
let body;
|
|
553
388
|
body = JSON.stringify(se_StartBgpFailoverTestRequest(input, context));
|
|
554
389
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
555
390
|
};
|
|
556
391
|
exports.se_StartBgpFailoverTestCommand = se_StartBgpFailoverTestCommand;
|
|
557
392
|
const se_StopBgpFailoverTestCommand = async (input, context) => {
|
|
558
|
-
const headers =
|
|
559
|
-
"content-type": "application/x-amz-json-1.1",
|
|
560
|
-
"x-amz-target": "OvertureService.StopBgpFailoverTest",
|
|
561
|
-
};
|
|
393
|
+
const headers = sharedHeaders("StopBgpFailoverTest");
|
|
562
394
|
let body;
|
|
563
395
|
body = JSON.stringify(se_StopBgpFailoverTestRequest(input, context));
|
|
564
396
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
565
397
|
};
|
|
566
398
|
exports.se_StopBgpFailoverTestCommand = se_StopBgpFailoverTestCommand;
|
|
567
399
|
const se_TagResourceCommand = async (input, context) => {
|
|
568
|
-
const headers =
|
|
569
|
-
"content-type": "application/x-amz-json-1.1",
|
|
570
|
-
"x-amz-target": "OvertureService.TagResource",
|
|
571
|
-
};
|
|
400
|
+
const headers = sharedHeaders("TagResource");
|
|
572
401
|
let body;
|
|
573
402
|
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
574
403
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
575
404
|
};
|
|
576
405
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
577
406
|
const se_UntagResourceCommand = async (input, context) => {
|
|
578
|
-
const headers =
|
|
579
|
-
"content-type": "application/x-amz-json-1.1",
|
|
580
|
-
"x-amz-target": "OvertureService.UntagResource",
|
|
581
|
-
};
|
|
407
|
+
const headers = sharedHeaders("UntagResource");
|
|
582
408
|
let body;
|
|
583
409
|
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
584
410
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
585
411
|
};
|
|
586
412
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
587
413
|
const se_UpdateConnectionCommand = async (input, context) => {
|
|
588
|
-
const headers =
|
|
589
|
-
"content-type": "application/x-amz-json-1.1",
|
|
590
|
-
"x-amz-target": "OvertureService.UpdateConnection",
|
|
591
|
-
};
|
|
414
|
+
const headers = sharedHeaders("UpdateConnection");
|
|
592
415
|
let body;
|
|
593
416
|
body = JSON.stringify(se_UpdateConnectionRequest(input, context));
|
|
594
417
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
595
418
|
};
|
|
596
419
|
exports.se_UpdateConnectionCommand = se_UpdateConnectionCommand;
|
|
597
420
|
const se_UpdateDirectConnectGatewayCommand = async (input, context) => {
|
|
598
|
-
const headers =
|
|
599
|
-
"content-type": "application/x-amz-json-1.1",
|
|
600
|
-
"x-amz-target": "OvertureService.UpdateDirectConnectGateway",
|
|
601
|
-
};
|
|
421
|
+
const headers = sharedHeaders("UpdateDirectConnectGateway");
|
|
602
422
|
let body;
|
|
603
423
|
body = JSON.stringify(se_UpdateDirectConnectGatewayRequest(input, context));
|
|
604
424
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
605
425
|
};
|
|
606
426
|
exports.se_UpdateDirectConnectGatewayCommand = se_UpdateDirectConnectGatewayCommand;
|
|
607
427
|
const se_UpdateDirectConnectGatewayAssociationCommand = async (input, context) => {
|
|
608
|
-
const headers =
|
|
609
|
-
"content-type": "application/x-amz-json-1.1",
|
|
610
|
-
"x-amz-target": "OvertureService.UpdateDirectConnectGatewayAssociation",
|
|
611
|
-
};
|
|
428
|
+
const headers = sharedHeaders("UpdateDirectConnectGatewayAssociation");
|
|
612
429
|
let body;
|
|
613
430
|
body = JSON.stringify(se_UpdateDirectConnectGatewayAssociationRequest(input, context));
|
|
614
431
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
615
432
|
};
|
|
616
433
|
exports.se_UpdateDirectConnectGatewayAssociationCommand = se_UpdateDirectConnectGatewayAssociationCommand;
|
|
617
434
|
const se_UpdateLagCommand = async (input, context) => {
|
|
618
|
-
const headers =
|
|
619
|
-
"content-type": "application/x-amz-json-1.1",
|
|
620
|
-
"x-amz-target": "OvertureService.UpdateLag",
|
|
621
|
-
};
|
|
435
|
+
const headers = sharedHeaders("UpdateLag");
|
|
622
436
|
let body;
|
|
623
437
|
body = JSON.stringify(se_UpdateLagRequest(input, context));
|
|
624
438
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
625
439
|
};
|
|
626
440
|
exports.se_UpdateLagCommand = se_UpdateLagCommand;
|
|
627
441
|
const se_UpdateVirtualInterfaceAttributesCommand = async (input, context) => {
|
|
628
|
-
const headers =
|
|
629
|
-
"content-type": "application/x-amz-json-1.1",
|
|
630
|
-
"x-amz-target": "OvertureService.UpdateVirtualInterfaceAttributes",
|
|
631
|
-
};
|
|
442
|
+
const headers = sharedHeaders("UpdateVirtualInterfaceAttributes");
|
|
632
443
|
let body;
|
|
633
444
|
body = JSON.stringify(se_UpdateVirtualInterfaceAttributesRequest(input, context));
|
|
634
445
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -4426,6 +4237,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
4426
4237
|
}
|
|
4427
4238
|
return new protocol_http_1.HttpRequest(contents);
|
|
4428
4239
|
};
|
|
4240
|
+
function sharedHeaders(operation) {
|
|
4241
|
+
return {
|
|
4242
|
+
"content-type": "application/x-amz-json-1.1",
|
|
4243
|
+
"x-amz-target": `OvertureService.${operation}`,
|
|
4244
|
+
};
|
|
4245
|
+
}
|
|
4429
4246
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4430
4247
|
if (encoded.length) {
|
|
4431
4248
|
return JSON.parse(encoded);
|