@aws-sdk/client-bcm-data-exports 3.926.0 → 3.928.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/index.js +361 -508
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/BCMDataExportsClient.js +2 -0
- package/dist-es/commands/CreateExportCommand.js +3 -9
- package/dist-es/commands/DeleteExportCommand.js +3 -9
- package/dist-es/commands/GetExecutionCommand.js +3 -9
- package/dist-es/commands/GetExportCommand.js +3 -9
- package/dist-es/commands/GetTableCommand.js +3 -9
- package/dist-es/commands/ListExecutionsCommand.js +3 -9
- package/dist-es/commands/ListExportsCommand.js +3 -9
- package/dist-es/commands/ListTablesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateExportCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +325 -0
- package/dist-types/BCMDataExportsClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +70 -0
- package/dist-types/ts3.4/BCMDataExportsClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +76 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -413
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -110
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -149
|
@@ -1,413 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { BCMDataExportsServiceException as __BaseException } from "../models/BCMDataExportsServiceException";
|
|
5
|
-
import { InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
|
-
export const se_CreateExportCommand = async (input, context) => {
|
|
7
|
-
const headers = sharedHeaders("CreateExport");
|
|
8
|
-
let body;
|
|
9
|
-
body = JSON.stringify(_json(input));
|
|
10
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
|
-
};
|
|
12
|
-
export const se_DeleteExportCommand = async (input, context) => {
|
|
13
|
-
const headers = sharedHeaders("DeleteExport");
|
|
14
|
-
let body;
|
|
15
|
-
body = JSON.stringify(_json(input));
|
|
16
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
|
-
};
|
|
18
|
-
export const se_GetExecutionCommand = async (input, context) => {
|
|
19
|
-
const headers = sharedHeaders("GetExecution");
|
|
20
|
-
let body;
|
|
21
|
-
body = JSON.stringify(_json(input));
|
|
22
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
|
-
};
|
|
24
|
-
export const se_GetExportCommand = async (input, context) => {
|
|
25
|
-
const headers = sharedHeaders("GetExport");
|
|
26
|
-
let body;
|
|
27
|
-
body = JSON.stringify(_json(input));
|
|
28
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
|
-
};
|
|
30
|
-
export const se_GetTableCommand = async (input, context) => {
|
|
31
|
-
const headers = sharedHeaders("GetTable");
|
|
32
|
-
let body;
|
|
33
|
-
body = JSON.stringify(_json(input));
|
|
34
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
|
-
};
|
|
36
|
-
export const se_ListExecutionsCommand = async (input, context) => {
|
|
37
|
-
const headers = sharedHeaders("ListExecutions");
|
|
38
|
-
let body;
|
|
39
|
-
body = JSON.stringify(_json(input));
|
|
40
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
|
-
};
|
|
42
|
-
export const se_ListExportsCommand = async (input, context) => {
|
|
43
|
-
const headers = sharedHeaders("ListExports");
|
|
44
|
-
let body;
|
|
45
|
-
body = JSON.stringify(_json(input));
|
|
46
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
|
-
};
|
|
48
|
-
export const se_ListTablesCommand = async (input, context) => {
|
|
49
|
-
const headers = sharedHeaders("ListTables");
|
|
50
|
-
let body;
|
|
51
|
-
body = JSON.stringify(_json(input));
|
|
52
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
|
-
};
|
|
54
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
55
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
56
|
-
let body;
|
|
57
|
-
body = JSON.stringify(_json(input));
|
|
58
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
|
-
};
|
|
60
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
61
|
-
const headers = sharedHeaders("TagResource");
|
|
62
|
-
let body;
|
|
63
|
-
body = JSON.stringify(_json(input));
|
|
64
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
|
-
};
|
|
66
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
67
|
-
const headers = sharedHeaders("UntagResource");
|
|
68
|
-
let body;
|
|
69
|
-
body = JSON.stringify(_json(input));
|
|
70
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
|
-
};
|
|
72
|
-
export const se_UpdateExportCommand = async (input, context) => {
|
|
73
|
-
const headers = sharedHeaders("UpdateExport");
|
|
74
|
-
let body;
|
|
75
|
-
body = JSON.stringify(_json(input));
|
|
76
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
|
-
};
|
|
78
|
-
export const de_CreateExportCommand = async (output, context) => {
|
|
79
|
-
if (output.statusCode >= 300) {
|
|
80
|
-
return de_CommandError(output, context);
|
|
81
|
-
}
|
|
82
|
-
const data = await parseBody(output.body, context);
|
|
83
|
-
let contents = {};
|
|
84
|
-
contents = _json(data);
|
|
85
|
-
const response = {
|
|
86
|
-
$metadata: deserializeMetadata(output),
|
|
87
|
-
...contents,
|
|
88
|
-
};
|
|
89
|
-
return response;
|
|
90
|
-
};
|
|
91
|
-
export const de_DeleteExportCommand = async (output, context) => {
|
|
92
|
-
if (output.statusCode >= 300) {
|
|
93
|
-
return de_CommandError(output, context);
|
|
94
|
-
}
|
|
95
|
-
const data = await parseBody(output.body, context);
|
|
96
|
-
let contents = {};
|
|
97
|
-
contents = _json(data);
|
|
98
|
-
const response = {
|
|
99
|
-
$metadata: deserializeMetadata(output),
|
|
100
|
-
...contents,
|
|
101
|
-
};
|
|
102
|
-
return response;
|
|
103
|
-
};
|
|
104
|
-
export const de_GetExecutionCommand = async (output, context) => {
|
|
105
|
-
if (output.statusCode >= 300) {
|
|
106
|
-
return de_CommandError(output, context);
|
|
107
|
-
}
|
|
108
|
-
const data = await parseBody(output.body, context);
|
|
109
|
-
let contents = {};
|
|
110
|
-
contents = de_GetExecutionResponse(data, context);
|
|
111
|
-
const response = {
|
|
112
|
-
$metadata: deserializeMetadata(output),
|
|
113
|
-
...contents,
|
|
114
|
-
};
|
|
115
|
-
return response;
|
|
116
|
-
};
|
|
117
|
-
export const de_GetExportCommand = async (output, context) => {
|
|
118
|
-
if (output.statusCode >= 300) {
|
|
119
|
-
return de_CommandError(output, context);
|
|
120
|
-
}
|
|
121
|
-
const data = await parseBody(output.body, context);
|
|
122
|
-
let contents = {};
|
|
123
|
-
contents = de_GetExportResponse(data, context);
|
|
124
|
-
const response = {
|
|
125
|
-
$metadata: deserializeMetadata(output),
|
|
126
|
-
...contents,
|
|
127
|
-
};
|
|
128
|
-
return response;
|
|
129
|
-
};
|
|
130
|
-
export const de_GetTableCommand = async (output, context) => {
|
|
131
|
-
if (output.statusCode >= 300) {
|
|
132
|
-
return de_CommandError(output, context);
|
|
133
|
-
}
|
|
134
|
-
const data = await parseBody(output.body, context);
|
|
135
|
-
let contents = {};
|
|
136
|
-
contents = _json(data);
|
|
137
|
-
const response = {
|
|
138
|
-
$metadata: deserializeMetadata(output),
|
|
139
|
-
...contents,
|
|
140
|
-
};
|
|
141
|
-
return response;
|
|
142
|
-
};
|
|
143
|
-
export const de_ListExecutionsCommand = async (output, context) => {
|
|
144
|
-
if (output.statusCode >= 300) {
|
|
145
|
-
return de_CommandError(output, context);
|
|
146
|
-
}
|
|
147
|
-
const data = await parseBody(output.body, context);
|
|
148
|
-
let contents = {};
|
|
149
|
-
contents = de_ListExecutionsResponse(data, context);
|
|
150
|
-
const response = {
|
|
151
|
-
$metadata: deserializeMetadata(output),
|
|
152
|
-
...contents,
|
|
153
|
-
};
|
|
154
|
-
return response;
|
|
155
|
-
};
|
|
156
|
-
export const de_ListExportsCommand = async (output, context) => {
|
|
157
|
-
if (output.statusCode >= 300) {
|
|
158
|
-
return de_CommandError(output, context);
|
|
159
|
-
}
|
|
160
|
-
const data = await parseBody(output.body, context);
|
|
161
|
-
let contents = {};
|
|
162
|
-
contents = de_ListExportsResponse(data, context);
|
|
163
|
-
const response = {
|
|
164
|
-
$metadata: deserializeMetadata(output),
|
|
165
|
-
...contents,
|
|
166
|
-
};
|
|
167
|
-
return response;
|
|
168
|
-
};
|
|
169
|
-
export const de_ListTablesCommand = async (output, context) => {
|
|
170
|
-
if (output.statusCode >= 300) {
|
|
171
|
-
return de_CommandError(output, context);
|
|
172
|
-
}
|
|
173
|
-
const data = await parseBody(output.body, context);
|
|
174
|
-
let contents = {};
|
|
175
|
-
contents = _json(data);
|
|
176
|
-
const response = {
|
|
177
|
-
$metadata: deserializeMetadata(output),
|
|
178
|
-
...contents,
|
|
179
|
-
};
|
|
180
|
-
return response;
|
|
181
|
-
};
|
|
182
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
183
|
-
if (output.statusCode >= 300) {
|
|
184
|
-
return de_CommandError(output, context);
|
|
185
|
-
}
|
|
186
|
-
const data = await parseBody(output.body, context);
|
|
187
|
-
let contents = {};
|
|
188
|
-
contents = _json(data);
|
|
189
|
-
const response = {
|
|
190
|
-
$metadata: deserializeMetadata(output),
|
|
191
|
-
...contents,
|
|
192
|
-
};
|
|
193
|
-
return response;
|
|
194
|
-
};
|
|
195
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
196
|
-
if (output.statusCode >= 300) {
|
|
197
|
-
return de_CommandError(output, context);
|
|
198
|
-
}
|
|
199
|
-
const data = await parseBody(output.body, context);
|
|
200
|
-
let contents = {};
|
|
201
|
-
contents = _json(data);
|
|
202
|
-
const response = {
|
|
203
|
-
$metadata: deserializeMetadata(output),
|
|
204
|
-
...contents,
|
|
205
|
-
};
|
|
206
|
-
return response;
|
|
207
|
-
};
|
|
208
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
209
|
-
if (output.statusCode >= 300) {
|
|
210
|
-
return de_CommandError(output, context);
|
|
211
|
-
}
|
|
212
|
-
const data = await parseBody(output.body, context);
|
|
213
|
-
let contents = {};
|
|
214
|
-
contents = _json(data);
|
|
215
|
-
const response = {
|
|
216
|
-
$metadata: deserializeMetadata(output),
|
|
217
|
-
...contents,
|
|
218
|
-
};
|
|
219
|
-
return response;
|
|
220
|
-
};
|
|
221
|
-
export const de_UpdateExportCommand = async (output, context) => {
|
|
222
|
-
if (output.statusCode >= 300) {
|
|
223
|
-
return de_CommandError(output, context);
|
|
224
|
-
}
|
|
225
|
-
const data = await parseBody(output.body, context);
|
|
226
|
-
let contents = {};
|
|
227
|
-
contents = _json(data);
|
|
228
|
-
const response = {
|
|
229
|
-
$metadata: deserializeMetadata(output),
|
|
230
|
-
...contents,
|
|
231
|
-
};
|
|
232
|
-
return response;
|
|
233
|
-
};
|
|
234
|
-
const de_CommandError = async (output, context) => {
|
|
235
|
-
const parsedOutput = {
|
|
236
|
-
...output,
|
|
237
|
-
body: await parseErrorBody(output.body, context),
|
|
238
|
-
};
|
|
239
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
240
|
-
switch (errorCode) {
|
|
241
|
-
case "InternalServerException":
|
|
242
|
-
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
243
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
244
|
-
case "ServiceQuotaExceededException":
|
|
245
|
-
case "com.amazonaws.bcmdataexports#ServiceQuotaExceededException":
|
|
246
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
247
|
-
case "ThrottlingException":
|
|
248
|
-
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
249
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
250
|
-
case "ValidationException":
|
|
251
|
-
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
252
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
253
|
-
case "ResourceNotFoundException":
|
|
254
|
-
case "com.amazonaws.bcmdataexports#ResourceNotFoundException":
|
|
255
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
256
|
-
default:
|
|
257
|
-
const parsedBody = parsedOutput.body;
|
|
258
|
-
return throwDefaultError({
|
|
259
|
-
output,
|
|
260
|
-
parsedBody,
|
|
261
|
-
errorCode,
|
|
262
|
-
});
|
|
263
|
-
}
|
|
264
|
-
};
|
|
265
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
266
|
-
const body = parsedOutput.body;
|
|
267
|
-
const deserialized = _json(body);
|
|
268
|
-
const exception = new InternalServerException({
|
|
269
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
270
|
-
...deserialized,
|
|
271
|
-
});
|
|
272
|
-
return __decorateServiceException(exception, body);
|
|
273
|
-
};
|
|
274
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
275
|
-
const body = parsedOutput.body;
|
|
276
|
-
const deserialized = _json(body);
|
|
277
|
-
const exception = new ResourceNotFoundException({
|
|
278
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
279
|
-
...deserialized,
|
|
280
|
-
});
|
|
281
|
-
return __decorateServiceException(exception, body);
|
|
282
|
-
};
|
|
283
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
284
|
-
const body = parsedOutput.body;
|
|
285
|
-
const deserialized = _json(body);
|
|
286
|
-
const exception = new ServiceQuotaExceededException({
|
|
287
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
288
|
-
...deserialized,
|
|
289
|
-
});
|
|
290
|
-
return __decorateServiceException(exception, body);
|
|
291
|
-
};
|
|
292
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
293
|
-
const body = parsedOutput.body;
|
|
294
|
-
const deserialized = _json(body);
|
|
295
|
-
const exception = new ThrottlingException({
|
|
296
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
297
|
-
...deserialized,
|
|
298
|
-
});
|
|
299
|
-
return __decorateServiceException(exception, body);
|
|
300
|
-
};
|
|
301
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
302
|
-
const body = parsedOutput.body;
|
|
303
|
-
const deserialized = _json(body);
|
|
304
|
-
const exception = new ValidationException({
|
|
305
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
306
|
-
...deserialized,
|
|
307
|
-
});
|
|
308
|
-
return __decorateServiceException(exception, body);
|
|
309
|
-
};
|
|
310
|
-
const de_ExecutionReference = (output, context) => {
|
|
311
|
-
return take(output, {
|
|
312
|
-
ExecutionId: __expectString,
|
|
313
|
-
ExecutionStatus: (_) => de_ExecutionStatus(_, context),
|
|
314
|
-
});
|
|
315
|
-
};
|
|
316
|
-
const de_ExecutionReferenceList = (output, context) => {
|
|
317
|
-
const retVal = (output || [])
|
|
318
|
-
.filter((e) => e != null)
|
|
319
|
-
.map((entry) => {
|
|
320
|
-
return de_ExecutionReference(entry, context);
|
|
321
|
-
});
|
|
322
|
-
return retVal;
|
|
323
|
-
};
|
|
324
|
-
const de_ExecutionStatus = (output, context) => {
|
|
325
|
-
return take(output, {
|
|
326
|
-
CompletedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
327
|
-
CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
328
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
329
|
-
StatusCode: __expectString,
|
|
330
|
-
StatusReason: __expectString,
|
|
331
|
-
});
|
|
332
|
-
};
|
|
333
|
-
const de_ExportReference = (output, context) => {
|
|
334
|
-
return take(output, {
|
|
335
|
-
ExportArn: __expectString,
|
|
336
|
-
ExportName: __expectString,
|
|
337
|
-
ExportStatus: (_) => de_ExportStatus(_, context),
|
|
338
|
-
});
|
|
339
|
-
};
|
|
340
|
-
const de_ExportReferenceList = (output, context) => {
|
|
341
|
-
const retVal = (output || [])
|
|
342
|
-
.filter((e) => e != null)
|
|
343
|
-
.map((entry) => {
|
|
344
|
-
return de_ExportReference(entry, context);
|
|
345
|
-
});
|
|
346
|
-
return retVal;
|
|
347
|
-
};
|
|
348
|
-
const de_ExportStatus = (output, context) => {
|
|
349
|
-
return take(output, {
|
|
350
|
-
CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
351
|
-
LastRefreshedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
352
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
353
|
-
StatusCode: __expectString,
|
|
354
|
-
StatusReason: __expectString,
|
|
355
|
-
});
|
|
356
|
-
};
|
|
357
|
-
const de_GetExecutionResponse = (output, context) => {
|
|
358
|
-
return take(output, {
|
|
359
|
-
ExecutionId: __expectString,
|
|
360
|
-
ExecutionStatus: (_) => de_ExecutionStatus(_, context),
|
|
361
|
-
Export: _json,
|
|
362
|
-
});
|
|
363
|
-
};
|
|
364
|
-
const de_GetExportResponse = (output, context) => {
|
|
365
|
-
return take(output, {
|
|
366
|
-
Export: _json,
|
|
367
|
-
ExportStatus: (_) => de_ExportStatus(_, context),
|
|
368
|
-
});
|
|
369
|
-
};
|
|
370
|
-
const de_ListExecutionsResponse = (output, context) => {
|
|
371
|
-
return take(output, {
|
|
372
|
-
Executions: (_) => de_ExecutionReferenceList(_, context),
|
|
373
|
-
NextToken: __expectString,
|
|
374
|
-
});
|
|
375
|
-
};
|
|
376
|
-
const de_ListExportsResponse = (output, context) => {
|
|
377
|
-
return take(output, {
|
|
378
|
-
Exports: (_) => de_ExportReferenceList(_, context),
|
|
379
|
-
NextToken: __expectString,
|
|
380
|
-
});
|
|
381
|
-
};
|
|
382
|
-
const deserializeMetadata = (output) => ({
|
|
383
|
-
httpStatusCode: output.statusCode,
|
|
384
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
385
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
386
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
387
|
-
});
|
|
388
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
389
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
390
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
391
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
392
|
-
const contents = {
|
|
393
|
-
protocol,
|
|
394
|
-
hostname,
|
|
395
|
-
port,
|
|
396
|
-
method: "POST",
|
|
397
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
398
|
-
headers,
|
|
399
|
-
};
|
|
400
|
-
if (resolvedHostname !== undefined) {
|
|
401
|
-
contents.hostname = resolvedHostname;
|
|
402
|
-
}
|
|
403
|
-
if (body !== undefined) {
|
|
404
|
-
contents.body = body;
|
|
405
|
-
}
|
|
406
|
-
return new __HttpRequest(contents);
|
|
407
|
-
};
|
|
408
|
-
function sharedHeaders(operation) {
|
|
409
|
-
return {
|
|
410
|
-
"content-type": "application/x-amz-json-1.1",
|
|
411
|
-
"x-amz-target": `AWSBillingAndCostManagementDataExports.${operation}`,
|
|
412
|
-
};
|
|
413
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
|
-
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
-
import { CreateExportCommandInput, CreateExportCommandOutput } from "../commands/CreateExportCommand";
|
|
4
|
-
import { DeleteExportCommandInput, DeleteExportCommandOutput } from "../commands/DeleteExportCommand";
|
|
5
|
-
import { GetExecutionCommandInput, GetExecutionCommandOutput } from "../commands/GetExecutionCommand";
|
|
6
|
-
import { GetExportCommandInput, GetExportCommandOutput } from "../commands/GetExportCommand";
|
|
7
|
-
import { GetTableCommandInput, GetTableCommandOutput } from "../commands/GetTableCommand";
|
|
8
|
-
import { ListExecutionsCommandInput, ListExecutionsCommandOutput } from "../commands/ListExecutionsCommand";
|
|
9
|
-
import { ListExportsCommandInput, ListExportsCommandOutput } from "../commands/ListExportsCommand";
|
|
10
|
-
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
11
|
-
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
12
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
13
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
14
|
-
import { UpdateExportCommandInput, UpdateExportCommandOutput } from "../commands/UpdateExportCommand";
|
|
15
|
-
/**
|
|
16
|
-
* serializeAws_json1_1CreateExportCommand
|
|
17
|
-
*/
|
|
18
|
-
export declare const se_CreateExportCommand: (input: CreateExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
-
/**
|
|
20
|
-
* serializeAws_json1_1DeleteExportCommand
|
|
21
|
-
*/
|
|
22
|
-
export declare const se_DeleteExportCommand: (input: DeleteExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
-
/**
|
|
24
|
-
* serializeAws_json1_1GetExecutionCommand
|
|
25
|
-
*/
|
|
26
|
-
export declare const se_GetExecutionCommand: (input: GetExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
-
/**
|
|
28
|
-
* serializeAws_json1_1GetExportCommand
|
|
29
|
-
*/
|
|
30
|
-
export declare const se_GetExportCommand: (input: GetExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
|
-
/**
|
|
32
|
-
* serializeAws_json1_1GetTableCommand
|
|
33
|
-
*/
|
|
34
|
-
export declare const se_GetTableCommand: (input: GetTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
|
-
/**
|
|
36
|
-
* serializeAws_json1_1ListExecutionsCommand
|
|
37
|
-
*/
|
|
38
|
-
export declare const se_ListExecutionsCommand: (input: ListExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
-
/**
|
|
40
|
-
* serializeAws_json1_1ListExportsCommand
|
|
41
|
-
*/
|
|
42
|
-
export declare const se_ListExportsCommand: (input: ListExportsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
|
-
/**
|
|
44
|
-
* serializeAws_json1_1ListTablesCommand
|
|
45
|
-
*/
|
|
46
|
-
export declare const se_ListTablesCommand: (input: ListTablesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
|
-
/**
|
|
48
|
-
* serializeAws_json1_1ListTagsForResourceCommand
|
|
49
|
-
*/
|
|
50
|
-
export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
51
|
-
/**
|
|
52
|
-
* serializeAws_json1_1TagResourceCommand
|
|
53
|
-
*/
|
|
54
|
-
export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
55
|
-
/**
|
|
56
|
-
* serializeAws_json1_1UntagResourceCommand
|
|
57
|
-
*/
|
|
58
|
-
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
|
-
/**
|
|
60
|
-
* serializeAws_json1_1UpdateExportCommand
|
|
61
|
-
*/
|
|
62
|
-
export declare const se_UpdateExportCommand: (input: UpdateExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
|
-
/**
|
|
64
|
-
* deserializeAws_json1_1CreateExportCommand
|
|
65
|
-
*/
|
|
66
|
-
export declare const de_CreateExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateExportCommandOutput>;
|
|
67
|
-
/**
|
|
68
|
-
* deserializeAws_json1_1DeleteExportCommand
|
|
69
|
-
*/
|
|
70
|
-
export declare const de_DeleteExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteExportCommandOutput>;
|
|
71
|
-
/**
|
|
72
|
-
* deserializeAws_json1_1GetExecutionCommand
|
|
73
|
-
*/
|
|
74
|
-
export declare const de_GetExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetExecutionCommandOutput>;
|
|
75
|
-
/**
|
|
76
|
-
* deserializeAws_json1_1GetExportCommand
|
|
77
|
-
*/
|
|
78
|
-
export declare const de_GetExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetExportCommandOutput>;
|
|
79
|
-
/**
|
|
80
|
-
* deserializeAws_json1_1GetTableCommand
|
|
81
|
-
*/
|
|
82
|
-
export declare const de_GetTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTableCommandOutput>;
|
|
83
|
-
/**
|
|
84
|
-
* deserializeAws_json1_1ListExecutionsCommand
|
|
85
|
-
*/
|
|
86
|
-
export declare const de_ListExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListExecutionsCommandOutput>;
|
|
87
|
-
/**
|
|
88
|
-
* deserializeAws_json1_1ListExportsCommand
|
|
89
|
-
*/
|
|
90
|
-
export declare const de_ListExportsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListExportsCommandOutput>;
|
|
91
|
-
/**
|
|
92
|
-
* deserializeAws_json1_1ListTablesCommand
|
|
93
|
-
*/
|
|
94
|
-
export declare const de_ListTablesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTablesCommandOutput>;
|
|
95
|
-
/**
|
|
96
|
-
* deserializeAws_json1_1ListTagsForResourceCommand
|
|
97
|
-
*/
|
|
98
|
-
export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
99
|
-
/**
|
|
100
|
-
* deserializeAws_json1_1TagResourceCommand
|
|
101
|
-
*/
|
|
102
|
-
export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
103
|
-
/**
|
|
104
|
-
* deserializeAws_json1_1UntagResourceCommand
|
|
105
|
-
*/
|
|
106
|
-
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
107
|
-
/**
|
|
108
|
-
* deserializeAws_json1_1UpdateExportCommand
|
|
109
|
-
*/
|
|
110
|
-
export declare const de_UpdateExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateExportCommandOutput>;
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
HttpRequest as __HttpRequest,
|
|
3
|
-
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@smithy/protocol-http";
|
|
5
|
-
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
-
import {
|
|
7
|
-
CreateExportCommandInput,
|
|
8
|
-
CreateExportCommandOutput,
|
|
9
|
-
} from "../commands/CreateExportCommand";
|
|
10
|
-
import {
|
|
11
|
-
DeleteExportCommandInput,
|
|
12
|
-
DeleteExportCommandOutput,
|
|
13
|
-
} from "../commands/DeleteExportCommand";
|
|
14
|
-
import {
|
|
15
|
-
GetExecutionCommandInput,
|
|
16
|
-
GetExecutionCommandOutput,
|
|
17
|
-
} from "../commands/GetExecutionCommand";
|
|
18
|
-
import {
|
|
19
|
-
GetExportCommandInput,
|
|
20
|
-
GetExportCommandOutput,
|
|
21
|
-
} from "../commands/GetExportCommand";
|
|
22
|
-
import {
|
|
23
|
-
GetTableCommandInput,
|
|
24
|
-
GetTableCommandOutput,
|
|
25
|
-
} from "../commands/GetTableCommand";
|
|
26
|
-
import {
|
|
27
|
-
ListExecutionsCommandInput,
|
|
28
|
-
ListExecutionsCommandOutput,
|
|
29
|
-
} from "../commands/ListExecutionsCommand";
|
|
30
|
-
import {
|
|
31
|
-
ListExportsCommandInput,
|
|
32
|
-
ListExportsCommandOutput,
|
|
33
|
-
} from "../commands/ListExportsCommand";
|
|
34
|
-
import {
|
|
35
|
-
ListTablesCommandInput,
|
|
36
|
-
ListTablesCommandOutput,
|
|
37
|
-
} from "../commands/ListTablesCommand";
|
|
38
|
-
import {
|
|
39
|
-
ListTagsForResourceCommandInput,
|
|
40
|
-
ListTagsForResourceCommandOutput,
|
|
41
|
-
} from "../commands/ListTagsForResourceCommand";
|
|
42
|
-
import {
|
|
43
|
-
TagResourceCommandInput,
|
|
44
|
-
TagResourceCommandOutput,
|
|
45
|
-
} from "../commands/TagResourceCommand";
|
|
46
|
-
import {
|
|
47
|
-
UntagResourceCommandInput,
|
|
48
|
-
UntagResourceCommandOutput,
|
|
49
|
-
} from "../commands/UntagResourceCommand";
|
|
50
|
-
import {
|
|
51
|
-
UpdateExportCommandInput,
|
|
52
|
-
UpdateExportCommandOutput,
|
|
53
|
-
} from "../commands/UpdateExportCommand";
|
|
54
|
-
export declare const se_CreateExportCommand: (
|
|
55
|
-
input: CreateExportCommandInput,
|
|
56
|
-
context: __SerdeContext
|
|
57
|
-
) => Promise<__HttpRequest>;
|
|
58
|
-
export declare const se_DeleteExportCommand: (
|
|
59
|
-
input: DeleteExportCommandInput,
|
|
60
|
-
context: __SerdeContext
|
|
61
|
-
) => Promise<__HttpRequest>;
|
|
62
|
-
export declare const se_GetExecutionCommand: (
|
|
63
|
-
input: GetExecutionCommandInput,
|
|
64
|
-
context: __SerdeContext
|
|
65
|
-
) => Promise<__HttpRequest>;
|
|
66
|
-
export declare const se_GetExportCommand: (
|
|
67
|
-
input: GetExportCommandInput,
|
|
68
|
-
context: __SerdeContext
|
|
69
|
-
) => Promise<__HttpRequest>;
|
|
70
|
-
export declare const se_GetTableCommand: (
|
|
71
|
-
input: GetTableCommandInput,
|
|
72
|
-
context: __SerdeContext
|
|
73
|
-
) => Promise<__HttpRequest>;
|
|
74
|
-
export declare const se_ListExecutionsCommand: (
|
|
75
|
-
input: ListExecutionsCommandInput,
|
|
76
|
-
context: __SerdeContext
|
|
77
|
-
) => Promise<__HttpRequest>;
|
|
78
|
-
export declare const se_ListExportsCommand: (
|
|
79
|
-
input: ListExportsCommandInput,
|
|
80
|
-
context: __SerdeContext
|
|
81
|
-
) => Promise<__HttpRequest>;
|
|
82
|
-
export declare const se_ListTablesCommand: (
|
|
83
|
-
input: ListTablesCommandInput,
|
|
84
|
-
context: __SerdeContext
|
|
85
|
-
) => Promise<__HttpRequest>;
|
|
86
|
-
export declare const se_ListTagsForResourceCommand: (
|
|
87
|
-
input: ListTagsForResourceCommandInput,
|
|
88
|
-
context: __SerdeContext
|
|
89
|
-
) => Promise<__HttpRequest>;
|
|
90
|
-
export declare const se_TagResourceCommand: (
|
|
91
|
-
input: TagResourceCommandInput,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
) => Promise<__HttpRequest>;
|
|
94
|
-
export declare const se_UntagResourceCommand: (
|
|
95
|
-
input: UntagResourceCommandInput,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
) => Promise<__HttpRequest>;
|
|
98
|
-
export declare const se_UpdateExportCommand: (
|
|
99
|
-
input: UpdateExportCommandInput,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
) => Promise<__HttpRequest>;
|
|
102
|
-
export declare const de_CreateExportCommand: (
|
|
103
|
-
output: __HttpResponse,
|
|
104
|
-
context: __SerdeContext
|
|
105
|
-
) => Promise<CreateExportCommandOutput>;
|
|
106
|
-
export declare const de_DeleteExportCommand: (
|
|
107
|
-
output: __HttpResponse,
|
|
108
|
-
context: __SerdeContext
|
|
109
|
-
) => Promise<DeleteExportCommandOutput>;
|
|
110
|
-
export declare const de_GetExecutionCommand: (
|
|
111
|
-
output: __HttpResponse,
|
|
112
|
-
context: __SerdeContext
|
|
113
|
-
) => Promise<GetExecutionCommandOutput>;
|
|
114
|
-
export declare const de_GetExportCommand: (
|
|
115
|
-
output: __HttpResponse,
|
|
116
|
-
context: __SerdeContext
|
|
117
|
-
) => Promise<GetExportCommandOutput>;
|
|
118
|
-
export declare const de_GetTableCommand: (
|
|
119
|
-
output: __HttpResponse,
|
|
120
|
-
context: __SerdeContext
|
|
121
|
-
) => Promise<GetTableCommandOutput>;
|
|
122
|
-
export declare const de_ListExecutionsCommand: (
|
|
123
|
-
output: __HttpResponse,
|
|
124
|
-
context: __SerdeContext
|
|
125
|
-
) => Promise<ListExecutionsCommandOutput>;
|
|
126
|
-
export declare const de_ListExportsCommand: (
|
|
127
|
-
output: __HttpResponse,
|
|
128
|
-
context: __SerdeContext
|
|
129
|
-
) => Promise<ListExportsCommandOutput>;
|
|
130
|
-
export declare const de_ListTablesCommand: (
|
|
131
|
-
output: __HttpResponse,
|
|
132
|
-
context: __SerdeContext
|
|
133
|
-
) => Promise<ListTablesCommandOutput>;
|
|
134
|
-
export declare const de_ListTagsForResourceCommand: (
|
|
135
|
-
output: __HttpResponse,
|
|
136
|
-
context: __SerdeContext
|
|
137
|
-
) => Promise<ListTagsForResourceCommandOutput>;
|
|
138
|
-
export declare const de_TagResourceCommand: (
|
|
139
|
-
output: __HttpResponse,
|
|
140
|
-
context: __SerdeContext
|
|
141
|
-
) => Promise<TagResourceCommandOutput>;
|
|
142
|
-
export declare const de_UntagResourceCommand: (
|
|
143
|
-
output: __HttpResponse,
|
|
144
|
-
context: __SerdeContext
|
|
145
|
-
) => Promise<UntagResourceCommandOutput>;
|
|
146
|
-
export declare const de_UpdateExportCommand: (
|
|
147
|
-
output: __HttpResponse,
|
|
148
|
-
context: __SerdeContext
|
|
149
|
-
) => Promise<UpdateExportCommandOutput>;
|