@aws-sdk/client-bcm-data-exports 3.490.0 → 3.495.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/BCMDataExports.js +1 -35
- package/dist-cjs/BCMDataExportsClient.js +1 -43
- package/dist-cjs/commands/CreateExportCommand.js +1 -28
- package/dist-cjs/commands/DeleteExportCommand.js +1 -28
- package/dist-cjs/commands/GetExecutionCommand.js +1 -28
- package/dist-cjs/commands/GetExportCommand.js +1 -28
- package/dist-cjs/commands/GetTableCommand.js +1 -28
- package/dist-cjs/commands/ListExecutionsCommand.js +1 -28
- package/dist-cjs/commands/ListExportsCommand.js +1 -28
- package/dist-cjs/commands/ListTablesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateExportCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -15
- package/dist-cjs/endpoint/EndpointParameters.js +1 -16
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1326 -11
- package/dist-cjs/models/BCMDataExportsServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -126
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListExecutionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListExportsPaginator.js +1 -7
- package/dist-cjs/pagination/ListTablesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -7
- package/dist-cjs/protocols/Aws_json1_1.js +1 -775
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,1327 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
BCMDataExports: () => BCMDataExports,
|
|
25
|
+
BCMDataExportsClient: () => BCMDataExportsClient,
|
|
26
|
+
BCMDataExportsServiceException: () => BCMDataExportsServiceException,
|
|
27
|
+
CompressionOption: () => CompressionOption,
|
|
28
|
+
CreateExportCommand: () => CreateExportCommand,
|
|
29
|
+
DeleteExportCommand: () => DeleteExportCommand,
|
|
30
|
+
ExecutionStatusCode: () => ExecutionStatusCode,
|
|
31
|
+
ExecutionStatusReason: () => ExecutionStatusReason,
|
|
32
|
+
ExportStatusCode: () => ExportStatusCode,
|
|
33
|
+
FormatOption: () => FormatOption,
|
|
34
|
+
FrequencyOption: () => FrequencyOption,
|
|
35
|
+
GetExecutionCommand: () => GetExecutionCommand,
|
|
36
|
+
GetExportCommand: () => GetExportCommand,
|
|
37
|
+
GetTableCommand: () => GetTableCommand,
|
|
38
|
+
InternalServerException: () => InternalServerException,
|
|
39
|
+
ListExecutionsCommand: () => ListExecutionsCommand,
|
|
40
|
+
ListExportsCommand: () => ListExportsCommand,
|
|
41
|
+
ListTablesCommand: () => ListTablesCommand,
|
|
42
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
43
|
+
OverwriteOption: () => OverwriteOption,
|
|
44
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
45
|
+
S3OutputType: () => S3OutputType,
|
|
46
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
47
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
48
|
+
ThrottlingException: () => ThrottlingException,
|
|
49
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
50
|
+
UpdateExportCommand: () => UpdateExportCommand,
|
|
51
|
+
ValidationException: () => ValidationException,
|
|
52
|
+
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
53
|
+
__Client: () => import_smithy_client.Client,
|
|
54
|
+
paginateListExecutions: () => paginateListExecutions,
|
|
55
|
+
paginateListExports: () => paginateListExports,
|
|
56
|
+
paginateListTables: () => paginateListTables
|
|
57
|
+
});
|
|
58
|
+
module.exports = __toCommonJS(src_exports);
|
|
59
|
+
|
|
60
|
+
// src/BCMDataExportsClient.ts
|
|
61
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
62
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
63
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
64
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
65
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
66
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
67
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
68
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
69
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
// src/endpoint/EndpointParameters.ts
|
|
73
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
74
|
+
return {
|
|
75
|
+
...options,
|
|
76
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
77
|
+
defaultSigningName: "bcm-data-exports"
|
|
78
|
+
};
|
|
79
|
+
}, "resolveClientEndpointParameters");
|
|
80
|
+
var commonParams = {
|
|
81
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
82
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
83
|
+
Region: { type: "builtInParams", name: "region" }
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
// src/BCMDataExportsClient.ts
|
|
87
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
88
|
+
|
|
89
|
+
// src/runtimeExtensions.ts
|
|
90
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
91
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
92
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
93
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
94
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
95
|
+
const extensionConfiguration = {
|
|
96
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
97
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
98
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
99
|
+
};
|
|
100
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
101
|
+
return {
|
|
102
|
+
...runtimeConfig,
|
|
103
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
104
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
105
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
106
|
+
};
|
|
107
|
+
}, "resolveRuntimeExtensions");
|
|
108
|
+
|
|
109
|
+
// src/BCMDataExportsClient.ts
|
|
110
|
+
var _BCMDataExportsClient = class _BCMDataExportsClient extends import_smithy_client.Client {
|
|
111
|
+
constructor(...[configuration]) {
|
|
112
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
113
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
114
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
115
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
116
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
117
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
118
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
119
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
120
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
121
|
+
super(_config_8);
|
|
122
|
+
this.config = _config_8;
|
|
123
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
124
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
125
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
126
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
127
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
128
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
129
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
133
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
134
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
135
|
+
*/
|
|
136
|
+
destroy() {
|
|
137
|
+
super.destroy();
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
__name(_BCMDataExportsClient, "BCMDataExportsClient");
|
|
141
|
+
var BCMDataExportsClient = _BCMDataExportsClient;
|
|
142
|
+
|
|
143
|
+
// src/BCMDataExports.ts
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
// src/commands/CreateExportCommand.ts
|
|
147
|
+
|
|
148
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
149
|
+
|
|
150
|
+
var import_types = require("@smithy/types");
|
|
151
|
+
|
|
152
|
+
// src/protocols/Aws_json1_1.ts
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
// src/models/BCMDataExportsServiceException.ts
|
|
157
|
+
|
|
158
|
+
var _BCMDataExportsServiceException = class _BCMDataExportsServiceException extends import_smithy_client.ServiceException {
|
|
159
|
+
/**
|
|
160
|
+
* @internal
|
|
161
|
+
*/
|
|
162
|
+
constructor(options) {
|
|
163
|
+
super(options);
|
|
164
|
+
Object.setPrototypeOf(this, _BCMDataExportsServiceException.prototype);
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
__name(_BCMDataExportsServiceException, "BCMDataExportsServiceException");
|
|
168
|
+
var BCMDataExportsServiceException = _BCMDataExportsServiceException;
|
|
169
|
+
|
|
170
|
+
// src/models/models_0.ts
|
|
171
|
+
var CompressionOption = {
|
|
172
|
+
GZIP: "GZIP",
|
|
173
|
+
PARQUET: "PARQUET"
|
|
174
|
+
};
|
|
175
|
+
var FormatOption = {
|
|
176
|
+
PARQUET: "PARQUET",
|
|
177
|
+
TEXT_OR_CSV: "TEXT_OR_CSV"
|
|
178
|
+
};
|
|
179
|
+
var S3OutputType = {
|
|
180
|
+
CUSTOM: "CUSTOM"
|
|
181
|
+
};
|
|
182
|
+
var OverwriteOption = {
|
|
183
|
+
CREATE_NEW_REPORT: "CREATE_NEW_REPORT",
|
|
184
|
+
OVERWRITE_REPORT: "OVERWRITE_REPORT"
|
|
185
|
+
};
|
|
186
|
+
var FrequencyOption = {
|
|
187
|
+
SYNCHRONOUS: "SYNCHRONOUS"
|
|
188
|
+
};
|
|
189
|
+
var _InternalServerException = class _InternalServerException extends BCMDataExportsServiceException {
|
|
190
|
+
/**
|
|
191
|
+
* @internal
|
|
192
|
+
*/
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "InternalServerException",
|
|
196
|
+
$fault: "server",
|
|
197
|
+
...opts
|
|
198
|
+
});
|
|
199
|
+
this.name = "InternalServerException";
|
|
200
|
+
this.$fault = "server";
|
|
201
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
202
|
+
this.Message = opts.Message;
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
__name(_InternalServerException, "InternalServerException");
|
|
206
|
+
var InternalServerException = _InternalServerException;
|
|
207
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BCMDataExportsServiceException {
|
|
208
|
+
/**
|
|
209
|
+
* @internal
|
|
210
|
+
*/
|
|
211
|
+
constructor(opts) {
|
|
212
|
+
super({
|
|
213
|
+
name: "ServiceQuotaExceededException",
|
|
214
|
+
$fault: "client",
|
|
215
|
+
...opts
|
|
216
|
+
});
|
|
217
|
+
this.name = "ServiceQuotaExceededException";
|
|
218
|
+
this.$fault = "client";
|
|
219
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
220
|
+
this.Message = opts.Message;
|
|
221
|
+
this.ResourceId = opts.ResourceId;
|
|
222
|
+
this.ResourceType = opts.ResourceType;
|
|
223
|
+
this.QuotaCode = opts.QuotaCode;
|
|
224
|
+
this.ServiceCode = opts.ServiceCode;
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
228
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
229
|
+
var _ThrottlingException = class _ThrottlingException extends BCMDataExportsServiceException {
|
|
230
|
+
/**
|
|
231
|
+
* @internal
|
|
232
|
+
*/
|
|
233
|
+
constructor(opts) {
|
|
234
|
+
super({
|
|
235
|
+
name: "ThrottlingException",
|
|
236
|
+
$fault: "client",
|
|
237
|
+
...opts
|
|
238
|
+
});
|
|
239
|
+
this.name = "ThrottlingException";
|
|
240
|
+
this.$fault = "client";
|
|
241
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
242
|
+
this.Message = opts.Message;
|
|
243
|
+
this.QuotaCode = opts.QuotaCode;
|
|
244
|
+
this.ServiceCode = opts.ServiceCode;
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
248
|
+
var ThrottlingException = _ThrottlingException;
|
|
249
|
+
var ValidationExceptionReason = {
|
|
250
|
+
CANNOT_PARSE: "cannotParse",
|
|
251
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
252
|
+
OTHER: "other",
|
|
253
|
+
UNKNOWN_OPERATION: "unknownOperation"
|
|
254
|
+
};
|
|
255
|
+
var _ValidationException = class _ValidationException extends BCMDataExportsServiceException {
|
|
256
|
+
/**
|
|
257
|
+
* @internal
|
|
258
|
+
*/
|
|
259
|
+
constructor(opts) {
|
|
260
|
+
super({
|
|
261
|
+
name: "ValidationException",
|
|
262
|
+
$fault: "client",
|
|
263
|
+
...opts
|
|
264
|
+
});
|
|
265
|
+
this.name = "ValidationException";
|
|
266
|
+
this.$fault = "client";
|
|
267
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
268
|
+
this.Message = opts.Message;
|
|
269
|
+
this.Reason = opts.Reason;
|
|
270
|
+
this.Fields = opts.Fields;
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
__name(_ValidationException, "ValidationException");
|
|
274
|
+
var ValidationException = _ValidationException;
|
|
275
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends BCMDataExportsServiceException {
|
|
276
|
+
/**
|
|
277
|
+
* @internal
|
|
278
|
+
*/
|
|
279
|
+
constructor(opts) {
|
|
280
|
+
super({
|
|
281
|
+
name: "ResourceNotFoundException",
|
|
282
|
+
$fault: "client",
|
|
283
|
+
...opts
|
|
284
|
+
});
|
|
285
|
+
this.name = "ResourceNotFoundException";
|
|
286
|
+
this.$fault = "client";
|
|
287
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
288
|
+
this.Message = opts.Message;
|
|
289
|
+
this.ResourceId = opts.ResourceId;
|
|
290
|
+
this.ResourceType = opts.ResourceType;
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
294
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
295
|
+
var ExecutionStatusCode = {
|
|
296
|
+
DELIVERY_FAILURE: "DELIVERY_FAILURE",
|
|
297
|
+
DELIVERY_IN_PROCESS: "DELIVERY_IN_PROCESS",
|
|
298
|
+
DELIVERY_SUCCESS: "DELIVERY_SUCCESS",
|
|
299
|
+
INITIATION_IN_PROCESS: "INITIATION_IN_PROCESS",
|
|
300
|
+
QUERY_FAILURE: "QUERY_FAILURE",
|
|
301
|
+
QUERY_IN_PROCESS: "QUERY_IN_PROCESS",
|
|
302
|
+
QUERY_QUEUED: "QUERY_QUEUED"
|
|
303
|
+
};
|
|
304
|
+
var ExecutionStatusReason = {
|
|
305
|
+
BILL_OWNER_CHANGED: "BILL_OWNER_CHANGED",
|
|
306
|
+
INSUFFICIENT_PERMISSION: "INSUFFICIENT_PERMISSION",
|
|
307
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE"
|
|
308
|
+
};
|
|
309
|
+
var ExportStatusCode = {
|
|
310
|
+
HEALTHY: "HEALTHY",
|
|
311
|
+
UNHEALTHY: "UNHEALTHY"
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
// src/protocols/Aws_json1_1.ts
|
|
315
|
+
var se_CreateExportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
316
|
+
const headers = sharedHeaders("CreateExport");
|
|
317
|
+
let body;
|
|
318
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
319
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
320
|
+
}, "se_CreateExportCommand");
|
|
321
|
+
var se_DeleteExportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
322
|
+
const headers = sharedHeaders("DeleteExport");
|
|
323
|
+
let body;
|
|
324
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
325
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
326
|
+
}, "se_DeleteExportCommand");
|
|
327
|
+
var se_GetExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
328
|
+
const headers = sharedHeaders("GetExecution");
|
|
329
|
+
let body;
|
|
330
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
331
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
332
|
+
}, "se_GetExecutionCommand");
|
|
333
|
+
var se_GetExportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
334
|
+
const headers = sharedHeaders("GetExport");
|
|
335
|
+
let body;
|
|
336
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
337
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
338
|
+
}, "se_GetExportCommand");
|
|
339
|
+
var se_GetTableCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
340
|
+
const headers = sharedHeaders("GetTable");
|
|
341
|
+
let body;
|
|
342
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
343
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
344
|
+
}, "se_GetTableCommand");
|
|
345
|
+
var se_ListExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
346
|
+
const headers = sharedHeaders("ListExecutions");
|
|
347
|
+
let body;
|
|
348
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
349
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
350
|
+
}, "se_ListExecutionsCommand");
|
|
351
|
+
var se_ListExportsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
352
|
+
const headers = sharedHeaders("ListExports");
|
|
353
|
+
let body;
|
|
354
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
355
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
356
|
+
}, "se_ListExportsCommand");
|
|
357
|
+
var se_ListTablesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
358
|
+
const headers = sharedHeaders("ListTables");
|
|
359
|
+
let body;
|
|
360
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
361
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
362
|
+
}, "se_ListTablesCommand");
|
|
363
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
364
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
365
|
+
let body;
|
|
366
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
367
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
368
|
+
}, "se_ListTagsForResourceCommand");
|
|
369
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
370
|
+
const headers = sharedHeaders("TagResource");
|
|
371
|
+
let body;
|
|
372
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
373
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
374
|
+
}, "se_TagResourceCommand");
|
|
375
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
376
|
+
const headers = sharedHeaders("UntagResource");
|
|
377
|
+
let body;
|
|
378
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
379
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
380
|
+
}, "se_UntagResourceCommand");
|
|
381
|
+
var se_UpdateExportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
382
|
+
const headers = sharedHeaders("UpdateExport");
|
|
383
|
+
let body;
|
|
384
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
385
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
386
|
+
}, "se_UpdateExportCommand");
|
|
387
|
+
var de_CreateExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
388
|
+
if (output.statusCode >= 300) {
|
|
389
|
+
return de_CreateExportCommandError(output, context);
|
|
390
|
+
}
|
|
391
|
+
const data = await parseBody(output.body, context);
|
|
392
|
+
let contents = {};
|
|
393
|
+
contents = (0, import_smithy_client._json)(data);
|
|
394
|
+
const response = {
|
|
395
|
+
$metadata: deserializeMetadata(output),
|
|
396
|
+
...contents
|
|
397
|
+
};
|
|
398
|
+
return response;
|
|
399
|
+
}, "de_CreateExportCommand");
|
|
400
|
+
var de_CreateExportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
401
|
+
const parsedOutput = {
|
|
402
|
+
...output,
|
|
403
|
+
body: await parseErrorBody(output.body, context)
|
|
404
|
+
};
|
|
405
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
406
|
+
switch (errorCode) {
|
|
407
|
+
case "InternalServerException":
|
|
408
|
+
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
409
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
410
|
+
case "ServiceQuotaExceededException":
|
|
411
|
+
case "com.amazonaws.bcmdataexports#ServiceQuotaExceededException":
|
|
412
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
413
|
+
case "ThrottlingException":
|
|
414
|
+
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
415
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
416
|
+
case "ValidationException":
|
|
417
|
+
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
418
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
419
|
+
default:
|
|
420
|
+
const parsedBody = parsedOutput.body;
|
|
421
|
+
return throwDefaultError({
|
|
422
|
+
output,
|
|
423
|
+
parsedBody,
|
|
424
|
+
errorCode
|
|
425
|
+
});
|
|
426
|
+
}
|
|
427
|
+
}, "de_CreateExportCommandError");
|
|
428
|
+
var de_DeleteExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
429
|
+
if (output.statusCode >= 300) {
|
|
430
|
+
return de_DeleteExportCommandError(output, context);
|
|
431
|
+
}
|
|
432
|
+
const data = await parseBody(output.body, context);
|
|
433
|
+
let contents = {};
|
|
434
|
+
contents = (0, import_smithy_client._json)(data);
|
|
435
|
+
const response = {
|
|
436
|
+
$metadata: deserializeMetadata(output),
|
|
437
|
+
...contents
|
|
438
|
+
};
|
|
439
|
+
return response;
|
|
440
|
+
}, "de_DeleteExportCommand");
|
|
441
|
+
var de_DeleteExportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
442
|
+
const parsedOutput = {
|
|
443
|
+
...output,
|
|
444
|
+
body: await parseErrorBody(output.body, context)
|
|
445
|
+
};
|
|
446
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
447
|
+
switch (errorCode) {
|
|
448
|
+
case "InternalServerException":
|
|
449
|
+
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
450
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
451
|
+
case "ResourceNotFoundException":
|
|
452
|
+
case "com.amazonaws.bcmdataexports#ResourceNotFoundException":
|
|
453
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
454
|
+
case "ThrottlingException":
|
|
455
|
+
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
456
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
457
|
+
case "ValidationException":
|
|
458
|
+
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
459
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
460
|
+
default:
|
|
461
|
+
const parsedBody = parsedOutput.body;
|
|
462
|
+
return throwDefaultError({
|
|
463
|
+
output,
|
|
464
|
+
parsedBody,
|
|
465
|
+
errorCode
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
}, "de_DeleteExportCommandError");
|
|
469
|
+
var de_GetExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
470
|
+
if (output.statusCode >= 300) {
|
|
471
|
+
return de_GetExecutionCommandError(output, context);
|
|
472
|
+
}
|
|
473
|
+
const data = await parseBody(output.body, context);
|
|
474
|
+
let contents = {};
|
|
475
|
+
contents = de_GetExecutionResponse(data, context);
|
|
476
|
+
const response = {
|
|
477
|
+
$metadata: deserializeMetadata(output),
|
|
478
|
+
...contents
|
|
479
|
+
};
|
|
480
|
+
return response;
|
|
481
|
+
}, "de_GetExecutionCommand");
|
|
482
|
+
var de_GetExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
483
|
+
const parsedOutput = {
|
|
484
|
+
...output,
|
|
485
|
+
body: await parseErrorBody(output.body, context)
|
|
486
|
+
};
|
|
487
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
488
|
+
switch (errorCode) {
|
|
489
|
+
case "InternalServerException":
|
|
490
|
+
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
491
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
492
|
+
case "ResourceNotFoundException":
|
|
493
|
+
case "com.amazonaws.bcmdataexports#ResourceNotFoundException":
|
|
494
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
495
|
+
case "ThrottlingException":
|
|
496
|
+
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
497
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
498
|
+
case "ValidationException":
|
|
499
|
+
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
500
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
501
|
+
default:
|
|
502
|
+
const parsedBody = parsedOutput.body;
|
|
503
|
+
return throwDefaultError({
|
|
504
|
+
output,
|
|
505
|
+
parsedBody,
|
|
506
|
+
errorCode
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
}, "de_GetExecutionCommandError");
|
|
510
|
+
var de_GetExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
511
|
+
if (output.statusCode >= 300) {
|
|
512
|
+
return de_GetExportCommandError(output, context);
|
|
513
|
+
}
|
|
514
|
+
const data = await parseBody(output.body, context);
|
|
515
|
+
let contents = {};
|
|
516
|
+
contents = de_GetExportResponse(data, context);
|
|
517
|
+
const response = {
|
|
518
|
+
$metadata: deserializeMetadata(output),
|
|
519
|
+
...contents
|
|
520
|
+
};
|
|
521
|
+
return response;
|
|
522
|
+
}, "de_GetExportCommand");
|
|
523
|
+
var de_GetExportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
524
|
+
const parsedOutput = {
|
|
525
|
+
...output,
|
|
526
|
+
body: await parseErrorBody(output.body, context)
|
|
527
|
+
};
|
|
528
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
529
|
+
switch (errorCode) {
|
|
530
|
+
case "InternalServerException":
|
|
531
|
+
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
532
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
533
|
+
case "ResourceNotFoundException":
|
|
534
|
+
case "com.amazonaws.bcmdataexports#ResourceNotFoundException":
|
|
535
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
536
|
+
case "ThrottlingException":
|
|
537
|
+
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
538
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
539
|
+
case "ValidationException":
|
|
540
|
+
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
541
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
542
|
+
default:
|
|
543
|
+
const parsedBody = parsedOutput.body;
|
|
544
|
+
return throwDefaultError({
|
|
545
|
+
output,
|
|
546
|
+
parsedBody,
|
|
547
|
+
errorCode
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
}, "de_GetExportCommandError");
|
|
551
|
+
var de_GetTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
552
|
+
if (output.statusCode >= 300) {
|
|
553
|
+
return de_GetTableCommandError(output, context);
|
|
554
|
+
}
|
|
555
|
+
const data = await parseBody(output.body, context);
|
|
556
|
+
let contents = {};
|
|
557
|
+
contents = (0, import_smithy_client._json)(data);
|
|
558
|
+
const response = {
|
|
559
|
+
$metadata: deserializeMetadata(output),
|
|
560
|
+
...contents
|
|
561
|
+
};
|
|
562
|
+
return response;
|
|
563
|
+
}, "de_GetTableCommand");
|
|
564
|
+
var de_GetTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
565
|
+
const parsedOutput = {
|
|
566
|
+
...output,
|
|
567
|
+
body: await parseErrorBody(output.body, context)
|
|
568
|
+
};
|
|
569
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
570
|
+
switch (errorCode) {
|
|
571
|
+
case "InternalServerException":
|
|
572
|
+
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
573
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
574
|
+
case "ThrottlingException":
|
|
575
|
+
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
576
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
577
|
+
case "ValidationException":
|
|
578
|
+
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
579
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
580
|
+
default:
|
|
581
|
+
const parsedBody = parsedOutput.body;
|
|
582
|
+
return throwDefaultError({
|
|
583
|
+
output,
|
|
584
|
+
parsedBody,
|
|
585
|
+
errorCode
|
|
586
|
+
});
|
|
587
|
+
}
|
|
588
|
+
}, "de_GetTableCommandError");
|
|
589
|
+
var de_ListExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
590
|
+
if (output.statusCode >= 300) {
|
|
591
|
+
return de_ListExecutionsCommandError(output, context);
|
|
592
|
+
}
|
|
593
|
+
const data = await parseBody(output.body, context);
|
|
594
|
+
let contents = {};
|
|
595
|
+
contents = de_ListExecutionsResponse(data, context);
|
|
596
|
+
const response = {
|
|
597
|
+
$metadata: deserializeMetadata(output),
|
|
598
|
+
...contents
|
|
599
|
+
};
|
|
600
|
+
return response;
|
|
601
|
+
}, "de_ListExecutionsCommand");
|
|
602
|
+
var de_ListExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
603
|
+
const parsedOutput = {
|
|
604
|
+
...output,
|
|
605
|
+
body: await parseErrorBody(output.body, context)
|
|
606
|
+
};
|
|
607
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
608
|
+
switch (errorCode) {
|
|
609
|
+
case "InternalServerException":
|
|
610
|
+
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
611
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
612
|
+
case "ResourceNotFoundException":
|
|
613
|
+
case "com.amazonaws.bcmdataexports#ResourceNotFoundException":
|
|
614
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
615
|
+
case "ThrottlingException":
|
|
616
|
+
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
617
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
618
|
+
case "ValidationException":
|
|
619
|
+
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
620
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
621
|
+
default:
|
|
622
|
+
const parsedBody = parsedOutput.body;
|
|
623
|
+
return throwDefaultError({
|
|
624
|
+
output,
|
|
625
|
+
parsedBody,
|
|
626
|
+
errorCode
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
}, "de_ListExecutionsCommandError");
|
|
630
|
+
var de_ListExportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
631
|
+
if (output.statusCode >= 300) {
|
|
632
|
+
return de_ListExportsCommandError(output, context);
|
|
633
|
+
}
|
|
634
|
+
const data = await parseBody(output.body, context);
|
|
635
|
+
let contents = {};
|
|
636
|
+
contents = de_ListExportsResponse(data, context);
|
|
637
|
+
const response = {
|
|
638
|
+
$metadata: deserializeMetadata(output),
|
|
639
|
+
...contents
|
|
640
|
+
};
|
|
641
|
+
return response;
|
|
642
|
+
}, "de_ListExportsCommand");
|
|
643
|
+
var de_ListExportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
644
|
+
const parsedOutput = {
|
|
645
|
+
...output,
|
|
646
|
+
body: await parseErrorBody(output.body, context)
|
|
647
|
+
};
|
|
648
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
649
|
+
switch (errorCode) {
|
|
650
|
+
case "InternalServerException":
|
|
651
|
+
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
652
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
653
|
+
case "ThrottlingException":
|
|
654
|
+
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
655
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
656
|
+
case "ValidationException":
|
|
657
|
+
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
658
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
659
|
+
default:
|
|
660
|
+
const parsedBody = parsedOutput.body;
|
|
661
|
+
return throwDefaultError({
|
|
662
|
+
output,
|
|
663
|
+
parsedBody,
|
|
664
|
+
errorCode
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
}, "de_ListExportsCommandError");
|
|
668
|
+
var de_ListTablesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
669
|
+
if (output.statusCode >= 300) {
|
|
670
|
+
return de_ListTablesCommandError(output, context);
|
|
671
|
+
}
|
|
672
|
+
const data = await parseBody(output.body, context);
|
|
673
|
+
let contents = {};
|
|
674
|
+
contents = (0, import_smithy_client._json)(data);
|
|
675
|
+
const response = {
|
|
676
|
+
$metadata: deserializeMetadata(output),
|
|
677
|
+
...contents
|
|
678
|
+
};
|
|
679
|
+
return response;
|
|
680
|
+
}, "de_ListTablesCommand");
|
|
681
|
+
var de_ListTablesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
682
|
+
const parsedOutput = {
|
|
683
|
+
...output,
|
|
684
|
+
body: await parseErrorBody(output.body, context)
|
|
685
|
+
};
|
|
686
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
687
|
+
switch (errorCode) {
|
|
688
|
+
case "InternalServerException":
|
|
689
|
+
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
690
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
691
|
+
case "ThrottlingException":
|
|
692
|
+
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
693
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
694
|
+
case "ValidationException":
|
|
695
|
+
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
696
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
697
|
+
default:
|
|
698
|
+
const parsedBody = parsedOutput.body;
|
|
699
|
+
return throwDefaultError({
|
|
700
|
+
output,
|
|
701
|
+
parsedBody,
|
|
702
|
+
errorCode
|
|
703
|
+
});
|
|
704
|
+
}
|
|
705
|
+
}, "de_ListTablesCommandError");
|
|
706
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
707
|
+
if (output.statusCode >= 300) {
|
|
708
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
709
|
+
}
|
|
710
|
+
const data = await parseBody(output.body, context);
|
|
711
|
+
let contents = {};
|
|
712
|
+
contents = (0, import_smithy_client._json)(data);
|
|
713
|
+
const response = {
|
|
714
|
+
$metadata: deserializeMetadata(output),
|
|
715
|
+
...contents
|
|
716
|
+
};
|
|
717
|
+
return response;
|
|
718
|
+
}, "de_ListTagsForResourceCommand");
|
|
719
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
720
|
+
const parsedOutput = {
|
|
721
|
+
...output,
|
|
722
|
+
body: await parseErrorBody(output.body, context)
|
|
723
|
+
};
|
|
724
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
725
|
+
switch (errorCode) {
|
|
726
|
+
case "InternalServerException":
|
|
727
|
+
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
728
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
729
|
+
case "ResourceNotFoundException":
|
|
730
|
+
case "com.amazonaws.bcmdataexports#ResourceNotFoundException":
|
|
731
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
732
|
+
case "ThrottlingException":
|
|
733
|
+
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
734
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
735
|
+
case "ValidationException":
|
|
736
|
+
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
737
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
738
|
+
default:
|
|
739
|
+
const parsedBody = parsedOutput.body;
|
|
740
|
+
return throwDefaultError({
|
|
741
|
+
output,
|
|
742
|
+
parsedBody,
|
|
743
|
+
errorCode
|
|
744
|
+
});
|
|
745
|
+
}
|
|
746
|
+
}, "de_ListTagsForResourceCommandError");
|
|
747
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
748
|
+
if (output.statusCode >= 300) {
|
|
749
|
+
return de_TagResourceCommandError(output, context);
|
|
750
|
+
}
|
|
751
|
+
const data = await parseBody(output.body, context);
|
|
752
|
+
let contents = {};
|
|
753
|
+
contents = (0, import_smithy_client._json)(data);
|
|
754
|
+
const response = {
|
|
755
|
+
$metadata: deserializeMetadata(output),
|
|
756
|
+
...contents
|
|
757
|
+
};
|
|
758
|
+
return response;
|
|
759
|
+
}, "de_TagResourceCommand");
|
|
760
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
761
|
+
const parsedOutput = {
|
|
762
|
+
...output,
|
|
763
|
+
body: await parseErrorBody(output.body, context)
|
|
764
|
+
};
|
|
765
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
766
|
+
switch (errorCode) {
|
|
767
|
+
case "InternalServerException":
|
|
768
|
+
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
769
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
770
|
+
case "ResourceNotFoundException":
|
|
771
|
+
case "com.amazonaws.bcmdataexports#ResourceNotFoundException":
|
|
772
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
773
|
+
case "ThrottlingException":
|
|
774
|
+
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
775
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
776
|
+
case "ValidationException":
|
|
777
|
+
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
778
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
779
|
+
default:
|
|
780
|
+
const parsedBody = parsedOutput.body;
|
|
781
|
+
return throwDefaultError({
|
|
782
|
+
output,
|
|
783
|
+
parsedBody,
|
|
784
|
+
errorCode
|
|
785
|
+
});
|
|
786
|
+
}
|
|
787
|
+
}, "de_TagResourceCommandError");
|
|
788
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
789
|
+
if (output.statusCode >= 300) {
|
|
790
|
+
return de_UntagResourceCommandError(output, context);
|
|
791
|
+
}
|
|
792
|
+
const data = await parseBody(output.body, context);
|
|
793
|
+
let contents = {};
|
|
794
|
+
contents = (0, import_smithy_client._json)(data);
|
|
795
|
+
const response = {
|
|
796
|
+
$metadata: deserializeMetadata(output),
|
|
797
|
+
...contents
|
|
798
|
+
};
|
|
799
|
+
return response;
|
|
800
|
+
}, "de_UntagResourceCommand");
|
|
801
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
802
|
+
const parsedOutput = {
|
|
803
|
+
...output,
|
|
804
|
+
body: await parseErrorBody(output.body, context)
|
|
805
|
+
};
|
|
806
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
807
|
+
switch (errorCode) {
|
|
808
|
+
case "InternalServerException":
|
|
809
|
+
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
810
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
811
|
+
case "ResourceNotFoundException":
|
|
812
|
+
case "com.amazonaws.bcmdataexports#ResourceNotFoundException":
|
|
813
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
814
|
+
case "ThrottlingException":
|
|
815
|
+
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
816
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
817
|
+
case "ValidationException":
|
|
818
|
+
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
819
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
820
|
+
default:
|
|
821
|
+
const parsedBody = parsedOutput.body;
|
|
822
|
+
return throwDefaultError({
|
|
823
|
+
output,
|
|
824
|
+
parsedBody,
|
|
825
|
+
errorCode
|
|
826
|
+
});
|
|
827
|
+
}
|
|
828
|
+
}, "de_UntagResourceCommandError");
|
|
829
|
+
var de_UpdateExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
830
|
+
if (output.statusCode >= 300) {
|
|
831
|
+
return de_UpdateExportCommandError(output, context);
|
|
832
|
+
}
|
|
833
|
+
const data = await parseBody(output.body, context);
|
|
834
|
+
let contents = {};
|
|
835
|
+
contents = (0, import_smithy_client._json)(data);
|
|
836
|
+
const response = {
|
|
837
|
+
$metadata: deserializeMetadata(output),
|
|
838
|
+
...contents
|
|
839
|
+
};
|
|
840
|
+
return response;
|
|
841
|
+
}, "de_UpdateExportCommand");
|
|
842
|
+
var de_UpdateExportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
843
|
+
const parsedOutput = {
|
|
844
|
+
...output,
|
|
845
|
+
body: await parseErrorBody(output.body, context)
|
|
846
|
+
};
|
|
847
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
848
|
+
switch (errorCode) {
|
|
849
|
+
case "InternalServerException":
|
|
850
|
+
case "com.amazonaws.bcmdataexports#InternalServerException":
|
|
851
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
852
|
+
case "ResourceNotFoundException":
|
|
853
|
+
case "com.amazonaws.bcmdataexports#ResourceNotFoundException":
|
|
854
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
855
|
+
case "ThrottlingException":
|
|
856
|
+
case "com.amazonaws.bcmdataexports#ThrottlingException":
|
|
857
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
858
|
+
case "ValidationException":
|
|
859
|
+
case "com.amazonaws.bcmdataexports#ValidationException":
|
|
860
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
861
|
+
default:
|
|
862
|
+
const parsedBody = parsedOutput.body;
|
|
863
|
+
return throwDefaultError({
|
|
864
|
+
output,
|
|
865
|
+
parsedBody,
|
|
866
|
+
errorCode
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
}, "de_UpdateExportCommandError");
|
|
870
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
871
|
+
const body = parsedOutput.body;
|
|
872
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
873
|
+
const exception = new InternalServerException({
|
|
874
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
875
|
+
...deserialized
|
|
876
|
+
});
|
|
877
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
878
|
+
}, "de_InternalServerExceptionRes");
|
|
879
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
880
|
+
const body = parsedOutput.body;
|
|
881
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
882
|
+
const exception = new ResourceNotFoundException({
|
|
883
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
884
|
+
...deserialized
|
|
885
|
+
});
|
|
886
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
887
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
888
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
889
|
+
const body = parsedOutput.body;
|
|
890
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
891
|
+
const exception = new ServiceQuotaExceededException({
|
|
892
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
893
|
+
...deserialized
|
|
894
|
+
});
|
|
895
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
896
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
897
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
898
|
+
const body = parsedOutput.body;
|
|
899
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
900
|
+
const exception = new ThrottlingException({
|
|
901
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
902
|
+
...deserialized
|
|
903
|
+
});
|
|
904
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
905
|
+
}, "de_ThrottlingExceptionRes");
|
|
906
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
907
|
+
const body = parsedOutput.body;
|
|
908
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
909
|
+
const exception = new ValidationException({
|
|
910
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
911
|
+
...deserialized
|
|
912
|
+
});
|
|
913
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
914
|
+
}, "de_ValidationExceptionRes");
|
|
915
|
+
var de_ExecutionReference = /* @__PURE__ */ __name((output, context) => {
|
|
916
|
+
return (0, import_smithy_client.take)(output, {
|
|
917
|
+
ExecutionId: import_smithy_client.expectString,
|
|
918
|
+
ExecutionStatus: (_) => de_ExecutionStatus(_, context)
|
|
919
|
+
});
|
|
920
|
+
}, "de_ExecutionReference");
|
|
921
|
+
var de_ExecutionReferenceList = /* @__PURE__ */ __name((output, context) => {
|
|
922
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
923
|
+
return de_ExecutionReference(entry, context);
|
|
924
|
+
});
|
|
925
|
+
return retVal;
|
|
926
|
+
}, "de_ExecutionReferenceList");
|
|
927
|
+
var de_ExecutionStatus = /* @__PURE__ */ __name((output, context) => {
|
|
928
|
+
return (0, import_smithy_client.take)(output, {
|
|
929
|
+
CompletedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
930
|
+
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
931
|
+
LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
932
|
+
StatusCode: import_smithy_client.expectString,
|
|
933
|
+
StatusReason: import_smithy_client.expectString
|
|
934
|
+
});
|
|
935
|
+
}, "de_ExecutionStatus");
|
|
936
|
+
var de_ExportReference = /* @__PURE__ */ __name((output, context) => {
|
|
937
|
+
return (0, import_smithy_client.take)(output, {
|
|
938
|
+
ExportArn: import_smithy_client.expectString,
|
|
939
|
+
ExportName: import_smithy_client.expectString,
|
|
940
|
+
ExportStatus: (_) => de_ExportStatus(_, context)
|
|
941
|
+
});
|
|
942
|
+
}, "de_ExportReference");
|
|
943
|
+
var de_ExportReferenceList = /* @__PURE__ */ __name((output, context) => {
|
|
944
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
945
|
+
return de_ExportReference(entry, context);
|
|
946
|
+
});
|
|
947
|
+
return retVal;
|
|
948
|
+
}, "de_ExportReferenceList");
|
|
949
|
+
var de_ExportStatus = /* @__PURE__ */ __name((output, context) => {
|
|
950
|
+
return (0, import_smithy_client.take)(output, {
|
|
951
|
+
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
952
|
+
LastRefreshedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
953
|
+
LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
954
|
+
StatusCode: import_smithy_client.expectString,
|
|
955
|
+
StatusReason: import_smithy_client.expectString
|
|
956
|
+
});
|
|
957
|
+
}, "de_ExportStatus");
|
|
958
|
+
var de_GetExecutionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
959
|
+
return (0, import_smithy_client.take)(output, {
|
|
960
|
+
ExecutionId: import_smithy_client.expectString,
|
|
961
|
+
ExecutionStatus: (_) => de_ExecutionStatus(_, context),
|
|
962
|
+
Export: import_smithy_client._json
|
|
963
|
+
});
|
|
964
|
+
}, "de_GetExecutionResponse");
|
|
965
|
+
var de_GetExportResponse = /* @__PURE__ */ __name((output, context) => {
|
|
966
|
+
return (0, import_smithy_client.take)(output, {
|
|
967
|
+
Export: import_smithy_client._json,
|
|
968
|
+
ExportStatus: (_) => de_ExportStatus(_, context)
|
|
969
|
+
});
|
|
970
|
+
}, "de_GetExportResponse");
|
|
971
|
+
var de_ListExecutionsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
972
|
+
return (0, import_smithy_client.take)(output, {
|
|
973
|
+
Executions: (_) => de_ExecutionReferenceList(_, context),
|
|
974
|
+
NextToken: import_smithy_client.expectString
|
|
975
|
+
});
|
|
976
|
+
}, "de_ListExecutionsResponse");
|
|
977
|
+
var de_ListExportsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
978
|
+
return (0, import_smithy_client.take)(output, {
|
|
979
|
+
Exports: (_) => de_ExportReferenceList(_, context),
|
|
980
|
+
NextToken: import_smithy_client.expectString
|
|
981
|
+
});
|
|
982
|
+
}, "de_ListExportsResponse");
|
|
983
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
984
|
+
httpStatusCode: output.statusCode,
|
|
985
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
986
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
987
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
988
|
+
}), "deserializeMetadata");
|
|
989
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
990
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(BCMDataExportsServiceException);
|
|
991
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
992
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
993
|
+
const contents = {
|
|
994
|
+
protocol,
|
|
995
|
+
hostname,
|
|
996
|
+
port,
|
|
997
|
+
method: "POST",
|
|
998
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
999
|
+
headers
|
|
1000
|
+
};
|
|
1001
|
+
if (resolvedHostname !== void 0) {
|
|
1002
|
+
contents.hostname = resolvedHostname;
|
|
1003
|
+
}
|
|
1004
|
+
if (body !== void 0) {
|
|
1005
|
+
contents.body = body;
|
|
1006
|
+
}
|
|
1007
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
1008
|
+
}, "buildHttpRpcRequest");
|
|
1009
|
+
function sharedHeaders(operation) {
|
|
1010
|
+
return {
|
|
1011
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1012
|
+
"x-amz-target": `AWSBillingAndCostManagementDataExports.${operation}`
|
|
1013
|
+
};
|
|
1014
|
+
}
|
|
1015
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
1016
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1017
|
+
if (encoded.length) {
|
|
1018
|
+
return JSON.parse(encoded);
|
|
1019
|
+
}
|
|
1020
|
+
return {};
|
|
1021
|
+
}), "parseBody");
|
|
1022
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1023
|
+
const value = await parseBody(errorBody, context);
|
|
1024
|
+
value.message = value.message ?? value.Message;
|
|
1025
|
+
return value;
|
|
1026
|
+
}, "parseErrorBody");
|
|
1027
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1028
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1029
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1030
|
+
let cleanValue = rawValue;
|
|
1031
|
+
if (typeof cleanValue === "number") {
|
|
1032
|
+
cleanValue = cleanValue.toString();
|
|
1033
|
+
}
|
|
1034
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1035
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1036
|
+
}
|
|
1037
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1038
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1039
|
+
}
|
|
1040
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1041
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1042
|
+
}
|
|
1043
|
+
return cleanValue;
|
|
1044
|
+
}, "sanitizeErrorCode");
|
|
1045
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1046
|
+
if (headerKey !== void 0) {
|
|
1047
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1048
|
+
}
|
|
1049
|
+
if (data.code !== void 0) {
|
|
1050
|
+
return sanitizeErrorCode(data.code);
|
|
1051
|
+
}
|
|
1052
|
+
if (data["__type"] !== void 0) {
|
|
1053
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1054
|
+
}
|
|
1055
|
+
}, "loadRestJsonErrorCode");
|
|
1056
|
+
|
|
1057
|
+
// src/commands/CreateExportCommand.ts
|
|
1058
|
+
var _CreateExportCommand = class _CreateExportCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1059
|
+
...commonParams
|
|
1060
|
+
}).m(function(Command, cs, config, o) {
|
|
1061
|
+
return [
|
|
1062
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1063
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1064
|
+
];
|
|
1065
|
+
}).s("AWSBillingAndCostManagementDataExports", "CreateExport", {}).n("BCMDataExportsClient", "CreateExportCommand").f(void 0, void 0).ser(se_CreateExportCommand).de(de_CreateExportCommand).build() {
|
|
1066
|
+
};
|
|
1067
|
+
__name(_CreateExportCommand, "CreateExportCommand");
|
|
1068
|
+
var CreateExportCommand = _CreateExportCommand;
|
|
1069
|
+
|
|
1070
|
+
// src/commands/DeleteExportCommand.ts
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
var _DeleteExportCommand = class _DeleteExportCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1076
|
+
...commonParams
|
|
1077
|
+
}).m(function(Command, cs, config, o) {
|
|
1078
|
+
return [
|
|
1079
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1080
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1081
|
+
];
|
|
1082
|
+
}).s("AWSBillingAndCostManagementDataExports", "DeleteExport", {}).n("BCMDataExportsClient", "DeleteExportCommand").f(void 0, void 0).ser(se_DeleteExportCommand).de(de_DeleteExportCommand).build() {
|
|
1083
|
+
};
|
|
1084
|
+
__name(_DeleteExportCommand, "DeleteExportCommand");
|
|
1085
|
+
var DeleteExportCommand = _DeleteExportCommand;
|
|
1086
|
+
|
|
1087
|
+
// src/commands/GetExecutionCommand.ts
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
var _GetExecutionCommand = class _GetExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1093
|
+
...commonParams
|
|
1094
|
+
}).m(function(Command, cs, config, o) {
|
|
1095
|
+
return [
|
|
1096
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1097
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1098
|
+
];
|
|
1099
|
+
}).s("AWSBillingAndCostManagementDataExports", "GetExecution", {}).n("BCMDataExportsClient", "GetExecutionCommand").f(void 0, void 0).ser(se_GetExecutionCommand).de(de_GetExecutionCommand).build() {
|
|
1100
|
+
};
|
|
1101
|
+
__name(_GetExecutionCommand, "GetExecutionCommand");
|
|
1102
|
+
var GetExecutionCommand = _GetExecutionCommand;
|
|
1103
|
+
|
|
1104
|
+
// src/commands/GetExportCommand.ts
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
var _GetExportCommand = class _GetExportCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1110
|
+
...commonParams
|
|
1111
|
+
}).m(function(Command, cs, config, o) {
|
|
1112
|
+
return [
|
|
1113
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1114
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1115
|
+
];
|
|
1116
|
+
}).s("AWSBillingAndCostManagementDataExports", "GetExport", {}).n("BCMDataExportsClient", "GetExportCommand").f(void 0, void 0).ser(se_GetExportCommand).de(de_GetExportCommand).build() {
|
|
1117
|
+
};
|
|
1118
|
+
__name(_GetExportCommand, "GetExportCommand");
|
|
1119
|
+
var GetExportCommand = _GetExportCommand;
|
|
1120
|
+
|
|
1121
|
+
// src/commands/GetTableCommand.ts
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
var _GetTableCommand = class _GetTableCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1127
|
+
...commonParams
|
|
1128
|
+
}).m(function(Command, cs, config, o) {
|
|
1129
|
+
return [
|
|
1130
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1131
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1132
|
+
];
|
|
1133
|
+
}).s("AWSBillingAndCostManagementDataExports", "GetTable", {}).n("BCMDataExportsClient", "GetTableCommand").f(void 0, void 0).ser(se_GetTableCommand).de(de_GetTableCommand).build() {
|
|
1134
|
+
};
|
|
1135
|
+
__name(_GetTableCommand, "GetTableCommand");
|
|
1136
|
+
var GetTableCommand = _GetTableCommand;
|
|
1137
|
+
|
|
1138
|
+
// src/commands/ListExecutionsCommand.ts
|
|
1139
|
+
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
var _ListExecutionsCommand = class _ListExecutionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1144
|
+
...commonParams
|
|
1145
|
+
}).m(function(Command, cs, config, o) {
|
|
1146
|
+
return [
|
|
1147
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1148
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1149
|
+
];
|
|
1150
|
+
}).s("AWSBillingAndCostManagementDataExports", "ListExecutions", {}).n("BCMDataExportsClient", "ListExecutionsCommand").f(void 0, void 0).ser(se_ListExecutionsCommand).de(de_ListExecutionsCommand).build() {
|
|
1151
|
+
};
|
|
1152
|
+
__name(_ListExecutionsCommand, "ListExecutionsCommand");
|
|
1153
|
+
var ListExecutionsCommand = _ListExecutionsCommand;
|
|
1154
|
+
|
|
1155
|
+
// src/commands/ListExportsCommand.ts
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
var _ListExportsCommand = class _ListExportsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1161
|
+
...commonParams
|
|
1162
|
+
}).m(function(Command, cs, config, o) {
|
|
1163
|
+
return [
|
|
1164
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1165
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1166
|
+
];
|
|
1167
|
+
}).s("AWSBillingAndCostManagementDataExports", "ListExports", {}).n("BCMDataExportsClient", "ListExportsCommand").f(void 0, void 0).ser(se_ListExportsCommand).de(de_ListExportsCommand).build() {
|
|
1168
|
+
};
|
|
1169
|
+
__name(_ListExportsCommand, "ListExportsCommand");
|
|
1170
|
+
var ListExportsCommand = _ListExportsCommand;
|
|
1171
|
+
|
|
1172
|
+
// src/commands/ListTablesCommand.ts
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
var _ListTablesCommand = class _ListTablesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1178
|
+
...commonParams
|
|
1179
|
+
}).m(function(Command, cs, config, o) {
|
|
1180
|
+
return [
|
|
1181
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1182
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1183
|
+
];
|
|
1184
|
+
}).s("AWSBillingAndCostManagementDataExports", "ListTables", {}).n("BCMDataExportsClient", "ListTablesCommand").f(void 0, void 0).ser(se_ListTablesCommand).de(de_ListTablesCommand).build() {
|
|
1185
|
+
};
|
|
1186
|
+
__name(_ListTablesCommand, "ListTablesCommand");
|
|
1187
|
+
var ListTablesCommand = _ListTablesCommand;
|
|
1188
|
+
|
|
1189
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1195
|
+
...commonParams
|
|
1196
|
+
}).m(function(Command, cs, config, o) {
|
|
1197
|
+
return [
|
|
1198
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1199
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1200
|
+
];
|
|
1201
|
+
}).s("AWSBillingAndCostManagementDataExports", "ListTagsForResource", {}).n("BCMDataExportsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1202
|
+
};
|
|
1203
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1204
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1205
|
+
|
|
1206
|
+
// src/commands/TagResourceCommand.ts
|
|
1207
|
+
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1212
|
+
...commonParams
|
|
1213
|
+
}).m(function(Command, cs, config, o) {
|
|
1214
|
+
return [
|
|
1215
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1216
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1217
|
+
];
|
|
1218
|
+
}).s("AWSBillingAndCostManagementDataExports", "TagResource", {}).n("BCMDataExportsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1219
|
+
};
|
|
1220
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1221
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
1222
|
+
|
|
1223
|
+
// src/commands/UntagResourceCommand.ts
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1229
|
+
...commonParams
|
|
1230
|
+
}).m(function(Command, cs, config, o) {
|
|
1231
|
+
return [
|
|
1232
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1233
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1234
|
+
];
|
|
1235
|
+
}).s("AWSBillingAndCostManagementDataExports", "UntagResource", {}).n("BCMDataExportsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1236
|
+
};
|
|
1237
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1238
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
1239
|
+
|
|
1240
|
+
// src/commands/UpdateExportCommand.ts
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
var _UpdateExportCommand = class _UpdateExportCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1246
|
+
...commonParams
|
|
1247
|
+
}).m(function(Command, cs, config, o) {
|
|
1248
|
+
return [
|
|
1249
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1250
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1251
|
+
];
|
|
1252
|
+
}).s("AWSBillingAndCostManagementDataExports", "UpdateExport", {}).n("BCMDataExportsClient", "UpdateExportCommand").f(void 0, void 0).ser(se_UpdateExportCommand).de(de_UpdateExportCommand).build() {
|
|
1253
|
+
};
|
|
1254
|
+
__name(_UpdateExportCommand, "UpdateExportCommand");
|
|
1255
|
+
var UpdateExportCommand = _UpdateExportCommand;
|
|
1256
|
+
|
|
1257
|
+
// src/BCMDataExports.ts
|
|
1258
|
+
var commands = {
|
|
1259
|
+
CreateExportCommand,
|
|
1260
|
+
DeleteExportCommand,
|
|
1261
|
+
GetExecutionCommand,
|
|
1262
|
+
GetExportCommand,
|
|
1263
|
+
GetTableCommand,
|
|
1264
|
+
ListExecutionsCommand,
|
|
1265
|
+
ListExportsCommand,
|
|
1266
|
+
ListTablesCommand,
|
|
1267
|
+
ListTagsForResourceCommand,
|
|
1268
|
+
TagResourceCommand,
|
|
1269
|
+
UntagResourceCommand,
|
|
1270
|
+
UpdateExportCommand
|
|
1271
|
+
};
|
|
1272
|
+
var _BCMDataExports = class _BCMDataExports extends BCMDataExportsClient {
|
|
1273
|
+
};
|
|
1274
|
+
__name(_BCMDataExports, "BCMDataExports");
|
|
1275
|
+
var BCMDataExports = _BCMDataExports;
|
|
1276
|
+
(0, import_smithy_client.createAggregatedClient)(commands, BCMDataExports);
|
|
1277
|
+
|
|
1278
|
+
// src/pagination/ListExecutionsPaginator.ts
|
|
1279
|
+
var import_core = require("@smithy/core");
|
|
1280
|
+
var paginateListExecutions = (0, import_core.createPaginator)(BCMDataExportsClient, ListExecutionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1281
|
+
|
|
1282
|
+
// src/pagination/ListExportsPaginator.ts
|
|
1283
|
+
|
|
1284
|
+
var paginateListExports = (0, import_core.createPaginator)(BCMDataExportsClient, ListExportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1285
|
+
|
|
1286
|
+
// src/pagination/ListTablesPaginator.ts
|
|
1287
|
+
|
|
1288
|
+
var paginateListTables = (0, import_core.createPaginator)(BCMDataExportsClient, ListTablesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1289
|
+
|
|
1290
|
+
// src/index.ts
|
|
1291
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1292
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1293
|
+
0 && (module.exports = {
|
|
1294
|
+
BCMDataExports,
|
|
1295
|
+
BCMDataExportsClient,
|
|
1296
|
+
BCMDataExportsServiceException,
|
|
1297
|
+
CompressionOption,
|
|
1298
|
+
CreateExportCommand,
|
|
1299
|
+
DeleteExportCommand,
|
|
1300
|
+
ExecutionStatusCode,
|
|
1301
|
+
ExecutionStatusReason,
|
|
1302
|
+
ExportStatusCode,
|
|
1303
|
+
FormatOption,
|
|
1304
|
+
FrequencyOption,
|
|
1305
|
+
GetExecutionCommand,
|
|
1306
|
+
GetExportCommand,
|
|
1307
|
+
GetTableCommand,
|
|
1308
|
+
InternalServerException,
|
|
1309
|
+
ListExecutionsCommand,
|
|
1310
|
+
ListExportsCommand,
|
|
1311
|
+
ListTablesCommand,
|
|
1312
|
+
ListTagsForResourceCommand,
|
|
1313
|
+
OverwriteOption,
|
|
1314
|
+
ResourceNotFoundException,
|
|
1315
|
+
S3OutputType,
|
|
1316
|
+
ServiceQuotaExceededException,
|
|
1317
|
+
TagResourceCommand,
|
|
1318
|
+
ThrottlingException,
|
|
1319
|
+
UntagResourceCommand,
|
|
1320
|
+
UpdateExportCommand,
|
|
1321
|
+
ValidationException,
|
|
1322
|
+
ValidationExceptionReason,
|
|
1323
|
+
__Client,
|
|
1324
|
+
paginateListExecutions,
|
|
1325
|
+
paginateListExports,
|
|
1326
|
+
paginateListTables
|
|
1327
|
+
});
|