@aws-sdk/client-bcm-data-exports 3.458.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.
Files changed (139) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +308 -0
  3. package/dist-cjs/BCMDataExports.js +35 -0
  4. package/dist-cjs/BCMDataExportsClient.js +43 -0
  5. package/dist-cjs/commands/CreateExportCommand.js +50 -0
  6. package/dist-cjs/commands/DeleteExportCommand.js +50 -0
  7. package/dist-cjs/commands/GetExecutionCommand.js +50 -0
  8. package/dist-cjs/commands/GetExportCommand.js +50 -0
  9. package/dist-cjs/commands/GetTableCommand.js +50 -0
  10. package/dist-cjs/commands/ListExecutionsCommand.js +50 -0
  11. package/dist-cjs/commands/ListExportsCommand.js +50 -0
  12. package/dist-cjs/commands/ListTablesCommand.js +50 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +50 -0
  14. package/dist-cjs/commands/TagResourceCommand.js +50 -0
  15. package/dist-cjs/commands/UntagResourceCommand.js +50 -0
  16. package/dist-cjs/commands/UpdateExportCommand.js +50 -0
  17. package/dist-cjs/commands/index.js +15 -0
  18. package/dist-cjs/endpoint/EndpointParameters.js +11 -0
  19. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  20. package/dist-cjs/endpoint/ruleset.js +7 -0
  21. package/dist-cjs/extensionConfiguration.js +2 -0
  22. package/dist-cjs/index.js +12 -0
  23. package/dist-cjs/models/BCMDataExportsServiceException.js +12 -0
  24. package/dist-cjs/models/index.js +4 -0
  25. package/dist-cjs/models/models_0.js +126 -0
  26. package/dist-cjs/pagination/Interfaces.js +2 -0
  27. package/dist-cjs/pagination/ListExecutionsPaginator.js +29 -0
  28. package/dist-cjs/pagination/ListExportsPaginator.js +29 -0
  29. package/dist-cjs/pagination/ListTablesPaginator.js +29 -0
  30. package/dist-cjs/pagination/index.js +7 -0
  31. package/dist-cjs/protocols/Aws_json1_1.js +775 -0
  32. package/dist-cjs/runtimeConfig.browser.js +39 -0
  33. package/dist-cjs/runtimeConfig.js +50 -0
  34. package/dist-cjs/runtimeConfig.native.js +15 -0
  35. package/dist-cjs/runtimeConfig.shared.js +24 -0
  36. package/dist-cjs/runtimeExtensions.js +22 -0
  37. package/dist-es/BCMDataExports.js +31 -0
  38. package/dist-es/BCMDataExportsClient.js +39 -0
  39. package/dist-es/commands/CreateExportCommand.js +46 -0
  40. package/dist-es/commands/DeleteExportCommand.js +46 -0
  41. package/dist-es/commands/GetExecutionCommand.js +46 -0
  42. package/dist-es/commands/GetExportCommand.js +46 -0
  43. package/dist-es/commands/GetTableCommand.js +46 -0
  44. package/dist-es/commands/ListExecutionsCommand.js +46 -0
  45. package/dist-es/commands/ListExportsCommand.js +46 -0
  46. package/dist-es/commands/ListTablesCommand.js +46 -0
  47. package/dist-es/commands/ListTagsForResourceCommand.js +46 -0
  48. package/dist-es/commands/TagResourceCommand.js +46 -0
  49. package/dist-es/commands/UntagResourceCommand.js +46 -0
  50. package/dist-es/commands/UpdateExportCommand.js +46 -0
  51. package/dist-es/commands/index.js +12 -0
  52. package/dist-es/endpoint/EndpointParameters.js +7 -0
  53. package/dist-es/endpoint/endpointResolver.js +8 -0
  54. package/dist-es/endpoint/ruleset.js +4 -0
  55. package/dist-es/extensionConfiguration.js +1 -0
  56. package/dist-es/index.js +7 -0
  57. package/dist-es/models/BCMDataExportsServiceException.js +8 -0
  58. package/dist-es/models/index.js +1 -0
  59. package/dist-es/models/models_0.js +118 -0
  60. package/dist-es/pagination/Interfaces.js +1 -0
  61. package/dist-es/pagination/ListExecutionsPaginator.js +25 -0
  62. package/dist-es/pagination/ListExportsPaginator.js +25 -0
  63. package/dist-es/pagination/ListTablesPaginator.js +25 -0
  64. package/dist-es/pagination/index.js +4 -0
  65. package/dist-es/protocols/Aws_json1_1.js +748 -0
  66. package/dist-es/runtimeConfig.browser.js +34 -0
  67. package/dist-es/runtimeConfig.js +45 -0
  68. package/dist-es/runtimeConfig.native.js +11 -0
  69. package/dist-es/runtimeConfig.shared.js +20 -0
  70. package/dist-es/runtimeExtensions.js +18 -0
  71. package/dist-types/BCMDataExports.d.ts +101 -0
  72. package/dist-types/BCMDataExportsClient.d.ts +188 -0
  73. package/dist-types/commands/CreateExportCommand.d.ts +138 -0
  74. package/dist-types/commands/DeleteExportCommand.d.ts +87 -0
  75. package/dist-types/commands/GetExecutionCommand.d.ts +124 -0
  76. package/dist-types/commands/GetExportCommand.d.ts +122 -0
  77. package/dist-types/commands/GetTableCommand.d.ts +99 -0
  78. package/dist-types/commands/ListExecutionsCommand.d.ts +101 -0
  79. package/dist-types/commands/ListExportsCommand.d.ts +98 -0
  80. package/dist-types/commands/ListTablesCommand.d.ts +101 -0
  81. package/dist-types/commands/ListTagsForResourceCommand.d.ts +95 -0
  82. package/dist-types/commands/TagResourceCommand.d.ts +91 -0
  83. package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
  84. package/dist-types/commands/UpdateExportCommand.d.ts +117 -0
  85. package/dist-types/commands/index.d.ts +12 -0
  86. package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
  87. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  88. package/dist-types/endpoint/ruleset.d.ts +2 -0
  89. package/dist-types/extensionConfiguration.d.ts +8 -0
  90. package/dist-types/index.d.ts +22 -0
  91. package/dist-types/models/BCMDataExportsServiceException.d.ts +13 -0
  92. package/dist-types/models/index.d.ts +1 -0
  93. package/dist-types/models/models_0.d.ts +921 -0
  94. package/dist-types/pagination/Interfaces.d.ts +8 -0
  95. package/dist-types/pagination/ListExecutionsPaginator.d.ts +7 -0
  96. package/dist-types/pagination/ListExportsPaginator.d.ts +7 -0
  97. package/dist-types/pagination/ListTablesPaginator.d.ts +7 -0
  98. package/dist-types/pagination/index.d.ts +4 -0
  99. package/dist-types/protocols/Aws_json1_1.d.ts +110 -0
  100. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  101. package/dist-types/runtimeConfig.d.ts +46 -0
  102. package/dist-types/runtimeConfig.native.d.ts +45 -0
  103. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  104. package/dist-types/runtimeExtensions.d.ts +17 -0
  105. package/dist-types/ts3.4/BCMDataExports.d.ts +211 -0
  106. package/dist-types/ts3.4/BCMDataExportsClient.d.ts +191 -0
  107. package/dist-types/ts3.4/commands/CreateExportCommand.d.ts +35 -0
  108. package/dist-types/ts3.4/commands/DeleteExportCommand.d.ts +35 -0
  109. package/dist-types/ts3.4/commands/GetExecutionCommand.d.ts +35 -0
  110. package/dist-types/ts3.4/commands/GetExportCommand.d.ts +35 -0
  111. package/dist-types/ts3.4/commands/GetTableCommand.d.ts +35 -0
  112. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +38 -0
  113. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +35 -0
  114. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +35 -0
  115. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  118. package/dist-types/ts3.4/commands/UpdateExportCommand.d.ts +35 -0
  119. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  120. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +31 -0
  121. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  122. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  123. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  124. package/dist-types/ts3.4/index.d.ts +10 -0
  125. package/dist-types/ts3.4/models/BCMDataExportsServiceException.d.ts +8 -0
  126. package/dist-types/ts3.4/models/index.d.ts +1 -0
  127. package/dist-types/ts3.4/models/models_0.d.ts +277 -0
  128. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  129. package/dist-types/ts3.4/pagination/ListExecutionsPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  133. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +149 -0
  134. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  135. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  136. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  137. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  138. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  139. package/package.json +102 -0
@@ -0,0 +1,921 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { BCMDataExportsServiceException as __BaseException } from "./BCMDataExportsServiceException";
3
+ /**
4
+ * @public
5
+ * <p>The SQL query of column selections and row filters from the data table you want.</p>
6
+ */
7
+ export interface DataQuery {
8
+ /**
9
+ * @public
10
+ * <p>The query statement.</p>
11
+ */
12
+ QueryStatement: string | undefined;
13
+ /**
14
+ * @public
15
+ * <p>The table configuration.</p>
16
+ */
17
+ TableConfigurations?: Record<string, Record<string, string>>;
18
+ }
19
+ /**
20
+ * @public
21
+ * @enum
22
+ */
23
+ export declare const CompressionOption: {
24
+ readonly GZIP: "GZIP";
25
+ readonly PARQUET: "PARQUET";
26
+ };
27
+ /**
28
+ * @public
29
+ */
30
+ export type CompressionOption = (typeof CompressionOption)[keyof typeof CompressionOption];
31
+ /**
32
+ * @public
33
+ * @enum
34
+ */
35
+ export declare const FormatOption: {
36
+ readonly PARQUET: "PARQUET";
37
+ readonly TEXT_OR_CSV: "TEXT_OR_CSV";
38
+ };
39
+ /**
40
+ * @public
41
+ */
42
+ export type FormatOption = (typeof FormatOption)[keyof typeof FormatOption];
43
+ /**
44
+ * @public
45
+ * @enum
46
+ */
47
+ export declare const S3OutputType: {
48
+ readonly CUSTOM: "CUSTOM";
49
+ };
50
+ /**
51
+ * @public
52
+ */
53
+ export type S3OutputType = (typeof S3OutputType)[keyof typeof S3OutputType];
54
+ /**
55
+ * @public
56
+ * @enum
57
+ */
58
+ export declare const OverwriteOption: {
59
+ readonly CREATE_NEW_REPORT: "CREATE_NEW_REPORT";
60
+ readonly OVERWRITE_REPORT: "OVERWRITE_REPORT";
61
+ };
62
+ /**
63
+ * @public
64
+ */
65
+ export type OverwriteOption = (typeof OverwriteOption)[keyof typeof OverwriteOption];
66
+ /**
67
+ * @public
68
+ * <p>The compression type, file format, and overwrite preference for the data export.</p>
69
+ */
70
+ export interface S3OutputConfigurations {
71
+ /**
72
+ * @public
73
+ * <p>The output type for the data export.</p>
74
+ */
75
+ OutputType: S3OutputType | undefined;
76
+ /**
77
+ * @public
78
+ * <p>The file format for the data export.</p>
79
+ */
80
+ Format: FormatOption | undefined;
81
+ /**
82
+ * @public
83
+ * <p>The compression type for the data export.</p>
84
+ */
85
+ Compression: CompressionOption | undefined;
86
+ /**
87
+ * @public
88
+ * <p>The rule to follow when generating a version of the data export file. You have the choice
89
+ * to overwrite the previous version or to be delivered in addition to the previous versions.
90
+ * Overwriting exports can save on Amazon S3 storage costs. Creating new export versions allows
91
+ * you to track the changes in cost and usage data over time.</p>
92
+ */
93
+ Overwrite: OverwriteOption | undefined;
94
+ }
95
+ /**
96
+ * @public
97
+ * <p>Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and object
98
+ * keys of a data exports file.</p>
99
+ */
100
+ export interface S3Destination {
101
+ /**
102
+ * @public
103
+ * <p>The name of the Amazon S3 bucket used as the destination of a data export file.</p>
104
+ */
105
+ S3Bucket: string | undefined;
106
+ /**
107
+ * @public
108
+ * <p>The S3 path prefix you want prepended to the name of your data export.</p>
109
+ */
110
+ S3Prefix: string | undefined;
111
+ /**
112
+ * @public
113
+ * <p>The S3 bucket Region.</p>
114
+ */
115
+ S3Region: string | undefined;
116
+ /**
117
+ * @public
118
+ * <p>The output configuration for the data export.</p>
119
+ */
120
+ S3OutputConfigurations: S3OutputConfigurations | undefined;
121
+ }
122
+ /**
123
+ * @public
124
+ * <p>The destinations used for data exports.</p>
125
+ */
126
+ export interface DestinationConfigurations {
127
+ /**
128
+ * @public
129
+ * <p>An object that describes the destination of the data exports file.</p>
130
+ */
131
+ S3Destination: S3Destination | undefined;
132
+ }
133
+ /**
134
+ * @public
135
+ * @enum
136
+ */
137
+ export declare const FrequencyOption: {
138
+ readonly SYNCHRONOUS: "SYNCHRONOUS";
139
+ };
140
+ /**
141
+ * @public
142
+ */
143
+ export type FrequencyOption = (typeof FrequencyOption)[keyof typeof FrequencyOption];
144
+ /**
145
+ * @public
146
+ * <p>The cadence for Amazon Web Services to update the data export in your S3 bucket.</p>
147
+ */
148
+ export interface RefreshCadence {
149
+ /**
150
+ * @public
151
+ * <p>The frequency that data exports are updated. The export refreshes each time the source
152
+ * data updates, up to three times daily.</p>
153
+ */
154
+ Frequency: FrequencyOption | undefined;
155
+ }
156
+ /**
157
+ * @public
158
+ * <p>The details that are available for an export.</p>
159
+ */
160
+ export interface Export {
161
+ /**
162
+ * @public
163
+ * <p>The Amazon Resource Name (ARN) for this export.</p>
164
+ */
165
+ ExportArn?: string;
166
+ /**
167
+ * @public
168
+ * <p>The name of this specific data export.</p>
169
+ */
170
+ Name: string | undefined;
171
+ /**
172
+ * @public
173
+ * <p>The description for this specific data export.</p>
174
+ */
175
+ Description?: string;
176
+ /**
177
+ * @public
178
+ * <p>The data query for this specific data export.</p>
179
+ */
180
+ DataQuery: DataQuery | undefined;
181
+ /**
182
+ * @public
183
+ * <p>The destination configuration for this specific data export.</p>
184
+ */
185
+ DestinationConfigurations: DestinationConfigurations | undefined;
186
+ /**
187
+ * @public
188
+ * <p>The cadence for Amazon Web Services to update the export in your S3 bucket.</p>
189
+ */
190
+ RefreshCadence: RefreshCadence | undefined;
191
+ }
192
+ /**
193
+ * @public
194
+ * <p>The tag structure that contains a tag key and value.</p>
195
+ */
196
+ export interface ResourceTag {
197
+ /**
198
+ * @public
199
+ * <p>The key that's associated with the tag.</p>
200
+ */
201
+ Key: string | undefined;
202
+ /**
203
+ * @public
204
+ * <p>The value that's associated with the tag.</p>
205
+ */
206
+ Value: string | undefined;
207
+ }
208
+ /**
209
+ * @public
210
+ */
211
+ export interface CreateExportRequest {
212
+ /**
213
+ * @public
214
+ * <p>The details of the export, including data query, name, description, and destination
215
+ * configuration.</p>
216
+ */
217
+ Export: Export | undefined;
218
+ /**
219
+ * @public
220
+ * <p>An optional list of tags to associate with the specified export. Each tag consists of a
221
+ * key and a value, and each key must be unique for the resource.</p>
222
+ */
223
+ ResourceTags?: ResourceTag[];
224
+ }
225
+ /**
226
+ * @public
227
+ */
228
+ export interface CreateExportResponse {
229
+ /**
230
+ * @public
231
+ * <p>The Amazon Resource Name (ARN) for this export.</p>
232
+ */
233
+ ExportArn?: string;
234
+ }
235
+ /**
236
+ * @public
237
+ * <p>An error on the server occurred during the processing of your request. Try again
238
+ * later.</p>
239
+ */
240
+ export declare class InternalServerException extends __BaseException {
241
+ readonly name: "InternalServerException";
242
+ readonly $fault: "server";
243
+ Message: string | undefined;
244
+ /**
245
+ * @internal
246
+ */
247
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
248
+ }
249
+ /**
250
+ * @public
251
+ * <p>You've reached the limit on the number of resources you can create, or exceeded the size
252
+ * of an individual resource.</p>
253
+ */
254
+ export declare class ServiceQuotaExceededException extends __BaseException {
255
+ readonly name: "ServiceQuotaExceededException";
256
+ readonly $fault: "client";
257
+ Message: string | undefined;
258
+ /**
259
+ * @public
260
+ * <p>The identifier of the resource that exceeded quota.</p>
261
+ */
262
+ ResourceId?: string;
263
+ /**
264
+ * @public
265
+ * <p>The type of the resource that exceeded quota.</p>
266
+ */
267
+ ResourceType?: string;
268
+ /**
269
+ * @public
270
+ * <p>The quota code that was exceeded.</p>
271
+ */
272
+ QuotaCode: string | undefined;
273
+ /**
274
+ * @public
275
+ * <p>The service code that exceeded quota. It will always be
276
+ * “AWSBillingAndCostManagementDataExports”.</p>
277
+ */
278
+ ServiceCode: string | undefined;
279
+ /**
280
+ * @internal
281
+ */
282
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
283
+ }
284
+ /**
285
+ * @public
286
+ * <p>The request was denied due to request throttling.</p>
287
+ */
288
+ export declare class ThrottlingException extends __BaseException {
289
+ readonly name: "ThrottlingException";
290
+ readonly $fault: "client";
291
+ Message: string | undefined;
292
+ /**
293
+ * @public
294
+ * <p>The quota code that exceeded the throttling limit.</p>
295
+ */
296
+ QuotaCode?: string;
297
+ /**
298
+ * @public
299
+ * <p>The service code that exceeded the throttling limit. It will always be
300
+ * “AWSBillingAndCostManagementDataExports”.</p>
301
+ */
302
+ ServiceCode?: string;
303
+ /**
304
+ * @internal
305
+ */
306
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
307
+ }
308
+ /**
309
+ * @public
310
+ * <p>The input failed to meet the constraints specified by the Amazon Web Services service in a
311
+ * specified field.</p>
312
+ */
313
+ export interface ValidationExceptionField {
314
+ /**
315
+ * @public
316
+ * <p>The field name where the invalid entry was detected.</p>
317
+ */
318
+ Name: string | undefined;
319
+ /**
320
+ * @public
321
+ * <p>A message with the reason for the validation exception error.</p>
322
+ */
323
+ Message: string | undefined;
324
+ }
325
+ /**
326
+ * @public
327
+ * @enum
328
+ */
329
+ export declare const ValidationExceptionReason: {
330
+ readonly CANNOT_PARSE: "cannotParse";
331
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
332
+ readonly OTHER: "other";
333
+ readonly UNKNOWN_OPERATION: "unknownOperation";
334
+ };
335
+ /**
336
+ * @public
337
+ */
338
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
339
+ /**
340
+ * @public
341
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
342
+ * service.</p>
343
+ */
344
+ export declare class ValidationException extends __BaseException {
345
+ readonly name: "ValidationException";
346
+ readonly $fault: "client";
347
+ Message: string | undefined;
348
+ /**
349
+ * @public
350
+ * <p>The reason for the validation exception.</p>
351
+ */
352
+ Reason?: ValidationExceptionReason;
353
+ /**
354
+ * @public
355
+ * <p>The list of fields that are invalid.</p>
356
+ */
357
+ Fields?: ValidationExceptionField[];
358
+ /**
359
+ * @internal
360
+ */
361
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
362
+ }
363
+ /**
364
+ * @public
365
+ */
366
+ export interface DeleteExportRequest {
367
+ /**
368
+ * @public
369
+ * <p>The Amazon Resource Name (ARN) for this export.</p>
370
+ */
371
+ ExportArn: string | undefined;
372
+ }
373
+ /**
374
+ * @public
375
+ */
376
+ export interface DeleteExportResponse {
377
+ /**
378
+ * @public
379
+ * <p>The Amazon Resource Name (ARN) for this export.</p>
380
+ */
381
+ ExportArn?: string;
382
+ }
383
+ /**
384
+ * @public
385
+ * <p>The specified Amazon Resource Name (ARN) in the request doesn't exist.</p>
386
+ */
387
+ export declare class ResourceNotFoundException extends __BaseException {
388
+ readonly name: "ResourceNotFoundException";
389
+ readonly $fault: "client";
390
+ Message: string | undefined;
391
+ /**
392
+ * @public
393
+ * <p>The identifier of the resource that was not found.</p>
394
+ */
395
+ ResourceId: string | undefined;
396
+ /**
397
+ * @public
398
+ * <p>The type of the resource that was not found.</p>
399
+ */
400
+ ResourceType: string | undefined;
401
+ /**
402
+ * @internal
403
+ */
404
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
405
+ }
406
+ /**
407
+ * @public
408
+ */
409
+ export interface GetExecutionRequest {
410
+ /**
411
+ * @public
412
+ * <p>The Amazon Resource Name (ARN) of the Export object that generated this specific
413
+ * execution.</p>
414
+ */
415
+ ExportArn: string | undefined;
416
+ /**
417
+ * @public
418
+ * <p>The ID for this specific execution.</p>
419
+ */
420
+ ExecutionId: string | undefined;
421
+ }
422
+ /**
423
+ * @public
424
+ * @enum
425
+ */
426
+ export declare const ExecutionStatusCode: {
427
+ readonly DELIVERY_FAILURE: "DELIVERY_FAILURE";
428
+ readonly DELIVERY_IN_PROCESS: "DELIVERY_IN_PROCESS";
429
+ readonly DELIVERY_SUCCESS: "DELIVERY_SUCCESS";
430
+ readonly INITIATION_IN_PROCESS: "INITIATION_IN_PROCESS";
431
+ readonly QUERY_FAILURE: "QUERY_FAILURE";
432
+ readonly QUERY_IN_PROCESS: "QUERY_IN_PROCESS";
433
+ readonly QUERY_QUEUED: "QUERY_QUEUED";
434
+ };
435
+ /**
436
+ * @public
437
+ */
438
+ export type ExecutionStatusCode = (typeof ExecutionStatusCode)[keyof typeof ExecutionStatusCode];
439
+ /**
440
+ * @public
441
+ * @enum
442
+ */
443
+ export declare const ExecutionStatusReason: {
444
+ readonly BILL_OWNER_CHANGED: "BILL_OWNER_CHANGED";
445
+ readonly INSUFFICIENT_PERMISSION: "INSUFFICIENT_PERMISSION";
446
+ readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
447
+ };
448
+ /**
449
+ * @public
450
+ */
451
+ export type ExecutionStatusReason = (typeof ExecutionStatusReason)[keyof typeof ExecutionStatusReason];
452
+ /**
453
+ * @public
454
+ * <p>The status of the execution.</p>
455
+ */
456
+ export interface ExecutionStatus {
457
+ /**
458
+ * @public
459
+ * <p>The code for the status of the execution.</p>
460
+ */
461
+ StatusCode?: ExecutionStatusCode;
462
+ /**
463
+ * @public
464
+ * <p>The reason for the failed status.</p>
465
+ */
466
+ StatusReason?: ExecutionStatusReason;
467
+ /**
468
+ * @public
469
+ * <p>The time when the execution was created.</p>
470
+ */
471
+ CreatedAt?: Date;
472
+ /**
473
+ * @public
474
+ * <p>The time when the execution was completed.</p>
475
+ */
476
+ CompletedAt?: Date;
477
+ /**
478
+ * @public
479
+ * <p>The time when the execution was last updated.</p>
480
+ */
481
+ LastUpdatedAt?: Date;
482
+ }
483
+ /**
484
+ * @public
485
+ */
486
+ export interface GetExecutionResponse {
487
+ /**
488
+ * @public
489
+ * <p>The ID for this specific execution.</p>
490
+ */
491
+ ExecutionId?: string;
492
+ /**
493
+ * @public
494
+ * <p>The export data for this specific execution. This export data is a snapshot from when the
495
+ * execution was generated. The data could be different from the current export data if the
496
+ * export was updated since the execution was generated.</p>
497
+ */
498
+ Export?: Export;
499
+ /**
500
+ * @public
501
+ * <p>The status of this specific execution.</p>
502
+ */
503
+ ExecutionStatus?: ExecutionStatus;
504
+ }
505
+ /**
506
+ * @public
507
+ */
508
+ export interface GetExportRequest {
509
+ /**
510
+ * @public
511
+ * <p>The Amazon Resource Name (ARN) for this export.</p>
512
+ */
513
+ ExportArn: string | undefined;
514
+ }
515
+ /**
516
+ * @public
517
+ * @enum
518
+ */
519
+ export declare const ExportStatusCode: {
520
+ readonly HEALTHY: "HEALTHY";
521
+ readonly UNHEALTHY: "UNHEALTHY";
522
+ };
523
+ /**
524
+ * @public
525
+ */
526
+ export type ExportStatusCode = (typeof ExportStatusCode)[keyof typeof ExportStatusCode];
527
+ /**
528
+ * @public
529
+ * <p>The status of the data export.</p>
530
+ */
531
+ export interface ExportStatus {
532
+ /**
533
+ * @public
534
+ * <p>The status code for the request.</p>
535
+ */
536
+ StatusCode?: ExportStatusCode;
537
+ /**
538
+ * @public
539
+ * <p>The description for the status code.</p>
540
+ */
541
+ StatusReason?: ExecutionStatusReason;
542
+ /**
543
+ * @public
544
+ * <p>The timestamp of when the export was created.</p>
545
+ */
546
+ CreatedAt?: Date;
547
+ /**
548
+ * @public
549
+ * <p>The timestamp of when the export was updated.</p>
550
+ */
551
+ LastUpdatedAt?: Date;
552
+ /**
553
+ * @public
554
+ * <p>The timestamp of when the export was last generated.</p>
555
+ */
556
+ LastRefreshedAt?: Date;
557
+ }
558
+ /**
559
+ * @public
560
+ */
561
+ export interface GetExportResponse {
562
+ /**
563
+ * @public
564
+ * <p>The data for this specific export.</p>
565
+ */
566
+ Export?: Export;
567
+ /**
568
+ * @public
569
+ * <p>The status of this specific export.</p>
570
+ */
571
+ ExportStatus?: ExportStatus;
572
+ }
573
+ /**
574
+ * @public
575
+ */
576
+ export interface GetTableRequest {
577
+ /**
578
+ * @public
579
+ * <p>The name of the table.</p>
580
+ */
581
+ TableName: string | undefined;
582
+ /**
583
+ * @public
584
+ * <p>TableProperties are additional configurations you can provide to change the data and
585
+ * schema of a table. Each table can have different TableProperties. Tables are not required to
586
+ * have any TableProperties. Each table property has a default value that it assumes if not
587
+ * specified.</p>
588
+ */
589
+ TableProperties?: Record<string, string>;
590
+ }
591
+ /**
592
+ * @public
593
+ * <p>Includes basic information for a data column such as its description, name, and
594
+ * type.</p>
595
+ */
596
+ export interface Column {
597
+ /**
598
+ * @public
599
+ * <p>The column name.</p>
600
+ */
601
+ Name?: string;
602
+ /**
603
+ * @public
604
+ * <p>The kind of data a column stores.</p>
605
+ */
606
+ Type?: string;
607
+ /**
608
+ * @public
609
+ * <p>The description for a column.</p>
610
+ */
611
+ Description?: string;
612
+ }
613
+ /**
614
+ * @public
615
+ */
616
+ export interface GetTableResponse {
617
+ /**
618
+ * @public
619
+ * <p>The name of the table.</p>
620
+ */
621
+ TableName?: string;
622
+ /**
623
+ * @public
624
+ * <p>The table description.</p>
625
+ */
626
+ Description?: string;
627
+ /**
628
+ * @public
629
+ * <p>TableProperties are additional configurations you can provide to change the data and
630
+ * schema of a table. Each table can have different TableProperties. Tables are not required to
631
+ * have any TableProperties. Each table property has a default value that it assumes if not
632
+ * specified.</p>
633
+ */
634
+ TableProperties?: Record<string, string>;
635
+ /**
636
+ * @public
637
+ * <p>The schema of the table.</p>
638
+ */
639
+ Schema?: Column[];
640
+ }
641
+ /**
642
+ * @public
643
+ */
644
+ export interface ListExecutionsRequest {
645
+ /**
646
+ * @public
647
+ * <p>The Amazon Resource Name (ARN) for this export.</p>
648
+ */
649
+ ExportArn: string | undefined;
650
+ /**
651
+ * @public
652
+ * <p>The maximum number of objects that are returned for the request.</p>
653
+ */
654
+ MaxResults?: number;
655
+ /**
656
+ * @public
657
+ * <p>The token to retrieve the next set of results.</p>
658
+ */
659
+ NextToken?: string;
660
+ }
661
+ /**
662
+ * @public
663
+ * <p>The reference for the data export update.</p>
664
+ */
665
+ export interface ExecutionReference {
666
+ /**
667
+ * @public
668
+ * <p>The ID for this specific execution.</p>
669
+ */
670
+ ExecutionId: string | undefined;
671
+ /**
672
+ * @public
673
+ * <p>The status of this specific execution.</p>
674
+ */
675
+ ExecutionStatus: ExecutionStatus | undefined;
676
+ }
677
+ /**
678
+ * @public
679
+ */
680
+ export interface ListExecutionsResponse {
681
+ /**
682
+ * @public
683
+ * <p>The list of executions.</p>
684
+ */
685
+ Executions?: ExecutionReference[];
686
+ /**
687
+ * @public
688
+ * <p>The token to retrieve the next set of results.</p>
689
+ */
690
+ NextToken?: string;
691
+ }
692
+ /**
693
+ * @public
694
+ */
695
+ export interface ListExportsRequest {
696
+ /**
697
+ * @public
698
+ * <p>The maximum number of objects that are returned for the request.</p>
699
+ */
700
+ MaxResults?: number;
701
+ /**
702
+ * @public
703
+ * <p>The token to retrieve the next set of results.</p>
704
+ */
705
+ NextToken?: string;
706
+ }
707
+ /**
708
+ * @public
709
+ * <p>The reference details for a given export.</p>
710
+ */
711
+ export interface ExportReference {
712
+ /**
713
+ * @public
714
+ * <p>The Amazon Resource Name (ARN) for this export.</p>
715
+ */
716
+ ExportArn: string | undefined;
717
+ /**
718
+ * @public
719
+ * <p>The name of this specific data export.</p>
720
+ */
721
+ ExportName: string | undefined;
722
+ /**
723
+ * @public
724
+ * <p>The status of this specific data export.</p>
725
+ */
726
+ ExportStatus: ExportStatus | undefined;
727
+ }
728
+ /**
729
+ * @public
730
+ */
731
+ export interface ListExportsResponse {
732
+ /**
733
+ * @public
734
+ * <p>The details of the exports, including name and export status.</p>
735
+ */
736
+ Exports?: ExportReference[];
737
+ /**
738
+ * @public
739
+ * <p>The token to retrieve the next set of results.</p>
740
+ */
741
+ NextToken?: string;
742
+ }
743
+ /**
744
+ * @public
745
+ */
746
+ export interface ListTablesRequest {
747
+ /**
748
+ * @public
749
+ * <p>The token to retrieve the next set of results.</p>
750
+ */
751
+ NextToken?: string;
752
+ /**
753
+ * @public
754
+ * <p>The maximum number of objects that are returned for the request.</p>
755
+ */
756
+ MaxResults?: number;
757
+ }
758
+ /**
759
+ * @public
760
+ * <p>The properties for the data export table.</p>
761
+ */
762
+ export interface TablePropertyDescription {
763
+ /**
764
+ * @public
765
+ * <p>The name of the table.</p>
766
+ */
767
+ Name?: string;
768
+ /**
769
+ * @public
770
+ * <p>The valid values for the table.</p>
771
+ */
772
+ ValidValues?: string[];
773
+ /**
774
+ * @public
775
+ * <p>The default value for the table.</p>
776
+ */
777
+ DefaultValue?: string;
778
+ /**
779
+ * @public
780
+ * <p>The description for the table.</p>
781
+ */
782
+ Description?: string;
783
+ }
784
+ /**
785
+ * @public
786
+ * <p>The details for the data export table.</p>
787
+ */
788
+ export interface Table {
789
+ /**
790
+ * @public
791
+ * <p>The name of the table.</p>
792
+ */
793
+ TableName?: string;
794
+ /**
795
+ * @public
796
+ * <p>The description for the table.</p>
797
+ */
798
+ Description?: string;
799
+ /**
800
+ * @public
801
+ * <p>The properties for the table.</p>
802
+ */
803
+ TableProperties?: TablePropertyDescription[];
804
+ }
805
+ /**
806
+ * @public
807
+ */
808
+ export interface ListTablesResponse {
809
+ /**
810
+ * @public
811
+ * <p>The list of tables.</p>
812
+ */
813
+ Tables?: Table[];
814
+ /**
815
+ * @public
816
+ * <p>The token to retrieve the next set of results.</p>
817
+ */
818
+ NextToken?: string;
819
+ }
820
+ /**
821
+ * @public
822
+ */
823
+ export interface ListTagsForResourceRequest {
824
+ /**
825
+ * @public
826
+ * <p>The unique identifier for the resource.</p>
827
+ */
828
+ ResourceArn: string | undefined;
829
+ /**
830
+ * @public
831
+ * <p>The maximum number of objects that are returned for the request.</p>
832
+ */
833
+ MaxResults?: number;
834
+ /**
835
+ * @public
836
+ * <p>The token to retrieve the next set of results.</p>
837
+ */
838
+ NextToken?: string;
839
+ }
840
+ /**
841
+ * @public
842
+ */
843
+ export interface ListTagsForResourceResponse {
844
+ /**
845
+ * @public
846
+ * <p>An optional list of tags to associate with the specified export. Each tag consists of a
847
+ * key and a value, and each key must be unique for the resource.</p>
848
+ */
849
+ ResourceTags?: ResourceTag[];
850
+ /**
851
+ * @public
852
+ * <p>The token to retrieve the next set of results.</p>
853
+ */
854
+ NextToken?: string;
855
+ }
856
+ /**
857
+ * @public
858
+ */
859
+ export interface TagResourceRequest {
860
+ /**
861
+ * @public
862
+ * <p>The unique identifier for the resource.</p>
863
+ */
864
+ ResourceArn: string | undefined;
865
+ /**
866
+ * @public
867
+ * <p>The tags to associate with the resource. Each tag consists of a key and a value, and each
868
+ * key must be unique for the resource.</p>
869
+ */
870
+ ResourceTags: ResourceTag[] | undefined;
871
+ }
872
+ /**
873
+ * @public
874
+ */
875
+ export interface TagResourceResponse {
876
+ }
877
+ /**
878
+ * @public
879
+ */
880
+ export interface UntagResourceRequest {
881
+ /**
882
+ * @public
883
+ * <p>The unique identifier for the resource.</p>
884
+ */
885
+ ResourceArn: string | undefined;
886
+ /**
887
+ * @public
888
+ * <p>The tag keys that are associated with the resource ARN.</p>
889
+ */
890
+ ResourceTagKeys: string[] | undefined;
891
+ }
892
+ /**
893
+ * @public
894
+ */
895
+ export interface UntagResourceResponse {
896
+ }
897
+ /**
898
+ * @public
899
+ */
900
+ export interface UpdateExportRequest {
901
+ /**
902
+ * @public
903
+ * <p>The Amazon Resource Name (ARN) for this export.</p>
904
+ */
905
+ ExportArn: string | undefined;
906
+ /**
907
+ * @public
908
+ * <p>The name and query details for the export.</p>
909
+ */
910
+ Export: Export | undefined;
911
+ }
912
+ /**
913
+ * @public
914
+ */
915
+ export interface UpdateExportResponse {
916
+ /**
917
+ * @public
918
+ * <p>The Amazon Resource Name (ARN) for this export.</p>
919
+ */
920
+ ExportArn?: string;
921
+ }