@aws-sdk/client-lightsail 3.310.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 +165 -636
- package/dist-es/protocols/Aws_json1_1.js +165 -636
- package/package.json +2 -2
|
@@ -12,1590 +12,1113 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
12
12
|
const LightsailServiceException_1 = require("../models/LightsailServiceException");
|
|
13
13
|
const models_0_1 = require("../models/models_0");
|
|
14
14
|
const se_AllocateStaticIpCommand = async (input, context) => {
|
|
15
|
-
const headers =
|
|
16
|
-
"content-type": "application/x-amz-json-1.1",
|
|
17
|
-
"x-amz-target": "Lightsail_20161128.AllocateStaticIp",
|
|
18
|
-
};
|
|
15
|
+
const headers = sharedHeaders("AllocateStaticIp");
|
|
19
16
|
let body;
|
|
20
17
|
body = JSON.stringify(se_AllocateStaticIpRequest(input, context));
|
|
21
18
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
19
|
};
|
|
23
20
|
exports.se_AllocateStaticIpCommand = se_AllocateStaticIpCommand;
|
|
24
21
|
const se_AttachCertificateToDistributionCommand = async (input, context) => {
|
|
25
|
-
const headers =
|
|
26
|
-
"content-type": "application/x-amz-json-1.1",
|
|
27
|
-
"x-amz-target": "Lightsail_20161128.AttachCertificateToDistribution",
|
|
28
|
-
};
|
|
22
|
+
const headers = sharedHeaders("AttachCertificateToDistribution");
|
|
29
23
|
let body;
|
|
30
24
|
body = JSON.stringify(se_AttachCertificateToDistributionRequest(input, context));
|
|
31
25
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
32
26
|
};
|
|
33
27
|
exports.se_AttachCertificateToDistributionCommand = se_AttachCertificateToDistributionCommand;
|
|
34
28
|
const se_AttachDiskCommand = async (input, context) => {
|
|
35
|
-
const headers =
|
|
36
|
-
"content-type": "application/x-amz-json-1.1",
|
|
37
|
-
"x-amz-target": "Lightsail_20161128.AttachDisk",
|
|
38
|
-
};
|
|
29
|
+
const headers = sharedHeaders("AttachDisk");
|
|
39
30
|
let body;
|
|
40
31
|
body = JSON.stringify(se_AttachDiskRequest(input, context));
|
|
41
32
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
33
|
};
|
|
43
34
|
exports.se_AttachDiskCommand = se_AttachDiskCommand;
|
|
44
35
|
const se_AttachInstancesToLoadBalancerCommand = async (input, context) => {
|
|
45
|
-
const headers =
|
|
46
|
-
"content-type": "application/x-amz-json-1.1",
|
|
47
|
-
"x-amz-target": "Lightsail_20161128.AttachInstancesToLoadBalancer",
|
|
48
|
-
};
|
|
36
|
+
const headers = sharedHeaders("AttachInstancesToLoadBalancer");
|
|
49
37
|
let body;
|
|
50
38
|
body = JSON.stringify(se_AttachInstancesToLoadBalancerRequest(input, context));
|
|
51
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
40
|
};
|
|
53
41
|
exports.se_AttachInstancesToLoadBalancerCommand = se_AttachInstancesToLoadBalancerCommand;
|
|
54
42
|
const se_AttachLoadBalancerTlsCertificateCommand = async (input, context) => {
|
|
55
|
-
const headers =
|
|
56
|
-
"content-type": "application/x-amz-json-1.1",
|
|
57
|
-
"x-amz-target": "Lightsail_20161128.AttachLoadBalancerTlsCertificate",
|
|
58
|
-
};
|
|
43
|
+
const headers = sharedHeaders("AttachLoadBalancerTlsCertificate");
|
|
59
44
|
let body;
|
|
60
45
|
body = JSON.stringify(se_AttachLoadBalancerTlsCertificateRequest(input, context));
|
|
61
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
62
47
|
};
|
|
63
48
|
exports.se_AttachLoadBalancerTlsCertificateCommand = se_AttachLoadBalancerTlsCertificateCommand;
|
|
64
49
|
const se_AttachStaticIpCommand = async (input, context) => {
|
|
65
|
-
const headers =
|
|
66
|
-
"content-type": "application/x-amz-json-1.1",
|
|
67
|
-
"x-amz-target": "Lightsail_20161128.AttachStaticIp",
|
|
68
|
-
};
|
|
50
|
+
const headers = sharedHeaders("AttachStaticIp");
|
|
69
51
|
let body;
|
|
70
52
|
body = JSON.stringify(se_AttachStaticIpRequest(input, context));
|
|
71
53
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
72
54
|
};
|
|
73
55
|
exports.se_AttachStaticIpCommand = se_AttachStaticIpCommand;
|
|
74
56
|
const se_CloseInstancePublicPortsCommand = async (input, context) => {
|
|
75
|
-
const headers =
|
|
76
|
-
"content-type": "application/x-amz-json-1.1",
|
|
77
|
-
"x-amz-target": "Lightsail_20161128.CloseInstancePublicPorts",
|
|
78
|
-
};
|
|
57
|
+
const headers = sharedHeaders("CloseInstancePublicPorts");
|
|
79
58
|
let body;
|
|
80
59
|
body = JSON.stringify(se_CloseInstancePublicPortsRequest(input, context));
|
|
81
60
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
82
61
|
};
|
|
83
62
|
exports.se_CloseInstancePublicPortsCommand = se_CloseInstancePublicPortsCommand;
|
|
84
63
|
const se_CopySnapshotCommand = async (input, context) => {
|
|
85
|
-
const headers =
|
|
86
|
-
"content-type": "application/x-amz-json-1.1",
|
|
87
|
-
"x-amz-target": "Lightsail_20161128.CopySnapshot",
|
|
88
|
-
};
|
|
64
|
+
const headers = sharedHeaders("CopySnapshot");
|
|
89
65
|
let body;
|
|
90
66
|
body = JSON.stringify(se_CopySnapshotRequest(input, context));
|
|
91
67
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
92
68
|
};
|
|
93
69
|
exports.se_CopySnapshotCommand = se_CopySnapshotCommand;
|
|
94
70
|
const se_CreateBucketCommand = async (input, context) => {
|
|
95
|
-
const headers =
|
|
96
|
-
"content-type": "application/x-amz-json-1.1",
|
|
97
|
-
"x-amz-target": "Lightsail_20161128.CreateBucket",
|
|
98
|
-
};
|
|
71
|
+
const headers = sharedHeaders("CreateBucket");
|
|
99
72
|
let body;
|
|
100
73
|
body = JSON.stringify(se_CreateBucketRequest(input, context));
|
|
101
74
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
102
75
|
};
|
|
103
76
|
exports.se_CreateBucketCommand = se_CreateBucketCommand;
|
|
104
77
|
const se_CreateBucketAccessKeyCommand = async (input, context) => {
|
|
105
|
-
const headers =
|
|
106
|
-
"content-type": "application/x-amz-json-1.1",
|
|
107
|
-
"x-amz-target": "Lightsail_20161128.CreateBucketAccessKey",
|
|
108
|
-
};
|
|
78
|
+
const headers = sharedHeaders("CreateBucketAccessKey");
|
|
109
79
|
let body;
|
|
110
80
|
body = JSON.stringify(se_CreateBucketAccessKeyRequest(input, context));
|
|
111
81
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
82
|
};
|
|
113
83
|
exports.se_CreateBucketAccessKeyCommand = se_CreateBucketAccessKeyCommand;
|
|
114
84
|
const se_CreateCertificateCommand = async (input, context) => {
|
|
115
|
-
const headers =
|
|
116
|
-
"content-type": "application/x-amz-json-1.1",
|
|
117
|
-
"x-amz-target": "Lightsail_20161128.CreateCertificate",
|
|
118
|
-
};
|
|
85
|
+
const headers = sharedHeaders("CreateCertificate");
|
|
119
86
|
let body;
|
|
120
87
|
body = JSON.stringify(se_CreateCertificateRequest(input, context));
|
|
121
88
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
122
89
|
};
|
|
123
90
|
exports.se_CreateCertificateCommand = se_CreateCertificateCommand;
|
|
124
91
|
const se_CreateCloudFormationStackCommand = async (input, context) => {
|
|
125
|
-
const headers =
|
|
126
|
-
"content-type": "application/x-amz-json-1.1",
|
|
127
|
-
"x-amz-target": "Lightsail_20161128.CreateCloudFormationStack",
|
|
128
|
-
};
|
|
92
|
+
const headers = sharedHeaders("CreateCloudFormationStack");
|
|
129
93
|
let body;
|
|
130
94
|
body = JSON.stringify(se_CreateCloudFormationStackRequest(input, context));
|
|
131
95
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
132
96
|
};
|
|
133
97
|
exports.se_CreateCloudFormationStackCommand = se_CreateCloudFormationStackCommand;
|
|
134
98
|
const se_CreateContactMethodCommand = async (input, context) => {
|
|
135
|
-
const headers =
|
|
136
|
-
"content-type": "application/x-amz-json-1.1",
|
|
137
|
-
"x-amz-target": "Lightsail_20161128.CreateContactMethod",
|
|
138
|
-
};
|
|
99
|
+
const headers = sharedHeaders("CreateContactMethod");
|
|
139
100
|
let body;
|
|
140
101
|
body = JSON.stringify(se_CreateContactMethodRequest(input, context));
|
|
141
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
103
|
};
|
|
143
104
|
exports.se_CreateContactMethodCommand = se_CreateContactMethodCommand;
|
|
144
105
|
const se_CreateContainerServiceCommand = async (input, context) => {
|
|
145
|
-
const headers =
|
|
146
|
-
"content-type": "application/x-amz-json-1.1",
|
|
147
|
-
"x-amz-target": "Lightsail_20161128.CreateContainerService",
|
|
148
|
-
};
|
|
106
|
+
const headers = sharedHeaders("CreateContainerService");
|
|
149
107
|
let body;
|
|
150
108
|
body = JSON.stringify(se_CreateContainerServiceRequest(input, context));
|
|
151
109
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
152
110
|
};
|
|
153
111
|
exports.se_CreateContainerServiceCommand = se_CreateContainerServiceCommand;
|
|
154
112
|
const se_CreateContainerServiceDeploymentCommand = async (input, context) => {
|
|
155
|
-
const headers =
|
|
156
|
-
"content-type": "application/x-amz-json-1.1",
|
|
157
|
-
"x-amz-target": "Lightsail_20161128.CreateContainerServiceDeployment",
|
|
158
|
-
};
|
|
113
|
+
const headers = sharedHeaders("CreateContainerServiceDeployment");
|
|
159
114
|
let body;
|
|
160
115
|
body = JSON.stringify(se_CreateContainerServiceDeploymentRequest(input, context));
|
|
161
116
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
117
|
};
|
|
163
118
|
exports.se_CreateContainerServiceDeploymentCommand = se_CreateContainerServiceDeploymentCommand;
|
|
164
119
|
const se_CreateContainerServiceRegistryLoginCommand = async (input, context) => {
|
|
165
|
-
const headers =
|
|
166
|
-
"content-type": "application/x-amz-json-1.1",
|
|
167
|
-
"x-amz-target": "Lightsail_20161128.CreateContainerServiceRegistryLogin",
|
|
168
|
-
};
|
|
120
|
+
const headers = sharedHeaders("CreateContainerServiceRegistryLogin");
|
|
169
121
|
let body;
|
|
170
122
|
body = JSON.stringify(se_CreateContainerServiceRegistryLoginRequest(input, context));
|
|
171
123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
172
124
|
};
|
|
173
125
|
exports.se_CreateContainerServiceRegistryLoginCommand = se_CreateContainerServiceRegistryLoginCommand;
|
|
174
126
|
const se_CreateDiskCommand = async (input, context) => {
|
|
175
|
-
const headers =
|
|
176
|
-
"content-type": "application/x-amz-json-1.1",
|
|
177
|
-
"x-amz-target": "Lightsail_20161128.CreateDisk",
|
|
178
|
-
};
|
|
127
|
+
const headers = sharedHeaders("CreateDisk");
|
|
179
128
|
let body;
|
|
180
129
|
body = JSON.stringify(se_CreateDiskRequest(input, context));
|
|
181
130
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
182
131
|
};
|
|
183
132
|
exports.se_CreateDiskCommand = se_CreateDiskCommand;
|
|
184
133
|
const se_CreateDiskFromSnapshotCommand = async (input, context) => {
|
|
185
|
-
const headers =
|
|
186
|
-
"content-type": "application/x-amz-json-1.1",
|
|
187
|
-
"x-amz-target": "Lightsail_20161128.CreateDiskFromSnapshot",
|
|
188
|
-
};
|
|
134
|
+
const headers = sharedHeaders("CreateDiskFromSnapshot");
|
|
189
135
|
let body;
|
|
190
136
|
body = JSON.stringify(se_CreateDiskFromSnapshotRequest(input, context));
|
|
191
137
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
192
138
|
};
|
|
193
139
|
exports.se_CreateDiskFromSnapshotCommand = se_CreateDiskFromSnapshotCommand;
|
|
194
140
|
const se_CreateDiskSnapshotCommand = async (input, context) => {
|
|
195
|
-
const headers =
|
|
196
|
-
"content-type": "application/x-amz-json-1.1",
|
|
197
|
-
"x-amz-target": "Lightsail_20161128.CreateDiskSnapshot",
|
|
198
|
-
};
|
|
141
|
+
const headers = sharedHeaders("CreateDiskSnapshot");
|
|
199
142
|
let body;
|
|
200
143
|
body = JSON.stringify(se_CreateDiskSnapshotRequest(input, context));
|
|
201
144
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
145
|
};
|
|
203
146
|
exports.se_CreateDiskSnapshotCommand = se_CreateDiskSnapshotCommand;
|
|
204
147
|
const se_CreateDistributionCommand = async (input, context) => {
|
|
205
|
-
const headers =
|
|
206
|
-
"content-type": "application/x-amz-json-1.1",
|
|
207
|
-
"x-amz-target": "Lightsail_20161128.CreateDistribution",
|
|
208
|
-
};
|
|
148
|
+
const headers = sharedHeaders("CreateDistribution");
|
|
209
149
|
let body;
|
|
210
150
|
body = JSON.stringify(se_CreateDistributionRequest(input, context));
|
|
211
151
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
212
152
|
};
|
|
213
153
|
exports.se_CreateDistributionCommand = se_CreateDistributionCommand;
|
|
214
154
|
const se_CreateDomainCommand = async (input, context) => {
|
|
215
|
-
const headers =
|
|
216
|
-
"content-type": "application/x-amz-json-1.1",
|
|
217
|
-
"x-amz-target": "Lightsail_20161128.CreateDomain",
|
|
218
|
-
};
|
|
155
|
+
const headers = sharedHeaders("CreateDomain");
|
|
219
156
|
let body;
|
|
220
157
|
body = JSON.stringify(se_CreateDomainRequest(input, context));
|
|
221
158
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
222
159
|
};
|
|
223
160
|
exports.se_CreateDomainCommand = se_CreateDomainCommand;
|
|
224
161
|
const se_CreateDomainEntryCommand = async (input, context) => {
|
|
225
|
-
const headers =
|
|
226
|
-
"content-type": "application/x-amz-json-1.1",
|
|
227
|
-
"x-amz-target": "Lightsail_20161128.CreateDomainEntry",
|
|
228
|
-
};
|
|
162
|
+
const headers = sharedHeaders("CreateDomainEntry");
|
|
229
163
|
let body;
|
|
230
164
|
body = JSON.stringify(se_CreateDomainEntryRequest(input, context));
|
|
231
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
232
166
|
};
|
|
233
167
|
exports.se_CreateDomainEntryCommand = se_CreateDomainEntryCommand;
|
|
234
168
|
const se_CreateGUISessionAccessDetailsCommand = async (input, context) => {
|
|
235
|
-
const headers =
|
|
236
|
-
"content-type": "application/x-amz-json-1.1",
|
|
237
|
-
"x-amz-target": "Lightsail_20161128.CreateGUISessionAccessDetails",
|
|
238
|
-
};
|
|
169
|
+
const headers = sharedHeaders("CreateGUISessionAccessDetails");
|
|
239
170
|
let body;
|
|
240
171
|
body = JSON.stringify(se_CreateGUISessionAccessDetailsRequest(input, context));
|
|
241
172
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
242
173
|
};
|
|
243
174
|
exports.se_CreateGUISessionAccessDetailsCommand = se_CreateGUISessionAccessDetailsCommand;
|
|
244
175
|
const se_CreateInstancesCommand = async (input, context) => {
|
|
245
|
-
const headers =
|
|
246
|
-
"content-type": "application/x-amz-json-1.1",
|
|
247
|
-
"x-amz-target": "Lightsail_20161128.CreateInstances",
|
|
248
|
-
};
|
|
176
|
+
const headers = sharedHeaders("CreateInstances");
|
|
249
177
|
let body;
|
|
250
178
|
body = JSON.stringify(se_CreateInstancesRequest(input, context));
|
|
251
179
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
180
|
};
|
|
253
181
|
exports.se_CreateInstancesCommand = se_CreateInstancesCommand;
|
|
254
182
|
const se_CreateInstancesFromSnapshotCommand = async (input, context) => {
|
|
255
|
-
const headers =
|
|
256
|
-
"content-type": "application/x-amz-json-1.1",
|
|
257
|
-
"x-amz-target": "Lightsail_20161128.CreateInstancesFromSnapshot",
|
|
258
|
-
};
|
|
183
|
+
const headers = sharedHeaders("CreateInstancesFromSnapshot");
|
|
259
184
|
let body;
|
|
260
185
|
body = JSON.stringify(se_CreateInstancesFromSnapshotRequest(input, context));
|
|
261
186
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
262
187
|
};
|
|
263
188
|
exports.se_CreateInstancesFromSnapshotCommand = se_CreateInstancesFromSnapshotCommand;
|
|
264
189
|
const se_CreateInstanceSnapshotCommand = async (input, context) => {
|
|
265
|
-
const headers =
|
|
266
|
-
"content-type": "application/x-amz-json-1.1",
|
|
267
|
-
"x-amz-target": "Lightsail_20161128.CreateInstanceSnapshot",
|
|
268
|
-
};
|
|
190
|
+
const headers = sharedHeaders("CreateInstanceSnapshot");
|
|
269
191
|
let body;
|
|
270
192
|
body = JSON.stringify(se_CreateInstanceSnapshotRequest(input, context));
|
|
271
193
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
272
194
|
};
|
|
273
195
|
exports.se_CreateInstanceSnapshotCommand = se_CreateInstanceSnapshotCommand;
|
|
274
196
|
const se_CreateKeyPairCommand = async (input, context) => {
|
|
275
|
-
const headers =
|
|
276
|
-
"content-type": "application/x-amz-json-1.1",
|
|
277
|
-
"x-amz-target": "Lightsail_20161128.CreateKeyPair",
|
|
278
|
-
};
|
|
197
|
+
const headers = sharedHeaders("CreateKeyPair");
|
|
279
198
|
let body;
|
|
280
199
|
body = JSON.stringify(se_CreateKeyPairRequest(input, context));
|
|
281
200
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
282
201
|
};
|
|
283
202
|
exports.se_CreateKeyPairCommand = se_CreateKeyPairCommand;
|
|
284
203
|
const se_CreateLoadBalancerCommand = async (input, context) => {
|
|
285
|
-
const headers =
|
|
286
|
-
"content-type": "application/x-amz-json-1.1",
|
|
287
|
-
"x-amz-target": "Lightsail_20161128.CreateLoadBalancer",
|
|
288
|
-
};
|
|
204
|
+
const headers = sharedHeaders("CreateLoadBalancer");
|
|
289
205
|
let body;
|
|
290
206
|
body = JSON.stringify(se_CreateLoadBalancerRequest(input, context));
|
|
291
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
208
|
};
|
|
293
209
|
exports.se_CreateLoadBalancerCommand = se_CreateLoadBalancerCommand;
|
|
294
210
|
const se_CreateLoadBalancerTlsCertificateCommand = async (input, context) => {
|
|
295
|
-
const headers =
|
|
296
|
-
"content-type": "application/x-amz-json-1.1",
|
|
297
|
-
"x-amz-target": "Lightsail_20161128.CreateLoadBalancerTlsCertificate",
|
|
298
|
-
};
|
|
211
|
+
const headers = sharedHeaders("CreateLoadBalancerTlsCertificate");
|
|
299
212
|
let body;
|
|
300
213
|
body = JSON.stringify(se_CreateLoadBalancerTlsCertificateRequest(input, context));
|
|
301
214
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
302
215
|
};
|
|
303
216
|
exports.se_CreateLoadBalancerTlsCertificateCommand = se_CreateLoadBalancerTlsCertificateCommand;
|
|
304
217
|
const se_CreateRelationalDatabaseCommand = async (input, context) => {
|
|
305
|
-
const headers =
|
|
306
|
-
"content-type": "application/x-amz-json-1.1",
|
|
307
|
-
"x-amz-target": "Lightsail_20161128.CreateRelationalDatabase",
|
|
308
|
-
};
|
|
218
|
+
const headers = sharedHeaders("CreateRelationalDatabase");
|
|
309
219
|
let body;
|
|
310
220
|
body = JSON.stringify(se_CreateRelationalDatabaseRequest(input, context));
|
|
311
221
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
312
222
|
};
|
|
313
223
|
exports.se_CreateRelationalDatabaseCommand = se_CreateRelationalDatabaseCommand;
|
|
314
224
|
const se_CreateRelationalDatabaseFromSnapshotCommand = async (input, context) => {
|
|
315
|
-
const headers =
|
|
316
|
-
"content-type": "application/x-amz-json-1.1",
|
|
317
|
-
"x-amz-target": "Lightsail_20161128.CreateRelationalDatabaseFromSnapshot",
|
|
318
|
-
};
|
|
225
|
+
const headers = sharedHeaders("CreateRelationalDatabaseFromSnapshot");
|
|
319
226
|
let body;
|
|
320
227
|
body = JSON.stringify(se_CreateRelationalDatabaseFromSnapshotRequest(input, context));
|
|
321
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
322
229
|
};
|
|
323
230
|
exports.se_CreateRelationalDatabaseFromSnapshotCommand = se_CreateRelationalDatabaseFromSnapshotCommand;
|
|
324
231
|
const se_CreateRelationalDatabaseSnapshotCommand = async (input, context) => {
|
|
325
|
-
const headers =
|
|
326
|
-
"content-type": "application/x-amz-json-1.1",
|
|
327
|
-
"x-amz-target": "Lightsail_20161128.CreateRelationalDatabaseSnapshot",
|
|
328
|
-
};
|
|
232
|
+
const headers = sharedHeaders("CreateRelationalDatabaseSnapshot");
|
|
329
233
|
let body;
|
|
330
234
|
body = JSON.stringify(se_CreateRelationalDatabaseSnapshotRequest(input, context));
|
|
331
235
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
332
236
|
};
|
|
333
237
|
exports.se_CreateRelationalDatabaseSnapshotCommand = se_CreateRelationalDatabaseSnapshotCommand;
|
|
334
238
|
const se_DeleteAlarmCommand = async (input, context) => {
|
|
335
|
-
const headers =
|
|
336
|
-
"content-type": "application/x-amz-json-1.1",
|
|
337
|
-
"x-amz-target": "Lightsail_20161128.DeleteAlarm",
|
|
338
|
-
};
|
|
239
|
+
const headers = sharedHeaders("DeleteAlarm");
|
|
339
240
|
let body;
|
|
340
241
|
body = JSON.stringify(se_DeleteAlarmRequest(input, context));
|
|
341
242
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
342
243
|
};
|
|
343
244
|
exports.se_DeleteAlarmCommand = se_DeleteAlarmCommand;
|
|
344
245
|
const se_DeleteAutoSnapshotCommand = async (input, context) => {
|
|
345
|
-
const headers =
|
|
346
|
-
"content-type": "application/x-amz-json-1.1",
|
|
347
|
-
"x-amz-target": "Lightsail_20161128.DeleteAutoSnapshot",
|
|
348
|
-
};
|
|
246
|
+
const headers = sharedHeaders("DeleteAutoSnapshot");
|
|
349
247
|
let body;
|
|
350
248
|
body = JSON.stringify(se_DeleteAutoSnapshotRequest(input, context));
|
|
351
249
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
352
250
|
};
|
|
353
251
|
exports.se_DeleteAutoSnapshotCommand = se_DeleteAutoSnapshotCommand;
|
|
354
252
|
const se_DeleteBucketCommand = async (input, context) => {
|
|
355
|
-
const headers =
|
|
356
|
-
"content-type": "application/x-amz-json-1.1",
|
|
357
|
-
"x-amz-target": "Lightsail_20161128.DeleteBucket",
|
|
358
|
-
};
|
|
253
|
+
const headers = sharedHeaders("DeleteBucket");
|
|
359
254
|
let body;
|
|
360
255
|
body = JSON.stringify(se_DeleteBucketRequest(input, context));
|
|
361
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
362
257
|
};
|
|
363
258
|
exports.se_DeleteBucketCommand = se_DeleteBucketCommand;
|
|
364
259
|
const se_DeleteBucketAccessKeyCommand = async (input, context) => {
|
|
365
|
-
const headers =
|
|
366
|
-
"content-type": "application/x-amz-json-1.1",
|
|
367
|
-
"x-amz-target": "Lightsail_20161128.DeleteBucketAccessKey",
|
|
368
|
-
};
|
|
260
|
+
const headers = sharedHeaders("DeleteBucketAccessKey");
|
|
369
261
|
let body;
|
|
370
262
|
body = JSON.stringify(se_DeleteBucketAccessKeyRequest(input, context));
|
|
371
263
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
372
264
|
};
|
|
373
265
|
exports.se_DeleteBucketAccessKeyCommand = se_DeleteBucketAccessKeyCommand;
|
|
374
266
|
const se_DeleteCertificateCommand = async (input, context) => {
|
|
375
|
-
const headers =
|
|
376
|
-
"content-type": "application/x-amz-json-1.1",
|
|
377
|
-
"x-amz-target": "Lightsail_20161128.DeleteCertificate",
|
|
378
|
-
};
|
|
267
|
+
const headers = sharedHeaders("DeleteCertificate");
|
|
379
268
|
let body;
|
|
380
269
|
body = JSON.stringify(se_DeleteCertificateRequest(input, context));
|
|
381
270
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
382
271
|
};
|
|
383
272
|
exports.se_DeleteCertificateCommand = se_DeleteCertificateCommand;
|
|
384
273
|
const se_DeleteContactMethodCommand = async (input, context) => {
|
|
385
|
-
const headers =
|
|
386
|
-
"content-type": "application/x-amz-json-1.1",
|
|
387
|
-
"x-amz-target": "Lightsail_20161128.DeleteContactMethod",
|
|
388
|
-
};
|
|
274
|
+
const headers = sharedHeaders("DeleteContactMethod");
|
|
389
275
|
let body;
|
|
390
276
|
body = JSON.stringify(se_DeleteContactMethodRequest(input, context));
|
|
391
277
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
392
278
|
};
|
|
393
279
|
exports.se_DeleteContactMethodCommand = se_DeleteContactMethodCommand;
|
|
394
280
|
const se_DeleteContainerImageCommand = async (input, context) => {
|
|
395
|
-
const headers =
|
|
396
|
-
"content-type": "application/x-amz-json-1.1",
|
|
397
|
-
"x-amz-target": "Lightsail_20161128.DeleteContainerImage",
|
|
398
|
-
};
|
|
281
|
+
const headers = sharedHeaders("DeleteContainerImage");
|
|
399
282
|
let body;
|
|
400
283
|
body = JSON.stringify(se_DeleteContainerImageRequest(input, context));
|
|
401
284
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
402
285
|
};
|
|
403
286
|
exports.se_DeleteContainerImageCommand = se_DeleteContainerImageCommand;
|
|
404
287
|
const se_DeleteContainerServiceCommand = async (input, context) => {
|
|
405
|
-
const headers =
|
|
406
|
-
"content-type": "application/x-amz-json-1.1",
|
|
407
|
-
"x-amz-target": "Lightsail_20161128.DeleteContainerService",
|
|
408
|
-
};
|
|
288
|
+
const headers = sharedHeaders("DeleteContainerService");
|
|
409
289
|
let body;
|
|
410
290
|
body = JSON.stringify(se_DeleteContainerServiceRequest(input, context));
|
|
411
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
412
292
|
};
|
|
413
293
|
exports.se_DeleteContainerServiceCommand = se_DeleteContainerServiceCommand;
|
|
414
294
|
const se_DeleteDiskCommand = async (input, context) => {
|
|
415
|
-
const headers =
|
|
416
|
-
"content-type": "application/x-amz-json-1.1",
|
|
417
|
-
"x-amz-target": "Lightsail_20161128.DeleteDisk",
|
|
418
|
-
};
|
|
295
|
+
const headers = sharedHeaders("DeleteDisk");
|
|
419
296
|
let body;
|
|
420
297
|
body = JSON.stringify(se_DeleteDiskRequest(input, context));
|
|
421
298
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
422
299
|
};
|
|
423
300
|
exports.se_DeleteDiskCommand = se_DeleteDiskCommand;
|
|
424
301
|
const se_DeleteDiskSnapshotCommand = async (input, context) => {
|
|
425
|
-
const headers =
|
|
426
|
-
"content-type": "application/x-amz-json-1.1",
|
|
427
|
-
"x-amz-target": "Lightsail_20161128.DeleteDiskSnapshot",
|
|
428
|
-
};
|
|
302
|
+
const headers = sharedHeaders("DeleteDiskSnapshot");
|
|
429
303
|
let body;
|
|
430
304
|
body = JSON.stringify(se_DeleteDiskSnapshotRequest(input, context));
|
|
431
305
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
432
306
|
};
|
|
433
307
|
exports.se_DeleteDiskSnapshotCommand = se_DeleteDiskSnapshotCommand;
|
|
434
308
|
const se_DeleteDistributionCommand = async (input, context) => {
|
|
435
|
-
const headers =
|
|
436
|
-
"content-type": "application/x-amz-json-1.1",
|
|
437
|
-
"x-amz-target": "Lightsail_20161128.DeleteDistribution",
|
|
438
|
-
};
|
|
309
|
+
const headers = sharedHeaders("DeleteDistribution");
|
|
439
310
|
let body;
|
|
440
311
|
body = JSON.stringify(se_DeleteDistributionRequest(input, context));
|
|
441
312
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
442
313
|
};
|
|
443
314
|
exports.se_DeleteDistributionCommand = se_DeleteDistributionCommand;
|
|
444
315
|
const se_DeleteDomainCommand = async (input, context) => {
|
|
445
|
-
const headers =
|
|
446
|
-
"content-type": "application/x-amz-json-1.1",
|
|
447
|
-
"x-amz-target": "Lightsail_20161128.DeleteDomain",
|
|
448
|
-
};
|
|
316
|
+
const headers = sharedHeaders("DeleteDomain");
|
|
449
317
|
let body;
|
|
450
318
|
body = JSON.stringify(se_DeleteDomainRequest(input, context));
|
|
451
319
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
452
320
|
};
|
|
453
321
|
exports.se_DeleteDomainCommand = se_DeleteDomainCommand;
|
|
454
322
|
const se_DeleteDomainEntryCommand = async (input, context) => {
|
|
455
|
-
const headers =
|
|
456
|
-
"content-type": "application/x-amz-json-1.1",
|
|
457
|
-
"x-amz-target": "Lightsail_20161128.DeleteDomainEntry",
|
|
458
|
-
};
|
|
323
|
+
const headers = sharedHeaders("DeleteDomainEntry");
|
|
459
324
|
let body;
|
|
460
325
|
body = JSON.stringify(se_DeleteDomainEntryRequest(input, context));
|
|
461
326
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
462
327
|
};
|
|
463
328
|
exports.se_DeleteDomainEntryCommand = se_DeleteDomainEntryCommand;
|
|
464
329
|
const se_DeleteInstanceCommand = async (input, context) => {
|
|
465
|
-
const headers =
|
|
466
|
-
"content-type": "application/x-amz-json-1.1",
|
|
467
|
-
"x-amz-target": "Lightsail_20161128.DeleteInstance",
|
|
468
|
-
};
|
|
330
|
+
const headers = sharedHeaders("DeleteInstance");
|
|
469
331
|
let body;
|
|
470
332
|
body = JSON.stringify(se_DeleteInstanceRequest(input, context));
|
|
471
333
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
472
334
|
};
|
|
473
335
|
exports.se_DeleteInstanceCommand = se_DeleteInstanceCommand;
|
|
474
336
|
const se_DeleteInstanceSnapshotCommand = async (input, context) => {
|
|
475
|
-
const headers =
|
|
476
|
-
"content-type": "application/x-amz-json-1.1",
|
|
477
|
-
"x-amz-target": "Lightsail_20161128.DeleteInstanceSnapshot",
|
|
478
|
-
};
|
|
337
|
+
const headers = sharedHeaders("DeleteInstanceSnapshot");
|
|
479
338
|
let body;
|
|
480
339
|
body = JSON.stringify(se_DeleteInstanceSnapshotRequest(input, context));
|
|
481
340
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
482
341
|
};
|
|
483
342
|
exports.se_DeleteInstanceSnapshotCommand = se_DeleteInstanceSnapshotCommand;
|
|
484
343
|
const se_DeleteKeyPairCommand = async (input, context) => {
|
|
485
|
-
const headers =
|
|
486
|
-
"content-type": "application/x-amz-json-1.1",
|
|
487
|
-
"x-amz-target": "Lightsail_20161128.DeleteKeyPair",
|
|
488
|
-
};
|
|
344
|
+
const headers = sharedHeaders("DeleteKeyPair");
|
|
489
345
|
let body;
|
|
490
346
|
body = JSON.stringify(se_DeleteKeyPairRequest(input, context));
|
|
491
347
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
492
348
|
};
|
|
493
349
|
exports.se_DeleteKeyPairCommand = se_DeleteKeyPairCommand;
|
|
494
350
|
const se_DeleteKnownHostKeysCommand = async (input, context) => {
|
|
495
|
-
const headers =
|
|
496
|
-
"content-type": "application/x-amz-json-1.1",
|
|
497
|
-
"x-amz-target": "Lightsail_20161128.DeleteKnownHostKeys",
|
|
498
|
-
};
|
|
351
|
+
const headers = sharedHeaders("DeleteKnownHostKeys");
|
|
499
352
|
let body;
|
|
500
353
|
body = JSON.stringify(se_DeleteKnownHostKeysRequest(input, context));
|
|
501
354
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
502
355
|
};
|
|
503
356
|
exports.se_DeleteKnownHostKeysCommand = se_DeleteKnownHostKeysCommand;
|
|
504
357
|
const se_DeleteLoadBalancerCommand = async (input, context) => {
|
|
505
|
-
const headers =
|
|
506
|
-
"content-type": "application/x-amz-json-1.1",
|
|
507
|
-
"x-amz-target": "Lightsail_20161128.DeleteLoadBalancer",
|
|
508
|
-
};
|
|
358
|
+
const headers = sharedHeaders("DeleteLoadBalancer");
|
|
509
359
|
let body;
|
|
510
360
|
body = JSON.stringify(se_DeleteLoadBalancerRequest(input, context));
|
|
511
361
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
512
362
|
};
|
|
513
363
|
exports.se_DeleteLoadBalancerCommand = se_DeleteLoadBalancerCommand;
|
|
514
364
|
const se_DeleteLoadBalancerTlsCertificateCommand = async (input, context) => {
|
|
515
|
-
const headers =
|
|
516
|
-
"content-type": "application/x-amz-json-1.1",
|
|
517
|
-
"x-amz-target": "Lightsail_20161128.DeleteLoadBalancerTlsCertificate",
|
|
518
|
-
};
|
|
365
|
+
const headers = sharedHeaders("DeleteLoadBalancerTlsCertificate");
|
|
519
366
|
let body;
|
|
520
367
|
body = JSON.stringify(se_DeleteLoadBalancerTlsCertificateRequest(input, context));
|
|
521
368
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
522
369
|
};
|
|
523
370
|
exports.se_DeleteLoadBalancerTlsCertificateCommand = se_DeleteLoadBalancerTlsCertificateCommand;
|
|
524
371
|
const se_DeleteRelationalDatabaseCommand = async (input, context) => {
|
|
525
|
-
const headers =
|
|
526
|
-
"content-type": "application/x-amz-json-1.1",
|
|
527
|
-
"x-amz-target": "Lightsail_20161128.DeleteRelationalDatabase",
|
|
528
|
-
};
|
|
372
|
+
const headers = sharedHeaders("DeleteRelationalDatabase");
|
|
529
373
|
let body;
|
|
530
374
|
body = JSON.stringify(se_DeleteRelationalDatabaseRequest(input, context));
|
|
531
375
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
532
376
|
};
|
|
533
377
|
exports.se_DeleteRelationalDatabaseCommand = se_DeleteRelationalDatabaseCommand;
|
|
534
378
|
const se_DeleteRelationalDatabaseSnapshotCommand = async (input, context) => {
|
|
535
|
-
const headers =
|
|
536
|
-
"content-type": "application/x-amz-json-1.1",
|
|
537
|
-
"x-amz-target": "Lightsail_20161128.DeleteRelationalDatabaseSnapshot",
|
|
538
|
-
};
|
|
379
|
+
const headers = sharedHeaders("DeleteRelationalDatabaseSnapshot");
|
|
539
380
|
let body;
|
|
540
381
|
body = JSON.stringify(se_DeleteRelationalDatabaseSnapshotRequest(input, context));
|
|
541
382
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
542
383
|
};
|
|
543
384
|
exports.se_DeleteRelationalDatabaseSnapshotCommand = se_DeleteRelationalDatabaseSnapshotCommand;
|
|
544
385
|
const se_DetachCertificateFromDistributionCommand = async (input, context) => {
|
|
545
|
-
const headers =
|
|
546
|
-
"content-type": "application/x-amz-json-1.1",
|
|
547
|
-
"x-amz-target": "Lightsail_20161128.DetachCertificateFromDistribution",
|
|
548
|
-
};
|
|
386
|
+
const headers = sharedHeaders("DetachCertificateFromDistribution");
|
|
549
387
|
let body;
|
|
550
388
|
body = JSON.stringify(se_DetachCertificateFromDistributionRequest(input, context));
|
|
551
389
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
552
390
|
};
|
|
553
391
|
exports.se_DetachCertificateFromDistributionCommand = se_DetachCertificateFromDistributionCommand;
|
|
554
392
|
const se_DetachDiskCommand = async (input, context) => {
|
|
555
|
-
const headers =
|
|
556
|
-
"content-type": "application/x-amz-json-1.1",
|
|
557
|
-
"x-amz-target": "Lightsail_20161128.DetachDisk",
|
|
558
|
-
};
|
|
393
|
+
const headers = sharedHeaders("DetachDisk");
|
|
559
394
|
let body;
|
|
560
395
|
body = JSON.stringify(se_DetachDiskRequest(input, context));
|
|
561
396
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
562
397
|
};
|
|
563
398
|
exports.se_DetachDiskCommand = se_DetachDiskCommand;
|
|
564
399
|
const se_DetachInstancesFromLoadBalancerCommand = async (input, context) => {
|
|
565
|
-
const headers =
|
|
566
|
-
"content-type": "application/x-amz-json-1.1",
|
|
567
|
-
"x-amz-target": "Lightsail_20161128.DetachInstancesFromLoadBalancer",
|
|
568
|
-
};
|
|
400
|
+
const headers = sharedHeaders("DetachInstancesFromLoadBalancer");
|
|
569
401
|
let body;
|
|
570
402
|
body = JSON.stringify(se_DetachInstancesFromLoadBalancerRequest(input, context));
|
|
571
403
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
572
404
|
};
|
|
573
405
|
exports.se_DetachInstancesFromLoadBalancerCommand = se_DetachInstancesFromLoadBalancerCommand;
|
|
574
406
|
const se_DetachStaticIpCommand = async (input, context) => {
|
|
575
|
-
const headers =
|
|
576
|
-
"content-type": "application/x-amz-json-1.1",
|
|
577
|
-
"x-amz-target": "Lightsail_20161128.DetachStaticIp",
|
|
578
|
-
};
|
|
407
|
+
const headers = sharedHeaders("DetachStaticIp");
|
|
579
408
|
let body;
|
|
580
409
|
body = JSON.stringify(se_DetachStaticIpRequest(input, context));
|
|
581
410
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
582
411
|
};
|
|
583
412
|
exports.se_DetachStaticIpCommand = se_DetachStaticIpCommand;
|
|
584
413
|
const se_DisableAddOnCommand = async (input, context) => {
|
|
585
|
-
const headers =
|
|
586
|
-
"content-type": "application/x-amz-json-1.1",
|
|
587
|
-
"x-amz-target": "Lightsail_20161128.DisableAddOn",
|
|
588
|
-
};
|
|
414
|
+
const headers = sharedHeaders("DisableAddOn");
|
|
589
415
|
let body;
|
|
590
416
|
body = JSON.stringify(se_DisableAddOnRequest(input, context));
|
|
591
417
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
592
418
|
};
|
|
593
419
|
exports.se_DisableAddOnCommand = se_DisableAddOnCommand;
|
|
594
420
|
const se_DownloadDefaultKeyPairCommand = async (input, context) => {
|
|
595
|
-
const headers =
|
|
596
|
-
"content-type": "application/x-amz-json-1.1",
|
|
597
|
-
"x-amz-target": "Lightsail_20161128.DownloadDefaultKeyPair",
|
|
598
|
-
};
|
|
421
|
+
const headers = sharedHeaders("DownloadDefaultKeyPair");
|
|
599
422
|
let body;
|
|
600
423
|
body = JSON.stringify(se_DownloadDefaultKeyPairRequest(input, context));
|
|
601
424
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
602
425
|
};
|
|
603
426
|
exports.se_DownloadDefaultKeyPairCommand = se_DownloadDefaultKeyPairCommand;
|
|
604
427
|
const se_EnableAddOnCommand = async (input, context) => {
|
|
605
|
-
const headers =
|
|
606
|
-
"content-type": "application/x-amz-json-1.1",
|
|
607
|
-
"x-amz-target": "Lightsail_20161128.EnableAddOn",
|
|
608
|
-
};
|
|
428
|
+
const headers = sharedHeaders("EnableAddOn");
|
|
609
429
|
let body;
|
|
610
430
|
body = JSON.stringify(se_EnableAddOnRequest(input, context));
|
|
611
431
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
612
432
|
};
|
|
613
433
|
exports.se_EnableAddOnCommand = se_EnableAddOnCommand;
|
|
614
434
|
const se_ExportSnapshotCommand = async (input, context) => {
|
|
615
|
-
const headers =
|
|
616
|
-
"content-type": "application/x-amz-json-1.1",
|
|
617
|
-
"x-amz-target": "Lightsail_20161128.ExportSnapshot",
|
|
618
|
-
};
|
|
435
|
+
const headers = sharedHeaders("ExportSnapshot");
|
|
619
436
|
let body;
|
|
620
437
|
body = JSON.stringify(se_ExportSnapshotRequest(input, context));
|
|
621
438
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
622
439
|
};
|
|
623
440
|
exports.se_ExportSnapshotCommand = se_ExportSnapshotCommand;
|
|
624
441
|
const se_GetActiveNamesCommand = async (input, context) => {
|
|
625
|
-
const headers =
|
|
626
|
-
"content-type": "application/x-amz-json-1.1",
|
|
627
|
-
"x-amz-target": "Lightsail_20161128.GetActiveNames",
|
|
628
|
-
};
|
|
442
|
+
const headers = sharedHeaders("GetActiveNames");
|
|
629
443
|
let body;
|
|
630
444
|
body = JSON.stringify(se_GetActiveNamesRequest(input, context));
|
|
631
445
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
632
446
|
};
|
|
633
447
|
exports.se_GetActiveNamesCommand = se_GetActiveNamesCommand;
|
|
634
448
|
const se_GetAlarmsCommand = async (input, context) => {
|
|
635
|
-
const headers =
|
|
636
|
-
"content-type": "application/x-amz-json-1.1",
|
|
637
|
-
"x-amz-target": "Lightsail_20161128.GetAlarms",
|
|
638
|
-
};
|
|
449
|
+
const headers = sharedHeaders("GetAlarms");
|
|
639
450
|
let body;
|
|
640
451
|
body = JSON.stringify(se_GetAlarmsRequest(input, context));
|
|
641
452
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
642
453
|
};
|
|
643
454
|
exports.se_GetAlarmsCommand = se_GetAlarmsCommand;
|
|
644
455
|
const se_GetAutoSnapshotsCommand = async (input, context) => {
|
|
645
|
-
const headers =
|
|
646
|
-
"content-type": "application/x-amz-json-1.1",
|
|
647
|
-
"x-amz-target": "Lightsail_20161128.GetAutoSnapshots",
|
|
648
|
-
};
|
|
456
|
+
const headers = sharedHeaders("GetAutoSnapshots");
|
|
649
457
|
let body;
|
|
650
458
|
body = JSON.stringify(se_GetAutoSnapshotsRequest(input, context));
|
|
651
459
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
652
460
|
};
|
|
653
461
|
exports.se_GetAutoSnapshotsCommand = se_GetAutoSnapshotsCommand;
|
|
654
462
|
const se_GetBlueprintsCommand = async (input, context) => {
|
|
655
|
-
const headers =
|
|
656
|
-
"content-type": "application/x-amz-json-1.1",
|
|
657
|
-
"x-amz-target": "Lightsail_20161128.GetBlueprints",
|
|
658
|
-
};
|
|
463
|
+
const headers = sharedHeaders("GetBlueprints");
|
|
659
464
|
let body;
|
|
660
465
|
body = JSON.stringify(se_GetBlueprintsRequest(input, context));
|
|
661
466
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
662
467
|
};
|
|
663
468
|
exports.se_GetBlueprintsCommand = se_GetBlueprintsCommand;
|
|
664
469
|
const se_GetBucketAccessKeysCommand = async (input, context) => {
|
|
665
|
-
const headers =
|
|
666
|
-
"content-type": "application/x-amz-json-1.1",
|
|
667
|
-
"x-amz-target": "Lightsail_20161128.GetBucketAccessKeys",
|
|
668
|
-
};
|
|
470
|
+
const headers = sharedHeaders("GetBucketAccessKeys");
|
|
669
471
|
let body;
|
|
670
472
|
body = JSON.stringify(se_GetBucketAccessKeysRequest(input, context));
|
|
671
473
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
672
474
|
};
|
|
673
475
|
exports.se_GetBucketAccessKeysCommand = se_GetBucketAccessKeysCommand;
|
|
674
476
|
const se_GetBucketBundlesCommand = async (input, context) => {
|
|
675
|
-
const headers =
|
|
676
|
-
"content-type": "application/x-amz-json-1.1",
|
|
677
|
-
"x-amz-target": "Lightsail_20161128.GetBucketBundles",
|
|
678
|
-
};
|
|
477
|
+
const headers = sharedHeaders("GetBucketBundles");
|
|
679
478
|
let body;
|
|
680
479
|
body = JSON.stringify(se_GetBucketBundlesRequest(input, context));
|
|
681
480
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
682
481
|
};
|
|
683
482
|
exports.se_GetBucketBundlesCommand = se_GetBucketBundlesCommand;
|
|
684
483
|
const se_GetBucketMetricDataCommand = async (input, context) => {
|
|
685
|
-
const headers =
|
|
686
|
-
"content-type": "application/x-amz-json-1.1",
|
|
687
|
-
"x-amz-target": "Lightsail_20161128.GetBucketMetricData",
|
|
688
|
-
};
|
|
484
|
+
const headers = sharedHeaders("GetBucketMetricData");
|
|
689
485
|
let body;
|
|
690
486
|
body = JSON.stringify(se_GetBucketMetricDataRequest(input, context));
|
|
691
487
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
692
488
|
};
|
|
693
489
|
exports.se_GetBucketMetricDataCommand = se_GetBucketMetricDataCommand;
|
|
694
490
|
const se_GetBucketsCommand = async (input, context) => {
|
|
695
|
-
const headers =
|
|
696
|
-
"content-type": "application/x-amz-json-1.1",
|
|
697
|
-
"x-amz-target": "Lightsail_20161128.GetBuckets",
|
|
698
|
-
};
|
|
491
|
+
const headers = sharedHeaders("GetBuckets");
|
|
699
492
|
let body;
|
|
700
493
|
body = JSON.stringify(se_GetBucketsRequest(input, context));
|
|
701
494
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
702
495
|
};
|
|
703
496
|
exports.se_GetBucketsCommand = se_GetBucketsCommand;
|
|
704
497
|
const se_GetBundlesCommand = async (input, context) => {
|
|
705
|
-
const headers =
|
|
706
|
-
"content-type": "application/x-amz-json-1.1",
|
|
707
|
-
"x-amz-target": "Lightsail_20161128.GetBundles",
|
|
708
|
-
};
|
|
498
|
+
const headers = sharedHeaders("GetBundles");
|
|
709
499
|
let body;
|
|
710
500
|
body = JSON.stringify(se_GetBundlesRequest(input, context));
|
|
711
501
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
712
502
|
};
|
|
713
503
|
exports.se_GetBundlesCommand = se_GetBundlesCommand;
|
|
714
504
|
const se_GetCertificatesCommand = async (input, context) => {
|
|
715
|
-
const headers =
|
|
716
|
-
"content-type": "application/x-amz-json-1.1",
|
|
717
|
-
"x-amz-target": "Lightsail_20161128.GetCertificates",
|
|
718
|
-
};
|
|
505
|
+
const headers = sharedHeaders("GetCertificates");
|
|
719
506
|
let body;
|
|
720
507
|
body = JSON.stringify(se_GetCertificatesRequest(input, context));
|
|
721
508
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
722
509
|
};
|
|
723
510
|
exports.se_GetCertificatesCommand = se_GetCertificatesCommand;
|
|
724
511
|
const se_GetCloudFormationStackRecordsCommand = async (input, context) => {
|
|
725
|
-
const headers =
|
|
726
|
-
"content-type": "application/x-amz-json-1.1",
|
|
727
|
-
"x-amz-target": "Lightsail_20161128.GetCloudFormationStackRecords",
|
|
728
|
-
};
|
|
512
|
+
const headers = sharedHeaders("GetCloudFormationStackRecords");
|
|
729
513
|
let body;
|
|
730
514
|
body = JSON.stringify(se_GetCloudFormationStackRecordsRequest(input, context));
|
|
731
515
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
732
516
|
};
|
|
733
517
|
exports.se_GetCloudFormationStackRecordsCommand = se_GetCloudFormationStackRecordsCommand;
|
|
734
518
|
const se_GetContactMethodsCommand = async (input, context) => {
|
|
735
|
-
const headers =
|
|
736
|
-
"content-type": "application/x-amz-json-1.1",
|
|
737
|
-
"x-amz-target": "Lightsail_20161128.GetContactMethods",
|
|
738
|
-
};
|
|
519
|
+
const headers = sharedHeaders("GetContactMethods");
|
|
739
520
|
let body;
|
|
740
521
|
body = JSON.stringify(se_GetContactMethodsRequest(input, context));
|
|
741
522
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
742
523
|
};
|
|
743
524
|
exports.se_GetContactMethodsCommand = se_GetContactMethodsCommand;
|
|
744
525
|
const se_GetContainerAPIMetadataCommand = async (input, context) => {
|
|
745
|
-
const headers =
|
|
746
|
-
"content-type": "application/x-amz-json-1.1",
|
|
747
|
-
"x-amz-target": "Lightsail_20161128.GetContainerAPIMetadata",
|
|
748
|
-
};
|
|
526
|
+
const headers = sharedHeaders("GetContainerAPIMetadata");
|
|
749
527
|
let body;
|
|
750
528
|
body = JSON.stringify(se_GetContainerAPIMetadataRequest(input, context));
|
|
751
529
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
752
530
|
};
|
|
753
531
|
exports.se_GetContainerAPIMetadataCommand = se_GetContainerAPIMetadataCommand;
|
|
754
532
|
const se_GetContainerImagesCommand = async (input, context) => {
|
|
755
|
-
const headers =
|
|
756
|
-
"content-type": "application/x-amz-json-1.1",
|
|
757
|
-
"x-amz-target": "Lightsail_20161128.GetContainerImages",
|
|
758
|
-
};
|
|
533
|
+
const headers = sharedHeaders("GetContainerImages");
|
|
759
534
|
let body;
|
|
760
535
|
body = JSON.stringify(se_GetContainerImagesRequest(input, context));
|
|
761
536
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
762
537
|
};
|
|
763
538
|
exports.se_GetContainerImagesCommand = se_GetContainerImagesCommand;
|
|
764
539
|
const se_GetContainerLogCommand = async (input, context) => {
|
|
765
|
-
const headers =
|
|
766
|
-
"content-type": "application/x-amz-json-1.1",
|
|
767
|
-
"x-amz-target": "Lightsail_20161128.GetContainerLog",
|
|
768
|
-
};
|
|
540
|
+
const headers = sharedHeaders("GetContainerLog");
|
|
769
541
|
let body;
|
|
770
542
|
body = JSON.stringify(se_GetContainerLogRequest(input, context));
|
|
771
543
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
772
544
|
};
|
|
773
545
|
exports.se_GetContainerLogCommand = se_GetContainerLogCommand;
|
|
774
546
|
const se_GetContainerServiceDeploymentsCommand = async (input, context) => {
|
|
775
|
-
const headers =
|
|
776
|
-
"content-type": "application/x-amz-json-1.1",
|
|
777
|
-
"x-amz-target": "Lightsail_20161128.GetContainerServiceDeployments",
|
|
778
|
-
};
|
|
547
|
+
const headers = sharedHeaders("GetContainerServiceDeployments");
|
|
779
548
|
let body;
|
|
780
549
|
body = JSON.stringify(se_GetContainerServiceDeploymentsRequest(input, context));
|
|
781
550
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
782
551
|
};
|
|
783
552
|
exports.se_GetContainerServiceDeploymentsCommand = se_GetContainerServiceDeploymentsCommand;
|
|
784
553
|
const se_GetContainerServiceMetricDataCommand = async (input, context) => {
|
|
785
|
-
const headers =
|
|
786
|
-
"content-type": "application/x-amz-json-1.1",
|
|
787
|
-
"x-amz-target": "Lightsail_20161128.GetContainerServiceMetricData",
|
|
788
|
-
};
|
|
554
|
+
const headers = sharedHeaders("GetContainerServiceMetricData");
|
|
789
555
|
let body;
|
|
790
556
|
body = JSON.stringify(se_GetContainerServiceMetricDataRequest(input, context));
|
|
791
557
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
792
558
|
};
|
|
793
559
|
exports.se_GetContainerServiceMetricDataCommand = se_GetContainerServiceMetricDataCommand;
|
|
794
560
|
const se_GetContainerServicePowersCommand = async (input, context) => {
|
|
795
|
-
const headers =
|
|
796
|
-
"content-type": "application/x-amz-json-1.1",
|
|
797
|
-
"x-amz-target": "Lightsail_20161128.GetContainerServicePowers",
|
|
798
|
-
};
|
|
561
|
+
const headers = sharedHeaders("GetContainerServicePowers");
|
|
799
562
|
let body;
|
|
800
563
|
body = JSON.stringify(se_GetContainerServicePowersRequest(input, context));
|
|
801
564
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
802
565
|
};
|
|
803
566
|
exports.se_GetContainerServicePowersCommand = se_GetContainerServicePowersCommand;
|
|
804
567
|
const se_GetContainerServicesCommand = async (input, context) => {
|
|
805
|
-
const headers =
|
|
806
|
-
"content-type": "application/x-amz-json-1.1",
|
|
807
|
-
"x-amz-target": "Lightsail_20161128.GetContainerServices",
|
|
808
|
-
};
|
|
568
|
+
const headers = sharedHeaders("GetContainerServices");
|
|
809
569
|
let body;
|
|
810
570
|
body = JSON.stringify(se_GetContainerServicesRequest(input, context));
|
|
811
571
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
812
572
|
};
|
|
813
573
|
exports.se_GetContainerServicesCommand = se_GetContainerServicesCommand;
|
|
814
574
|
const se_GetCostEstimateCommand = async (input, context) => {
|
|
815
|
-
const headers =
|
|
816
|
-
"content-type": "application/x-amz-json-1.1",
|
|
817
|
-
"x-amz-target": "Lightsail_20161128.GetCostEstimate",
|
|
818
|
-
};
|
|
575
|
+
const headers = sharedHeaders("GetCostEstimate");
|
|
819
576
|
let body;
|
|
820
577
|
body = JSON.stringify(se_GetCostEstimateRequest(input, context));
|
|
821
578
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
822
579
|
};
|
|
823
580
|
exports.se_GetCostEstimateCommand = se_GetCostEstimateCommand;
|
|
824
581
|
const se_GetDiskCommand = async (input, context) => {
|
|
825
|
-
const headers =
|
|
826
|
-
"content-type": "application/x-amz-json-1.1",
|
|
827
|
-
"x-amz-target": "Lightsail_20161128.GetDisk",
|
|
828
|
-
};
|
|
582
|
+
const headers = sharedHeaders("GetDisk");
|
|
829
583
|
let body;
|
|
830
584
|
body = JSON.stringify(se_GetDiskRequest(input, context));
|
|
831
585
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
832
586
|
};
|
|
833
587
|
exports.se_GetDiskCommand = se_GetDiskCommand;
|
|
834
588
|
const se_GetDisksCommand = async (input, context) => {
|
|
835
|
-
const headers =
|
|
836
|
-
"content-type": "application/x-amz-json-1.1",
|
|
837
|
-
"x-amz-target": "Lightsail_20161128.GetDisks",
|
|
838
|
-
};
|
|
589
|
+
const headers = sharedHeaders("GetDisks");
|
|
839
590
|
let body;
|
|
840
591
|
body = JSON.stringify(se_GetDisksRequest(input, context));
|
|
841
592
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
842
593
|
};
|
|
843
594
|
exports.se_GetDisksCommand = se_GetDisksCommand;
|
|
844
595
|
const se_GetDiskSnapshotCommand = async (input, context) => {
|
|
845
|
-
const headers =
|
|
846
|
-
"content-type": "application/x-amz-json-1.1",
|
|
847
|
-
"x-amz-target": "Lightsail_20161128.GetDiskSnapshot",
|
|
848
|
-
};
|
|
596
|
+
const headers = sharedHeaders("GetDiskSnapshot");
|
|
849
597
|
let body;
|
|
850
598
|
body = JSON.stringify(se_GetDiskSnapshotRequest(input, context));
|
|
851
599
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
852
600
|
};
|
|
853
601
|
exports.se_GetDiskSnapshotCommand = se_GetDiskSnapshotCommand;
|
|
854
602
|
const se_GetDiskSnapshotsCommand = async (input, context) => {
|
|
855
|
-
const headers =
|
|
856
|
-
"content-type": "application/x-amz-json-1.1",
|
|
857
|
-
"x-amz-target": "Lightsail_20161128.GetDiskSnapshots",
|
|
858
|
-
};
|
|
603
|
+
const headers = sharedHeaders("GetDiskSnapshots");
|
|
859
604
|
let body;
|
|
860
605
|
body = JSON.stringify(se_GetDiskSnapshotsRequest(input, context));
|
|
861
606
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
862
607
|
};
|
|
863
608
|
exports.se_GetDiskSnapshotsCommand = se_GetDiskSnapshotsCommand;
|
|
864
609
|
const se_GetDistributionBundlesCommand = async (input, context) => {
|
|
865
|
-
const headers =
|
|
866
|
-
"content-type": "application/x-amz-json-1.1",
|
|
867
|
-
"x-amz-target": "Lightsail_20161128.GetDistributionBundles",
|
|
868
|
-
};
|
|
610
|
+
const headers = sharedHeaders("GetDistributionBundles");
|
|
869
611
|
let body;
|
|
870
612
|
body = JSON.stringify(se_GetDistributionBundlesRequest(input, context));
|
|
871
613
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
872
614
|
};
|
|
873
615
|
exports.se_GetDistributionBundlesCommand = se_GetDistributionBundlesCommand;
|
|
874
616
|
const se_GetDistributionLatestCacheResetCommand = async (input, context) => {
|
|
875
|
-
const headers =
|
|
876
|
-
"content-type": "application/x-amz-json-1.1",
|
|
877
|
-
"x-amz-target": "Lightsail_20161128.GetDistributionLatestCacheReset",
|
|
878
|
-
};
|
|
617
|
+
const headers = sharedHeaders("GetDistributionLatestCacheReset");
|
|
879
618
|
let body;
|
|
880
619
|
body = JSON.stringify(se_GetDistributionLatestCacheResetRequest(input, context));
|
|
881
620
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
882
621
|
};
|
|
883
622
|
exports.se_GetDistributionLatestCacheResetCommand = se_GetDistributionLatestCacheResetCommand;
|
|
884
623
|
const se_GetDistributionMetricDataCommand = async (input, context) => {
|
|
885
|
-
const headers =
|
|
886
|
-
"content-type": "application/x-amz-json-1.1",
|
|
887
|
-
"x-amz-target": "Lightsail_20161128.GetDistributionMetricData",
|
|
888
|
-
};
|
|
624
|
+
const headers = sharedHeaders("GetDistributionMetricData");
|
|
889
625
|
let body;
|
|
890
626
|
body = JSON.stringify(se_GetDistributionMetricDataRequest(input, context));
|
|
891
627
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
892
628
|
};
|
|
893
629
|
exports.se_GetDistributionMetricDataCommand = se_GetDistributionMetricDataCommand;
|
|
894
630
|
const se_GetDistributionsCommand = async (input, context) => {
|
|
895
|
-
const headers =
|
|
896
|
-
"content-type": "application/x-amz-json-1.1",
|
|
897
|
-
"x-amz-target": "Lightsail_20161128.GetDistributions",
|
|
898
|
-
};
|
|
631
|
+
const headers = sharedHeaders("GetDistributions");
|
|
899
632
|
let body;
|
|
900
633
|
body = JSON.stringify(se_GetDistributionsRequest(input, context));
|
|
901
634
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
902
635
|
};
|
|
903
636
|
exports.se_GetDistributionsCommand = se_GetDistributionsCommand;
|
|
904
637
|
const se_GetDomainCommand = async (input, context) => {
|
|
905
|
-
const headers =
|
|
906
|
-
"content-type": "application/x-amz-json-1.1",
|
|
907
|
-
"x-amz-target": "Lightsail_20161128.GetDomain",
|
|
908
|
-
};
|
|
638
|
+
const headers = sharedHeaders("GetDomain");
|
|
909
639
|
let body;
|
|
910
640
|
body = JSON.stringify(se_GetDomainRequest(input, context));
|
|
911
641
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
912
642
|
};
|
|
913
643
|
exports.se_GetDomainCommand = se_GetDomainCommand;
|
|
914
644
|
const se_GetDomainsCommand = async (input, context) => {
|
|
915
|
-
const headers =
|
|
916
|
-
"content-type": "application/x-amz-json-1.1",
|
|
917
|
-
"x-amz-target": "Lightsail_20161128.GetDomains",
|
|
918
|
-
};
|
|
645
|
+
const headers = sharedHeaders("GetDomains");
|
|
919
646
|
let body;
|
|
920
647
|
body = JSON.stringify(se_GetDomainsRequest(input, context));
|
|
921
648
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
922
649
|
};
|
|
923
650
|
exports.se_GetDomainsCommand = se_GetDomainsCommand;
|
|
924
651
|
const se_GetExportSnapshotRecordsCommand = async (input, context) => {
|
|
925
|
-
const headers =
|
|
926
|
-
"content-type": "application/x-amz-json-1.1",
|
|
927
|
-
"x-amz-target": "Lightsail_20161128.GetExportSnapshotRecords",
|
|
928
|
-
};
|
|
652
|
+
const headers = sharedHeaders("GetExportSnapshotRecords");
|
|
929
653
|
let body;
|
|
930
654
|
body = JSON.stringify(se_GetExportSnapshotRecordsRequest(input, context));
|
|
931
655
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
932
656
|
};
|
|
933
657
|
exports.se_GetExportSnapshotRecordsCommand = se_GetExportSnapshotRecordsCommand;
|
|
934
658
|
const se_GetInstanceCommand = async (input, context) => {
|
|
935
|
-
const headers =
|
|
936
|
-
"content-type": "application/x-amz-json-1.1",
|
|
937
|
-
"x-amz-target": "Lightsail_20161128.GetInstance",
|
|
938
|
-
};
|
|
659
|
+
const headers = sharedHeaders("GetInstance");
|
|
939
660
|
let body;
|
|
940
661
|
body = JSON.stringify(se_GetInstanceRequest(input, context));
|
|
941
662
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
942
663
|
};
|
|
943
664
|
exports.se_GetInstanceCommand = se_GetInstanceCommand;
|
|
944
665
|
const se_GetInstanceAccessDetailsCommand = async (input, context) => {
|
|
945
|
-
const headers =
|
|
946
|
-
"content-type": "application/x-amz-json-1.1",
|
|
947
|
-
"x-amz-target": "Lightsail_20161128.GetInstanceAccessDetails",
|
|
948
|
-
};
|
|
666
|
+
const headers = sharedHeaders("GetInstanceAccessDetails");
|
|
949
667
|
let body;
|
|
950
668
|
body = JSON.stringify(se_GetInstanceAccessDetailsRequest(input, context));
|
|
951
669
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
952
670
|
};
|
|
953
671
|
exports.se_GetInstanceAccessDetailsCommand = se_GetInstanceAccessDetailsCommand;
|
|
954
672
|
const se_GetInstanceMetricDataCommand = async (input, context) => {
|
|
955
|
-
const headers =
|
|
956
|
-
"content-type": "application/x-amz-json-1.1",
|
|
957
|
-
"x-amz-target": "Lightsail_20161128.GetInstanceMetricData",
|
|
958
|
-
};
|
|
673
|
+
const headers = sharedHeaders("GetInstanceMetricData");
|
|
959
674
|
let body;
|
|
960
675
|
body = JSON.stringify(se_GetInstanceMetricDataRequest(input, context));
|
|
961
676
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
962
677
|
};
|
|
963
678
|
exports.se_GetInstanceMetricDataCommand = se_GetInstanceMetricDataCommand;
|
|
964
679
|
const se_GetInstancePortStatesCommand = async (input, context) => {
|
|
965
|
-
const headers =
|
|
966
|
-
"content-type": "application/x-amz-json-1.1",
|
|
967
|
-
"x-amz-target": "Lightsail_20161128.GetInstancePortStates",
|
|
968
|
-
};
|
|
680
|
+
const headers = sharedHeaders("GetInstancePortStates");
|
|
969
681
|
let body;
|
|
970
682
|
body = JSON.stringify(se_GetInstancePortStatesRequest(input, context));
|
|
971
683
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
972
684
|
};
|
|
973
685
|
exports.se_GetInstancePortStatesCommand = se_GetInstancePortStatesCommand;
|
|
974
686
|
const se_GetInstancesCommand = async (input, context) => {
|
|
975
|
-
const headers =
|
|
976
|
-
"content-type": "application/x-amz-json-1.1",
|
|
977
|
-
"x-amz-target": "Lightsail_20161128.GetInstances",
|
|
978
|
-
};
|
|
687
|
+
const headers = sharedHeaders("GetInstances");
|
|
979
688
|
let body;
|
|
980
689
|
body = JSON.stringify(se_GetInstancesRequest(input, context));
|
|
981
690
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
982
691
|
};
|
|
983
692
|
exports.se_GetInstancesCommand = se_GetInstancesCommand;
|
|
984
693
|
const se_GetInstanceSnapshotCommand = async (input, context) => {
|
|
985
|
-
const headers =
|
|
986
|
-
"content-type": "application/x-amz-json-1.1",
|
|
987
|
-
"x-amz-target": "Lightsail_20161128.GetInstanceSnapshot",
|
|
988
|
-
};
|
|
694
|
+
const headers = sharedHeaders("GetInstanceSnapshot");
|
|
989
695
|
let body;
|
|
990
696
|
body = JSON.stringify(se_GetInstanceSnapshotRequest(input, context));
|
|
991
697
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
992
698
|
};
|
|
993
699
|
exports.se_GetInstanceSnapshotCommand = se_GetInstanceSnapshotCommand;
|
|
994
700
|
const se_GetInstanceSnapshotsCommand = async (input, context) => {
|
|
995
|
-
const headers =
|
|
996
|
-
"content-type": "application/x-amz-json-1.1",
|
|
997
|
-
"x-amz-target": "Lightsail_20161128.GetInstanceSnapshots",
|
|
998
|
-
};
|
|
701
|
+
const headers = sharedHeaders("GetInstanceSnapshots");
|
|
999
702
|
let body;
|
|
1000
703
|
body = JSON.stringify(se_GetInstanceSnapshotsRequest(input, context));
|
|
1001
704
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1002
705
|
};
|
|
1003
706
|
exports.se_GetInstanceSnapshotsCommand = se_GetInstanceSnapshotsCommand;
|
|
1004
707
|
const se_GetInstanceStateCommand = async (input, context) => {
|
|
1005
|
-
const headers =
|
|
1006
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1007
|
-
"x-amz-target": "Lightsail_20161128.GetInstanceState",
|
|
1008
|
-
};
|
|
708
|
+
const headers = sharedHeaders("GetInstanceState");
|
|
1009
709
|
let body;
|
|
1010
710
|
body = JSON.stringify(se_GetInstanceStateRequest(input, context));
|
|
1011
711
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1012
712
|
};
|
|
1013
713
|
exports.se_GetInstanceStateCommand = se_GetInstanceStateCommand;
|
|
1014
714
|
const se_GetKeyPairCommand = async (input, context) => {
|
|
1015
|
-
const headers =
|
|
1016
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1017
|
-
"x-amz-target": "Lightsail_20161128.GetKeyPair",
|
|
1018
|
-
};
|
|
715
|
+
const headers = sharedHeaders("GetKeyPair");
|
|
1019
716
|
let body;
|
|
1020
717
|
body = JSON.stringify(se_GetKeyPairRequest(input, context));
|
|
1021
718
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1022
719
|
};
|
|
1023
720
|
exports.se_GetKeyPairCommand = se_GetKeyPairCommand;
|
|
1024
721
|
const se_GetKeyPairsCommand = async (input, context) => {
|
|
1025
|
-
const headers =
|
|
1026
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1027
|
-
"x-amz-target": "Lightsail_20161128.GetKeyPairs",
|
|
1028
|
-
};
|
|
722
|
+
const headers = sharedHeaders("GetKeyPairs");
|
|
1029
723
|
let body;
|
|
1030
724
|
body = JSON.stringify(se_GetKeyPairsRequest(input, context));
|
|
1031
725
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1032
726
|
};
|
|
1033
727
|
exports.se_GetKeyPairsCommand = se_GetKeyPairsCommand;
|
|
1034
728
|
const se_GetLoadBalancerCommand = async (input, context) => {
|
|
1035
|
-
const headers =
|
|
1036
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1037
|
-
"x-amz-target": "Lightsail_20161128.GetLoadBalancer",
|
|
1038
|
-
};
|
|
729
|
+
const headers = sharedHeaders("GetLoadBalancer");
|
|
1039
730
|
let body;
|
|
1040
731
|
body = JSON.stringify(se_GetLoadBalancerRequest(input, context));
|
|
1041
732
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1042
733
|
};
|
|
1043
734
|
exports.se_GetLoadBalancerCommand = se_GetLoadBalancerCommand;
|
|
1044
735
|
const se_GetLoadBalancerMetricDataCommand = async (input, context) => {
|
|
1045
|
-
const headers =
|
|
1046
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1047
|
-
"x-amz-target": "Lightsail_20161128.GetLoadBalancerMetricData",
|
|
1048
|
-
};
|
|
736
|
+
const headers = sharedHeaders("GetLoadBalancerMetricData");
|
|
1049
737
|
let body;
|
|
1050
738
|
body = JSON.stringify(se_GetLoadBalancerMetricDataRequest(input, context));
|
|
1051
739
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1052
740
|
};
|
|
1053
741
|
exports.se_GetLoadBalancerMetricDataCommand = se_GetLoadBalancerMetricDataCommand;
|
|
1054
742
|
const se_GetLoadBalancersCommand = async (input, context) => {
|
|
1055
|
-
const headers =
|
|
1056
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1057
|
-
"x-amz-target": "Lightsail_20161128.GetLoadBalancers",
|
|
1058
|
-
};
|
|
743
|
+
const headers = sharedHeaders("GetLoadBalancers");
|
|
1059
744
|
let body;
|
|
1060
745
|
body = JSON.stringify(se_GetLoadBalancersRequest(input, context));
|
|
1061
746
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1062
747
|
};
|
|
1063
748
|
exports.se_GetLoadBalancersCommand = se_GetLoadBalancersCommand;
|
|
1064
749
|
const se_GetLoadBalancerTlsCertificatesCommand = async (input, context) => {
|
|
1065
|
-
const headers =
|
|
1066
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1067
|
-
"x-amz-target": "Lightsail_20161128.GetLoadBalancerTlsCertificates",
|
|
1068
|
-
};
|
|
750
|
+
const headers = sharedHeaders("GetLoadBalancerTlsCertificates");
|
|
1069
751
|
let body;
|
|
1070
752
|
body = JSON.stringify(se_GetLoadBalancerTlsCertificatesRequest(input, context));
|
|
1071
753
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1072
754
|
};
|
|
1073
755
|
exports.se_GetLoadBalancerTlsCertificatesCommand = se_GetLoadBalancerTlsCertificatesCommand;
|
|
1074
756
|
const se_GetLoadBalancerTlsPoliciesCommand = async (input, context) => {
|
|
1075
|
-
const headers =
|
|
1076
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1077
|
-
"x-amz-target": "Lightsail_20161128.GetLoadBalancerTlsPolicies",
|
|
1078
|
-
};
|
|
757
|
+
const headers = sharedHeaders("GetLoadBalancerTlsPolicies");
|
|
1079
758
|
let body;
|
|
1080
759
|
body = JSON.stringify(se_GetLoadBalancerTlsPoliciesRequest(input, context));
|
|
1081
760
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1082
761
|
};
|
|
1083
762
|
exports.se_GetLoadBalancerTlsPoliciesCommand = se_GetLoadBalancerTlsPoliciesCommand;
|
|
1084
763
|
const se_GetOperationCommand = async (input, context) => {
|
|
1085
|
-
const headers =
|
|
1086
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1087
|
-
"x-amz-target": "Lightsail_20161128.GetOperation",
|
|
1088
|
-
};
|
|
764
|
+
const headers = sharedHeaders("GetOperation");
|
|
1089
765
|
let body;
|
|
1090
766
|
body = JSON.stringify(se_GetOperationRequest(input, context));
|
|
1091
767
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1092
768
|
};
|
|
1093
769
|
exports.se_GetOperationCommand = se_GetOperationCommand;
|
|
1094
770
|
const se_GetOperationsCommand = async (input, context) => {
|
|
1095
|
-
const headers =
|
|
1096
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1097
|
-
"x-amz-target": "Lightsail_20161128.GetOperations",
|
|
1098
|
-
};
|
|
771
|
+
const headers = sharedHeaders("GetOperations");
|
|
1099
772
|
let body;
|
|
1100
773
|
body = JSON.stringify(se_GetOperationsRequest(input, context));
|
|
1101
774
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1102
775
|
};
|
|
1103
776
|
exports.se_GetOperationsCommand = se_GetOperationsCommand;
|
|
1104
777
|
const se_GetOperationsForResourceCommand = async (input, context) => {
|
|
1105
|
-
const headers =
|
|
1106
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1107
|
-
"x-amz-target": "Lightsail_20161128.GetOperationsForResource",
|
|
1108
|
-
};
|
|
778
|
+
const headers = sharedHeaders("GetOperationsForResource");
|
|
1109
779
|
let body;
|
|
1110
780
|
body = JSON.stringify(se_GetOperationsForResourceRequest(input, context));
|
|
1111
781
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1112
782
|
};
|
|
1113
783
|
exports.se_GetOperationsForResourceCommand = se_GetOperationsForResourceCommand;
|
|
1114
784
|
const se_GetRegionsCommand = async (input, context) => {
|
|
1115
|
-
const headers =
|
|
1116
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1117
|
-
"x-amz-target": "Lightsail_20161128.GetRegions",
|
|
1118
|
-
};
|
|
785
|
+
const headers = sharedHeaders("GetRegions");
|
|
1119
786
|
let body;
|
|
1120
787
|
body = JSON.stringify(se_GetRegionsRequest(input, context));
|
|
1121
788
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1122
789
|
};
|
|
1123
790
|
exports.se_GetRegionsCommand = se_GetRegionsCommand;
|
|
1124
791
|
const se_GetRelationalDatabaseCommand = async (input, context) => {
|
|
1125
|
-
const headers =
|
|
1126
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1127
|
-
"x-amz-target": "Lightsail_20161128.GetRelationalDatabase",
|
|
1128
|
-
};
|
|
792
|
+
const headers = sharedHeaders("GetRelationalDatabase");
|
|
1129
793
|
let body;
|
|
1130
794
|
body = JSON.stringify(se_GetRelationalDatabaseRequest(input, context));
|
|
1131
795
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1132
796
|
};
|
|
1133
797
|
exports.se_GetRelationalDatabaseCommand = se_GetRelationalDatabaseCommand;
|
|
1134
798
|
const se_GetRelationalDatabaseBlueprintsCommand = async (input, context) => {
|
|
1135
|
-
const headers =
|
|
1136
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1137
|
-
"x-amz-target": "Lightsail_20161128.GetRelationalDatabaseBlueprints",
|
|
1138
|
-
};
|
|
799
|
+
const headers = sharedHeaders("GetRelationalDatabaseBlueprints");
|
|
1139
800
|
let body;
|
|
1140
801
|
body = JSON.stringify(se_GetRelationalDatabaseBlueprintsRequest(input, context));
|
|
1141
802
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1142
803
|
};
|
|
1143
804
|
exports.se_GetRelationalDatabaseBlueprintsCommand = se_GetRelationalDatabaseBlueprintsCommand;
|
|
1144
805
|
const se_GetRelationalDatabaseBundlesCommand = async (input, context) => {
|
|
1145
|
-
const headers =
|
|
1146
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1147
|
-
"x-amz-target": "Lightsail_20161128.GetRelationalDatabaseBundles",
|
|
1148
|
-
};
|
|
806
|
+
const headers = sharedHeaders("GetRelationalDatabaseBundles");
|
|
1149
807
|
let body;
|
|
1150
808
|
body = JSON.stringify(se_GetRelationalDatabaseBundlesRequest(input, context));
|
|
1151
809
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1152
810
|
};
|
|
1153
811
|
exports.se_GetRelationalDatabaseBundlesCommand = se_GetRelationalDatabaseBundlesCommand;
|
|
1154
812
|
const se_GetRelationalDatabaseEventsCommand = async (input, context) => {
|
|
1155
|
-
const headers =
|
|
1156
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1157
|
-
"x-amz-target": "Lightsail_20161128.GetRelationalDatabaseEvents",
|
|
1158
|
-
};
|
|
813
|
+
const headers = sharedHeaders("GetRelationalDatabaseEvents");
|
|
1159
814
|
let body;
|
|
1160
815
|
body = JSON.stringify(se_GetRelationalDatabaseEventsRequest(input, context));
|
|
1161
816
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1162
817
|
};
|
|
1163
818
|
exports.se_GetRelationalDatabaseEventsCommand = se_GetRelationalDatabaseEventsCommand;
|
|
1164
819
|
const se_GetRelationalDatabaseLogEventsCommand = async (input, context) => {
|
|
1165
|
-
const headers =
|
|
1166
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1167
|
-
"x-amz-target": "Lightsail_20161128.GetRelationalDatabaseLogEvents",
|
|
1168
|
-
};
|
|
820
|
+
const headers = sharedHeaders("GetRelationalDatabaseLogEvents");
|
|
1169
821
|
let body;
|
|
1170
822
|
body = JSON.stringify(se_GetRelationalDatabaseLogEventsRequest(input, context));
|
|
1171
823
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1172
824
|
};
|
|
1173
825
|
exports.se_GetRelationalDatabaseLogEventsCommand = se_GetRelationalDatabaseLogEventsCommand;
|
|
1174
826
|
const se_GetRelationalDatabaseLogStreamsCommand = async (input, context) => {
|
|
1175
|
-
const headers =
|
|
1176
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1177
|
-
"x-amz-target": "Lightsail_20161128.GetRelationalDatabaseLogStreams",
|
|
1178
|
-
};
|
|
827
|
+
const headers = sharedHeaders("GetRelationalDatabaseLogStreams");
|
|
1179
828
|
let body;
|
|
1180
829
|
body = JSON.stringify(se_GetRelationalDatabaseLogStreamsRequest(input, context));
|
|
1181
830
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1182
831
|
};
|
|
1183
832
|
exports.se_GetRelationalDatabaseLogStreamsCommand = se_GetRelationalDatabaseLogStreamsCommand;
|
|
1184
833
|
const se_GetRelationalDatabaseMasterUserPasswordCommand = async (input, context) => {
|
|
1185
|
-
const headers =
|
|
1186
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1187
|
-
"x-amz-target": "Lightsail_20161128.GetRelationalDatabaseMasterUserPassword",
|
|
1188
|
-
};
|
|
834
|
+
const headers = sharedHeaders("GetRelationalDatabaseMasterUserPassword");
|
|
1189
835
|
let body;
|
|
1190
836
|
body = JSON.stringify(se_GetRelationalDatabaseMasterUserPasswordRequest(input, context));
|
|
1191
837
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1192
838
|
};
|
|
1193
839
|
exports.se_GetRelationalDatabaseMasterUserPasswordCommand = se_GetRelationalDatabaseMasterUserPasswordCommand;
|
|
1194
840
|
const se_GetRelationalDatabaseMetricDataCommand = async (input, context) => {
|
|
1195
|
-
const headers =
|
|
1196
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1197
|
-
"x-amz-target": "Lightsail_20161128.GetRelationalDatabaseMetricData",
|
|
1198
|
-
};
|
|
841
|
+
const headers = sharedHeaders("GetRelationalDatabaseMetricData");
|
|
1199
842
|
let body;
|
|
1200
843
|
body = JSON.stringify(se_GetRelationalDatabaseMetricDataRequest(input, context));
|
|
1201
844
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1202
845
|
};
|
|
1203
846
|
exports.se_GetRelationalDatabaseMetricDataCommand = se_GetRelationalDatabaseMetricDataCommand;
|
|
1204
847
|
const se_GetRelationalDatabaseParametersCommand = async (input, context) => {
|
|
1205
|
-
const headers =
|
|
1206
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1207
|
-
"x-amz-target": "Lightsail_20161128.GetRelationalDatabaseParameters",
|
|
1208
|
-
};
|
|
848
|
+
const headers = sharedHeaders("GetRelationalDatabaseParameters");
|
|
1209
849
|
let body;
|
|
1210
850
|
body = JSON.stringify(se_GetRelationalDatabaseParametersRequest(input, context));
|
|
1211
851
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1212
852
|
};
|
|
1213
853
|
exports.se_GetRelationalDatabaseParametersCommand = se_GetRelationalDatabaseParametersCommand;
|
|
1214
854
|
const se_GetRelationalDatabasesCommand = async (input, context) => {
|
|
1215
|
-
const headers =
|
|
1216
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1217
|
-
"x-amz-target": "Lightsail_20161128.GetRelationalDatabases",
|
|
1218
|
-
};
|
|
855
|
+
const headers = sharedHeaders("GetRelationalDatabases");
|
|
1219
856
|
let body;
|
|
1220
857
|
body = JSON.stringify(se_GetRelationalDatabasesRequest(input, context));
|
|
1221
858
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1222
859
|
};
|
|
1223
860
|
exports.se_GetRelationalDatabasesCommand = se_GetRelationalDatabasesCommand;
|
|
1224
861
|
const se_GetRelationalDatabaseSnapshotCommand = async (input, context) => {
|
|
1225
|
-
const headers =
|
|
1226
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1227
|
-
"x-amz-target": "Lightsail_20161128.GetRelationalDatabaseSnapshot",
|
|
1228
|
-
};
|
|
862
|
+
const headers = sharedHeaders("GetRelationalDatabaseSnapshot");
|
|
1229
863
|
let body;
|
|
1230
864
|
body = JSON.stringify(se_GetRelationalDatabaseSnapshotRequest(input, context));
|
|
1231
865
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1232
866
|
};
|
|
1233
867
|
exports.se_GetRelationalDatabaseSnapshotCommand = se_GetRelationalDatabaseSnapshotCommand;
|
|
1234
868
|
const se_GetRelationalDatabaseSnapshotsCommand = async (input, context) => {
|
|
1235
|
-
const headers =
|
|
1236
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1237
|
-
"x-amz-target": "Lightsail_20161128.GetRelationalDatabaseSnapshots",
|
|
1238
|
-
};
|
|
869
|
+
const headers = sharedHeaders("GetRelationalDatabaseSnapshots");
|
|
1239
870
|
let body;
|
|
1240
871
|
body = JSON.stringify(se_GetRelationalDatabaseSnapshotsRequest(input, context));
|
|
1241
872
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1242
873
|
};
|
|
1243
874
|
exports.se_GetRelationalDatabaseSnapshotsCommand = se_GetRelationalDatabaseSnapshotsCommand;
|
|
1244
875
|
const se_GetStaticIpCommand = async (input, context) => {
|
|
1245
|
-
const headers =
|
|
1246
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1247
|
-
"x-amz-target": "Lightsail_20161128.GetStaticIp",
|
|
1248
|
-
};
|
|
876
|
+
const headers = sharedHeaders("GetStaticIp");
|
|
1249
877
|
let body;
|
|
1250
878
|
body = JSON.stringify(se_GetStaticIpRequest(input, context));
|
|
1251
879
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1252
880
|
};
|
|
1253
881
|
exports.se_GetStaticIpCommand = se_GetStaticIpCommand;
|
|
1254
882
|
const se_GetStaticIpsCommand = async (input, context) => {
|
|
1255
|
-
const headers =
|
|
1256
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1257
|
-
"x-amz-target": "Lightsail_20161128.GetStaticIps",
|
|
1258
|
-
};
|
|
883
|
+
const headers = sharedHeaders("GetStaticIps");
|
|
1259
884
|
let body;
|
|
1260
885
|
body = JSON.stringify(se_GetStaticIpsRequest(input, context));
|
|
1261
886
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1262
887
|
};
|
|
1263
888
|
exports.se_GetStaticIpsCommand = se_GetStaticIpsCommand;
|
|
1264
889
|
const se_ImportKeyPairCommand = async (input, context) => {
|
|
1265
|
-
const headers =
|
|
1266
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1267
|
-
"x-amz-target": "Lightsail_20161128.ImportKeyPair",
|
|
1268
|
-
};
|
|
890
|
+
const headers = sharedHeaders("ImportKeyPair");
|
|
1269
891
|
let body;
|
|
1270
892
|
body = JSON.stringify(se_ImportKeyPairRequest(input, context));
|
|
1271
893
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1272
894
|
};
|
|
1273
895
|
exports.se_ImportKeyPairCommand = se_ImportKeyPairCommand;
|
|
1274
896
|
const se_IsVpcPeeredCommand = async (input, context) => {
|
|
1275
|
-
const headers =
|
|
1276
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1277
|
-
"x-amz-target": "Lightsail_20161128.IsVpcPeered",
|
|
1278
|
-
};
|
|
897
|
+
const headers = sharedHeaders("IsVpcPeered");
|
|
1279
898
|
let body;
|
|
1280
899
|
body = JSON.stringify(se_IsVpcPeeredRequest(input, context));
|
|
1281
900
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1282
901
|
};
|
|
1283
902
|
exports.se_IsVpcPeeredCommand = se_IsVpcPeeredCommand;
|
|
1284
903
|
const se_OpenInstancePublicPortsCommand = async (input, context) => {
|
|
1285
|
-
const headers =
|
|
1286
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1287
|
-
"x-amz-target": "Lightsail_20161128.OpenInstancePublicPorts",
|
|
1288
|
-
};
|
|
904
|
+
const headers = sharedHeaders("OpenInstancePublicPorts");
|
|
1289
905
|
let body;
|
|
1290
906
|
body = JSON.stringify(se_OpenInstancePublicPortsRequest(input, context));
|
|
1291
907
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1292
908
|
};
|
|
1293
909
|
exports.se_OpenInstancePublicPortsCommand = se_OpenInstancePublicPortsCommand;
|
|
1294
910
|
const se_PeerVpcCommand = async (input, context) => {
|
|
1295
|
-
const headers =
|
|
1296
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1297
|
-
"x-amz-target": "Lightsail_20161128.PeerVpc",
|
|
1298
|
-
};
|
|
911
|
+
const headers = sharedHeaders("PeerVpc");
|
|
1299
912
|
let body;
|
|
1300
913
|
body = JSON.stringify(se_PeerVpcRequest(input, context));
|
|
1301
914
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1302
915
|
};
|
|
1303
916
|
exports.se_PeerVpcCommand = se_PeerVpcCommand;
|
|
1304
917
|
const se_PutAlarmCommand = async (input, context) => {
|
|
1305
|
-
const headers =
|
|
1306
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1307
|
-
"x-amz-target": "Lightsail_20161128.PutAlarm",
|
|
1308
|
-
};
|
|
918
|
+
const headers = sharedHeaders("PutAlarm");
|
|
1309
919
|
let body;
|
|
1310
920
|
body = JSON.stringify(se_PutAlarmRequest(input, context));
|
|
1311
921
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1312
922
|
};
|
|
1313
923
|
exports.se_PutAlarmCommand = se_PutAlarmCommand;
|
|
1314
924
|
const se_PutInstancePublicPortsCommand = async (input, context) => {
|
|
1315
|
-
const headers =
|
|
1316
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1317
|
-
"x-amz-target": "Lightsail_20161128.PutInstancePublicPorts",
|
|
1318
|
-
};
|
|
925
|
+
const headers = sharedHeaders("PutInstancePublicPorts");
|
|
1319
926
|
let body;
|
|
1320
927
|
body = JSON.stringify(se_PutInstancePublicPortsRequest(input, context));
|
|
1321
928
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1322
929
|
};
|
|
1323
930
|
exports.se_PutInstancePublicPortsCommand = se_PutInstancePublicPortsCommand;
|
|
1324
931
|
const se_RebootInstanceCommand = async (input, context) => {
|
|
1325
|
-
const headers =
|
|
1326
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1327
|
-
"x-amz-target": "Lightsail_20161128.RebootInstance",
|
|
1328
|
-
};
|
|
932
|
+
const headers = sharedHeaders("RebootInstance");
|
|
1329
933
|
let body;
|
|
1330
934
|
body = JSON.stringify(se_RebootInstanceRequest(input, context));
|
|
1331
935
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1332
936
|
};
|
|
1333
937
|
exports.se_RebootInstanceCommand = se_RebootInstanceCommand;
|
|
1334
938
|
const se_RebootRelationalDatabaseCommand = async (input, context) => {
|
|
1335
|
-
const headers =
|
|
1336
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1337
|
-
"x-amz-target": "Lightsail_20161128.RebootRelationalDatabase",
|
|
1338
|
-
};
|
|
939
|
+
const headers = sharedHeaders("RebootRelationalDatabase");
|
|
1339
940
|
let body;
|
|
1340
941
|
body = JSON.stringify(se_RebootRelationalDatabaseRequest(input, context));
|
|
1341
942
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1342
943
|
};
|
|
1343
944
|
exports.se_RebootRelationalDatabaseCommand = se_RebootRelationalDatabaseCommand;
|
|
1344
945
|
const se_RegisterContainerImageCommand = async (input, context) => {
|
|
1345
|
-
const headers =
|
|
1346
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1347
|
-
"x-amz-target": "Lightsail_20161128.RegisterContainerImage",
|
|
1348
|
-
};
|
|
946
|
+
const headers = sharedHeaders("RegisterContainerImage");
|
|
1349
947
|
let body;
|
|
1350
948
|
body = JSON.stringify(se_RegisterContainerImageRequest(input, context));
|
|
1351
949
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1352
950
|
};
|
|
1353
951
|
exports.se_RegisterContainerImageCommand = se_RegisterContainerImageCommand;
|
|
1354
952
|
const se_ReleaseStaticIpCommand = async (input, context) => {
|
|
1355
|
-
const headers =
|
|
1356
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1357
|
-
"x-amz-target": "Lightsail_20161128.ReleaseStaticIp",
|
|
1358
|
-
};
|
|
953
|
+
const headers = sharedHeaders("ReleaseStaticIp");
|
|
1359
954
|
let body;
|
|
1360
955
|
body = JSON.stringify(se_ReleaseStaticIpRequest(input, context));
|
|
1361
956
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1362
957
|
};
|
|
1363
958
|
exports.se_ReleaseStaticIpCommand = se_ReleaseStaticIpCommand;
|
|
1364
959
|
const se_ResetDistributionCacheCommand = async (input, context) => {
|
|
1365
|
-
const headers =
|
|
1366
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1367
|
-
"x-amz-target": "Lightsail_20161128.ResetDistributionCache",
|
|
1368
|
-
};
|
|
960
|
+
const headers = sharedHeaders("ResetDistributionCache");
|
|
1369
961
|
let body;
|
|
1370
962
|
body = JSON.stringify(se_ResetDistributionCacheRequest(input, context));
|
|
1371
963
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1372
964
|
};
|
|
1373
965
|
exports.se_ResetDistributionCacheCommand = se_ResetDistributionCacheCommand;
|
|
1374
966
|
const se_SendContactMethodVerificationCommand = async (input, context) => {
|
|
1375
|
-
const headers =
|
|
1376
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1377
|
-
"x-amz-target": "Lightsail_20161128.SendContactMethodVerification",
|
|
1378
|
-
};
|
|
967
|
+
const headers = sharedHeaders("SendContactMethodVerification");
|
|
1379
968
|
let body;
|
|
1380
969
|
body = JSON.stringify(se_SendContactMethodVerificationRequest(input, context));
|
|
1381
970
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1382
971
|
};
|
|
1383
972
|
exports.se_SendContactMethodVerificationCommand = se_SendContactMethodVerificationCommand;
|
|
1384
973
|
const se_SetIpAddressTypeCommand = async (input, context) => {
|
|
1385
|
-
const headers =
|
|
1386
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1387
|
-
"x-amz-target": "Lightsail_20161128.SetIpAddressType",
|
|
1388
|
-
};
|
|
974
|
+
const headers = sharedHeaders("SetIpAddressType");
|
|
1389
975
|
let body;
|
|
1390
976
|
body = JSON.stringify(se_SetIpAddressTypeRequest(input, context));
|
|
1391
977
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1392
978
|
};
|
|
1393
979
|
exports.se_SetIpAddressTypeCommand = se_SetIpAddressTypeCommand;
|
|
1394
980
|
const se_SetResourceAccessForBucketCommand = async (input, context) => {
|
|
1395
|
-
const headers =
|
|
1396
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1397
|
-
"x-amz-target": "Lightsail_20161128.SetResourceAccessForBucket",
|
|
1398
|
-
};
|
|
981
|
+
const headers = sharedHeaders("SetResourceAccessForBucket");
|
|
1399
982
|
let body;
|
|
1400
983
|
body = JSON.stringify(se_SetResourceAccessForBucketRequest(input, context));
|
|
1401
984
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1402
985
|
};
|
|
1403
986
|
exports.se_SetResourceAccessForBucketCommand = se_SetResourceAccessForBucketCommand;
|
|
1404
987
|
const se_StartGUISessionCommand = async (input, context) => {
|
|
1405
|
-
const headers =
|
|
1406
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1407
|
-
"x-amz-target": "Lightsail_20161128.StartGUISession",
|
|
1408
|
-
};
|
|
988
|
+
const headers = sharedHeaders("StartGUISession");
|
|
1409
989
|
let body;
|
|
1410
990
|
body = JSON.stringify(se_StartGUISessionRequest(input, context));
|
|
1411
991
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1412
992
|
};
|
|
1413
993
|
exports.se_StartGUISessionCommand = se_StartGUISessionCommand;
|
|
1414
994
|
const se_StartInstanceCommand = async (input, context) => {
|
|
1415
|
-
const headers =
|
|
1416
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1417
|
-
"x-amz-target": "Lightsail_20161128.StartInstance",
|
|
1418
|
-
};
|
|
995
|
+
const headers = sharedHeaders("StartInstance");
|
|
1419
996
|
let body;
|
|
1420
997
|
body = JSON.stringify(se_StartInstanceRequest(input, context));
|
|
1421
998
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1422
999
|
};
|
|
1423
1000
|
exports.se_StartInstanceCommand = se_StartInstanceCommand;
|
|
1424
1001
|
const se_StartRelationalDatabaseCommand = async (input, context) => {
|
|
1425
|
-
const headers =
|
|
1426
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1427
|
-
"x-amz-target": "Lightsail_20161128.StartRelationalDatabase",
|
|
1428
|
-
};
|
|
1002
|
+
const headers = sharedHeaders("StartRelationalDatabase");
|
|
1429
1003
|
let body;
|
|
1430
1004
|
body = JSON.stringify(se_StartRelationalDatabaseRequest(input, context));
|
|
1431
1005
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1432
1006
|
};
|
|
1433
1007
|
exports.se_StartRelationalDatabaseCommand = se_StartRelationalDatabaseCommand;
|
|
1434
1008
|
const se_StopGUISessionCommand = async (input, context) => {
|
|
1435
|
-
const headers =
|
|
1436
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1437
|
-
"x-amz-target": "Lightsail_20161128.StopGUISession",
|
|
1438
|
-
};
|
|
1009
|
+
const headers = sharedHeaders("StopGUISession");
|
|
1439
1010
|
let body;
|
|
1440
1011
|
body = JSON.stringify(se_StopGUISessionRequest(input, context));
|
|
1441
1012
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1442
1013
|
};
|
|
1443
1014
|
exports.se_StopGUISessionCommand = se_StopGUISessionCommand;
|
|
1444
1015
|
const se_StopInstanceCommand = async (input, context) => {
|
|
1445
|
-
const headers =
|
|
1446
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1447
|
-
"x-amz-target": "Lightsail_20161128.StopInstance",
|
|
1448
|
-
};
|
|
1016
|
+
const headers = sharedHeaders("StopInstance");
|
|
1449
1017
|
let body;
|
|
1450
1018
|
body = JSON.stringify(se_StopInstanceRequest(input, context));
|
|
1451
1019
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1452
1020
|
};
|
|
1453
1021
|
exports.se_StopInstanceCommand = se_StopInstanceCommand;
|
|
1454
1022
|
const se_StopRelationalDatabaseCommand = async (input, context) => {
|
|
1455
|
-
const headers =
|
|
1456
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1457
|
-
"x-amz-target": "Lightsail_20161128.StopRelationalDatabase",
|
|
1458
|
-
};
|
|
1023
|
+
const headers = sharedHeaders("StopRelationalDatabase");
|
|
1459
1024
|
let body;
|
|
1460
1025
|
body = JSON.stringify(se_StopRelationalDatabaseRequest(input, context));
|
|
1461
1026
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1462
1027
|
};
|
|
1463
1028
|
exports.se_StopRelationalDatabaseCommand = se_StopRelationalDatabaseCommand;
|
|
1464
1029
|
const se_TagResourceCommand = async (input, context) => {
|
|
1465
|
-
const headers =
|
|
1466
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1467
|
-
"x-amz-target": "Lightsail_20161128.TagResource",
|
|
1468
|
-
};
|
|
1030
|
+
const headers = sharedHeaders("TagResource");
|
|
1469
1031
|
let body;
|
|
1470
1032
|
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
1471
1033
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1472
1034
|
};
|
|
1473
1035
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
1474
1036
|
const se_TestAlarmCommand = async (input, context) => {
|
|
1475
|
-
const headers =
|
|
1476
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1477
|
-
"x-amz-target": "Lightsail_20161128.TestAlarm",
|
|
1478
|
-
};
|
|
1037
|
+
const headers = sharedHeaders("TestAlarm");
|
|
1479
1038
|
let body;
|
|
1480
1039
|
body = JSON.stringify(se_TestAlarmRequest(input, context));
|
|
1481
1040
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1482
1041
|
};
|
|
1483
1042
|
exports.se_TestAlarmCommand = se_TestAlarmCommand;
|
|
1484
1043
|
const se_UnpeerVpcCommand = async (input, context) => {
|
|
1485
|
-
const headers =
|
|
1486
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1487
|
-
"x-amz-target": "Lightsail_20161128.UnpeerVpc",
|
|
1488
|
-
};
|
|
1044
|
+
const headers = sharedHeaders("UnpeerVpc");
|
|
1489
1045
|
let body;
|
|
1490
1046
|
body = JSON.stringify(se_UnpeerVpcRequest(input, context));
|
|
1491
1047
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1492
1048
|
};
|
|
1493
1049
|
exports.se_UnpeerVpcCommand = se_UnpeerVpcCommand;
|
|
1494
1050
|
const se_UntagResourceCommand = async (input, context) => {
|
|
1495
|
-
const headers =
|
|
1496
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1497
|
-
"x-amz-target": "Lightsail_20161128.UntagResource",
|
|
1498
|
-
};
|
|
1051
|
+
const headers = sharedHeaders("UntagResource");
|
|
1499
1052
|
let body;
|
|
1500
1053
|
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
1501
1054
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1502
1055
|
};
|
|
1503
1056
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
1504
1057
|
const se_UpdateBucketCommand = async (input, context) => {
|
|
1505
|
-
const headers =
|
|
1506
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1507
|
-
"x-amz-target": "Lightsail_20161128.UpdateBucket",
|
|
1508
|
-
};
|
|
1058
|
+
const headers = sharedHeaders("UpdateBucket");
|
|
1509
1059
|
let body;
|
|
1510
1060
|
body = JSON.stringify(se_UpdateBucketRequest(input, context));
|
|
1511
1061
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1512
1062
|
};
|
|
1513
1063
|
exports.se_UpdateBucketCommand = se_UpdateBucketCommand;
|
|
1514
1064
|
const se_UpdateBucketBundleCommand = async (input, context) => {
|
|
1515
|
-
const headers =
|
|
1516
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1517
|
-
"x-amz-target": "Lightsail_20161128.UpdateBucketBundle",
|
|
1518
|
-
};
|
|
1065
|
+
const headers = sharedHeaders("UpdateBucketBundle");
|
|
1519
1066
|
let body;
|
|
1520
1067
|
body = JSON.stringify(se_UpdateBucketBundleRequest(input, context));
|
|
1521
1068
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1522
1069
|
};
|
|
1523
1070
|
exports.se_UpdateBucketBundleCommand = se_UpdateBucketBundleCommand;
|
|
1524
1071
|
const se_UpdateContainerServiceCommand = async (input, context) => {
|
|
1525
|
-
const headers =
|
|
1526
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1527
|
-
"x-amz-target": "Lightsail_20161128.UpdateContainerService",
|
|
1528
|
-
};
|
|
1072
|
+
const headers = sharedHeaders("UpdateContainerService");
|
|
1529
1073
|
let body;
|
|
1530
1074
|
body = JSON.stringify(se_UpdateContainerServiceRequest(input, context));
|
|
1531
1075
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1532
1076
|
};
|
|
1533
1077
|
exports.se_UpdateContainerServiceCommand = se_UpdateContainerServiceCommand;
|
|
1534
1078
|
const se_UpdateDistributionCommand = async (input, context) => {
|
|
1535
|
-
const headers =
|
|
1536
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1537
|
-
"x-amz-target": "Lightsail_20161128.UpdateDistribution",
|
|
1538
|
-
};
|
|
1079
|
+
const headers = sharedHeaders("UpdateDistribution");
|
|
1539
1080
|
let body;
|
|
1540
1081
|
body = JSON.stringify(se_UpdateDistributionRequest(input, context));
|
|
1541
1082
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1542
1083
|
};
|
|
1543
1084
|
exports.se_UpdateDistributionCommand = se_UpdateDistributionCommand;
|
|
1544
1085
|
const se_UpdateDistributionBundleCommand = async (input, context) => {
|
|
1545
|
-
const headers =
|
|
1546
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1547
|
-
"x-amz-target": "Lightsail_20161128.UpdateDistributionBundle",
|
|
1548
|
-
};
|
|
1086
|
+
const headers = sharedHeaders("UpdateDistributionBundle");
|
|
1549
1087
|
let body;
|
|
1550
1088
|
body = JSON.stringify(se_UpdateDistributionBundleRequest(input, context));
|
|
1551
1089
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1552
1090
|
};
|
|
1553
1091
|
exports.se_UpdateDistributionBundleCommand = se_UpdateDistributionBundleCommand;
|
|
1554
1092
|
const se_UpdateDomainEntryCommand = async (input, context) => {
|
|
1555
|
-
const headers =
|
|
1556
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1557
|
-
"x-amz-target": "Lightsail_20161128.UpdateDomainEntry",
|
|
1558
|
-
};
|
|
1093
|
+
const headers = sharedHeaders("UpdateDomainEntry");
|
|
1559
1094
|
let body;
|
|
1560
1095
|
body = JSON.stringify(se_UpdateDomainEntryRequest(input, context));
|
|
1561
1096
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1562
1097
|
};
|
|
1563
1098
|
exports.se_UpdateDomainEntryCommand = se_UpdateDomainEntryCommand;
|
|
1564
1099
|
const se_UpdateInstanceMetadataOptionsCommand = async (input, context) => {
|
|
1565
|
-
const headers =
|
|
1566
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1567
|
-
"x-amz-target": "Lightsail_20161128.UpdateInstanceMetadataOptions",
|
|
1568
|
-
};
|
|
1100
|
+
const headers = sharedHeaders("UpdateInstanceMetadataOptions");
|
|
1569
1101
|
let body;
|
|
1570
1102
|
body = JSON.stringify(se_UpdateInstanceMetadataOptionsRequest(input, context));
|
|
1571
1103
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1572
1104
|
};
|
|
1573
1105
|
exports.se_UpdateInstanceMetadataOptionsCommand = se_UpdateInstanceMetadataOptionsCommand;
|
|
1574
1106
|
const se_UpdateLoadBalancerAttributeCommand = async (input, context) => {
|
|
1575
|
-
const headers =
|
|
1576
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1577
|
-
"x-amz-target": "Lightsail_20161128.UpdateLoadBalancerAttribute",
|
|
1578
|
-
};
|
|
1107
|
+
const headers = sharedHeaders("UpdateLoadBalancerAttribute");
|
|
1579
1108
|
let body;
|
|
1580
1109
|
body = JSON.stringify(se_UpdateLoadBalancerAttributeRequest(input, context));
|
|
1581
1110
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1582
1111
|
};
|
|
1583
1112
|
exports.se_UpdateLoadBalancerAttributeCommand = se_UpdateLoadBalancerAttributeCommand;
|
|
1584
1113
|
const se_UpdateRelationalDatabaseCommand = async (input, context) => {
|
|
1585
|
-
const headers =
|
|
1586
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1587
|
-
"x-amz-target": "Lightsail_20161128.UpdateRelationalDatabase",
|
|
1588
|
-
};
|
|
1114
|
+
const headers = sharedHeaders("UpdateRelationalDatabase");
|
|
1589
1115
|
let body;
|
|
1590
1116
|
body = JSON.stringify(se_UpdateRelationalDatabaseRequest(input, context));
|
|
1591
1117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1592
1118
|
};
|
|
1593
1119
|
exports.se_UpdateRelationalDatabaseCommand = se_UpdateRelationalDatabaseCommand;
|
|
1594
1120
|
const se_UpdateRelationalDatabaseParametersCommand = async (input, context) => {
|
|
1595
|
-
const headers =
|
|
1596
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1597
|
-
"x-amz-target": "Lightsail_20161128.UpdateRelationalDatabaseParameters",
|
|
1598
|
-
};
|
|
1121
|
+
const headers = sharedHeaders("UpdateRelationalDatabaseParameters");
|
|
1599
1122
|
let body;
|
|
1600
1123
|
body = JSON.stringify(se_UpdateRelationalDatabaseParametersRequest(input, context));
|
|
1601
1124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -14030,6 +13553,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
14030
13553
|
}
|
|
14031
13554
|
return new protocol_http_1.HttpRequest(contents);
|
|
14032
13555
|
};
|
|
13556
|
+
function sharedHeaders(operation) {
|
|
13557
|
+
return {
|
|
13558
|
+
"content-type": "application/x-amz-json-1.1",
|
|
13559
|
+
"x-amz-target": `Lightsail_20161128.${operation}`,
|
|
13560
|
+
};
|
|
13561
|
+
}
|
|
14033
13562
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
14034
13563
|
if (encoded.length) {
|
|
14035
13564
|
return JSON.parse(encoded);
|