@aws-sdk/client-databrew 3.301.0 → 3.306.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.
@@ -11,10 +11,11 @@ export declare class AccessDeniedException extends __BaseException {
11
11
  export interface AllowedStatistics {
12
12
  Statistics: string[] | undefined;
13
13
  }
14
- export declare enum AnalyticsMode {
15
- DISABLE = "DISABLE",
16
- ENABLE = "ENABLE",
17
- }
14
+ export declare const AnalyticsMode: {
15
+ readonly DISABLE: "DISABLE";
16
+ readonly ENABLE: "ENABLE";
17
+ };
18
+ export type AnalyticsMode = (typeof AnalyticsMode)[keyof typeof AnalyticsMode];
18
19
  export interface BatchDeleteRecipeVersionRequest {
19
20
  Name: string | undefined;
20
21
  RecipeVersions: string[] | undefined;
@@ -50,13 +51,14 @@ export declare class ValidationException extends __BaseException {
50
51
  opts: __ExceptionOptionType<ValidationException, __BaseException>
51
52
  );
52
53
  }
53
- export declare enum InputFormat {
54
- CSV = "CSV",
55
- EXCEL = "EXCEL",
56
- JSON = "JSON",
57
- ORC = "ORC",
58
- PARQUET = "PARQUET",
59
- }
54
+ export declare const InputFormat: {
55
+ readonly CSV: "CSV";
56
+ readonly EXCEL: "EXCEL";
57
+ readonly JSON: "JSON";
58
+ readonly ORC: "ORC";
59
+ readonly PARQUET: "PARQUET";
60
+ };
61
+ export type InputFormat = (typeof InputFormat)[keyof typeof InputFormat];
60
62
  export interface CsvOptions {
61
63
  Delimiter?: string;
62
64
  HeaderRow?: boolean;
@@ -100,13 +102,15 @@ export interface Input {
100
102
  DatabaseInputDefinition?: DatabaseInputDefinition;
101
103
  Metadata?: Metadata;
102
104
  }
103
- export declare enum Order {
104
- ASCENDING = "ASCENDING",
105
- DESCENDING = "DESCENDING",
106
- }
107
- export declare enum OrderedBy {
108
- LAST_MODIFIED_DATE = "LAST_MODIFIED_DATE",
109
- }
105
+ export declare const Order: {
106
+ readonly ASCENDING: "ASCENDING";
107
+ readonly DESCENDING: "DESCENDING";
108
+ };
109
+ export type Order = (typeof Order)[keyof typeof Order];
110
+ export declare const OrderedBy: {
111
+ readonly LAST_MODIFIED_DATE: "LAST_MODIFIED_DATE";
112
+ };
113
+ export type OrderedBy = (typeof OrderedBy)[keyof typeof OrderedBy];
110
114
  export interface FilesLimit {
111
115
  MaxFiles: number | undefined;
112
116
  OrderedBy?: OrderedBy | string;
@@ -121,11 +125,12 @@ export interface DatetimeOptions {
121
125
  TimezoneOffset?: string;
122
126
  LocaleCode?: string;
123
127
  }
124
- export declare enum ParameterType {
125
- Datetime = "Datetime",
126
- Number = "Number",
127
- String = "String",
128
- }
128
+ export declare const ParameterType: {
129
+ readonly Datetime: "Datetime";
130
+ readonly Number: "Number";
131
+ readonly String: "String";
132
+ };
133
+ export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType];
129
134
  export interface DatasetParameter {
130
135
  Name: string | undefined;
131
136
  Type: ParameterType | string | undefined;
@@ -183,25 +188,32 @@ export interface ProfileConfiguration {
183
188
  ColumnStatisticsConfigurations?: ColumnStatisticsConfiguration[];
184
189
  EntityDetectorConfiguration?: EntityDetectorConfiguration;
185
190
  }
186
- export declare enum EncryptionMode {
187
- SSEKMS = "SSE-KMS",
188
- SSES3 = "SSE-S3",
189
- }
190
- export declare enum SampleMode {
191
- CUSTOM_ROWS = "CUSTOM_ROWS",
192
- FULL_DATASET = "FULL_DATASET",
193
- }
191
+ export declare const EncryptionMode: {
192
+ readonly SSEKMS: "SSE-KMS";
193
+ readonly SSES3: "SSE-S3";
194
+ };
195
+ export type EncryptionMode =
196
+ (typeof EncryptionMode)[keyof typeof EncryptionMode];
197
+ export declare const SampleMode: {
198
+ readonly CUSTOM_ROWS: "CUSTOM_ROWS";
199
+ readonly FULL_DATASET: "FULL_DATASET";
200
+ };
201
+ export type SampleMode = (typeof SampleMode)[keyof typeof SampleMode];
194
202
  export interface JobSample {
195
203
  Mode?: SampleMode | string;
196
204
  Size?: number;
197
205
  }
198
- export declare enum LogSubscription {
199
- DISABLE = "DISABLE",
200
- ENABLE = "ENABLE",
201
- }
202
- export declare enum ValidationMode {
203
- CHECK_ALL = "CHECK_ALL",
204
- }
206
+ export declare const LogSubscription: {
207
+ readonly DISABLE: "DISABLE";
208
+ readonly ENABLE: "ENABLE";
209
+ };
210
+ export type LogSubscription =
211
+ (typeof LogSubscription)[keyof typeof LogSubscription];
212
+ export declare const ValidationMode: {
213
+ readonly CHECK_ALL: "CHECK_ALL";
214
+ };
215
+ export type ValidationMode =
216
+ (typeof ValidationMode)[keyof typeof ValidationMode];
205
217
  export interface ValidationConfiguration {
206
218
  RulesetArn: string | undefined;
207
219
  ValidationMode?: ValidationMode | string;
@@ -225,11 +237,12 @@ export interface CreateProfileJobRequest {
225
237
  export interface CreateProfileJobResponse {
226
238
  Name: string | undefined;
227
239
  }
228
- export declare enum SampleType {
229
- FIRST_N = "FIRST_N",
230
- LAST_N = "LAST_N",
231
- RANDOM = "RANDOM",
232
- }
240
+ export declare const SampleType: {
241
+ readonly FIRST_N: "FIRST_N";
242
+ readonly LAST_N: "LAST_N";
243
+ readonly RANDOM: "RANDOM";
244
+ };
245
+ export type SampleType = (typeof SampleType)[keyof typeof SampleType];
233
246
  export interface Sample {
234
247
  Size?: number;
235
248
  Type: SampleType | string | undefined;
@@ -279,9 +292,11 @@ export interface DatabaseTableOutputOptions {
279
292
  TempDirectory?: S3Location;
280
293
  TableName: string | undefined;
281
294
  }
282
- export declare enum DatabaseOutputMode {
283
- NEW_TABLE = "NEW_TABLE",
284
- }
295
+ export declare const DatabaseOutputMode: {
296
+ readonly NEW_TABLE: "NEW_TABLE";
297
+ };
298
+ export type DatabaseOutputMode =
299
+ (typeof DatabaseOutputMode)[keyof typeof DatabaseOutputMode];
285
300
  export interface DatabaseOutput {
286
301
  GlueConnectionName: string | undefined;
287
302
  DatabaseOptions: DatabaseTableOutputOptions | undefined;
@@ -298,27 +313,30 @@ export interface DataCatalogOutput {
298
313
  DatabaseOptions?: DatabaseTableOutputOptions;
299
314
  Overwrite?: boolean;
300
315
  }
301
- export declare enum CompressionFormat {
302
- BROTLI = "BROTLI",
303
- BZIP2 = "BZIP2",
304
- DEFLATE = "DEFLATE",
305
- GZIP = "GZIP",
306
- LZ4 = "LZ4",
307
- LZO = "LZO",
308
- SNAPPY = "SNAPPY",
309
- ZLIB = "ZLIB",
310
- ZSTD = "ZSTD",
311
- }
312
- export declare enum OutputFormat {
313
- AVRO = "AVRO",
314
- CSV = "CSV",
315
- GLUEPARQUET = "GLUEPARQUET",
316
- JSON = "JSON",
317
- ORC = "ORC",
318
- PARQUET = "PARQUET",
319
- TABLEAUHYPER = "TABLEAUHYPER",
320
- XML = "XML",
321
- }
316
+ export declare const CompressionFormat: {
317
+ readonly BROTLI: "BROTLI";
318
+ readonly BZIP2: "BZIP2";
319
+ readonly DEFLATE: "DEFLATE";
320
+ readonly GZIP: "GZIP";
321
+ readonly LZ4: "LZ4";
322
+ readonly LZO: "LZO";
323
+ readonly SNAPPY: "SNAPPY";
324
+ readonly ZLIB: "ZLIB";
325
+ readonly ZSTD: "ZSTD";
326
+ };
327
+ export type CompressionFormat =
328
+ (typeof CompressionFormat)[keyof typeof CompressionFormat];
329
+ export declare const OutputFormat: {
330
+ readonly AVRO: "AVRO";
331
+ readonly CSV: "CSV";
332
+ readonly GLUEPARQUET: "GLUEPARQUET";
333
+ readonly JSON: "JSON";
334
+ readonly ORC: "ORC";
335
+ readonly PARQUET: "PARQUET";
336
+ readonly TABLEAUHYPER: "TABLEAUHYPER";
337
+ readonly XML: "XML";
338
+ };
339
+ export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
322
340
  export interface CsvOutputOptions {
323
341
  Delimiter?: string;
324
342
  }
@@ -358,16 +376,18 @@ export interface CreateRecipeJobRequest {
358
376
  export interface CreateRecipeJobResponse {
359
377
  Name: string | undefined;
360
378
  }
361
- export declare enum ThresholdType {
362
- GREATER_THAN = "GREATER_THAN",
363
- GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL",
364
- LESS_THAN = "LESS_THAN",
365
- LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL",
366
- }
367
- export declare enum ThresholdUnit {
368
- COUNT = "COUNT",
369
- PERCENTAGE = "PERCENTAGE",
370
- }
379
+ export declare const ThresholdType: {
380
+ readonly GREATER_THAN: "GREATER_THAN";
381
+ readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
382
+ readonly LESS_THAN: "LESS_THAN";
383
+ readonly LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL";
384
+ };
385
+ export type ThresholdType = (typeof ThresholdType)[keyof typeof ThresholdType];
386
+ export declare const ThresholdUnit: {
387
+ readonly COUNT: "COUNT";
388
+ readonly PERCENTAGE: "PERCENTAGE";
389
+ };
390
+ export type ThresholdUnit = (typeof ThresholdUnit)[keyof typeof ThresholdUnit];
371
391
  export interface Threshold {
372
392
  Value: number | undefined;
373
393
  Type?: ThresholdType | string;
@@ -441,11 +461,12 @@ export interface DeleteScheduleResponse {
441
461
  export interface DescribeDatasetRequest {
442
462
  Name: string | undefined;
443
463
  }
444
- export declare enum Source {
445
- DATABASE = "DATABASE",
446
- DATACATALOG = "DATA-CATALOG",
447
- S3 = "S3",
448
- }
464
+ export declare const Source: {
465
+ readonly DATABASE: "DATABASE";
466
+ readonly DATACATALOG: "DATA-CATALOG";
467
+ readonly S3: "S3";
468
+ };
469
+ export type Source = (typeof Source)[keyof typeof Source];
449
470
  export interface DescribeDatasetResponse {
450
471
  CreatedBy?: string;
451
472
  CreateDate?: Date;
@@ -463,10 +484,11 @@ export interface DescribeDatasetResponse {
463
484
  export interface DescribeJobRequest {
464
485
  Name: string | undefined;
465
486
  }
466
- export declare enum JobType {
467
- PROFILE = "PROFILE",
468
- RECIPE = "RECIPE",
469
- }
487
+ export declare const JobType: {
488
+ readonly PROFILE: "PROFILE";
489
+ readonly RECIPE: "RECIPE";
490
+ };
491
+ export type JobType = (typeof JobType)[keyof typeof JobType];
470
492
  export interface DescribeJobResponse {
471
493
  CreateDate?: Date;
472
494
  CreatedBy?: string;
@@ -497,15 +519,16 @@ export interface DescribeJobRunRequest {
497
519
  Name: string | undefined;
498
520
  RunId: string | undefined;
499
521
  }
500
- export declare enum JobRunState {
501
- FAILED = "FAILED",
502
- RUNNING = "RUNNING",
503
- STARTING = "STARTING",
504
- STOPPED = "STOPPED",
505
- STOPPING = "STOPPING",
506
- SUCCEEDED = "SUCCEEDED",
507
- TIMEOUT = "TIMEOUT",
508
- }
522
+ export declare const JobRunState: {
523
+ readonly FAILED: "FAILED";
524
+ readonly RUNNING: "RUNNING";
525
+ readonly STARTING: "STARTING";
526
+ readonly STOPPED: "STOPPED";
527
+ readonly STOPPING: "STOPPING";
528
+ readonly SUCCEEDED: "SUCCEEDED";
529
+ readonly TIMEOUT: "TIMEOUT";
530
+ };
531
+ export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
509
532
  export interface DescribeJobRunResponse {
510
533
  Attempt?: number;
511
534
  CompletedOn?: Date;
@@ -530,18 +553,19 @@ export interface DescribeJobRunResponse {
530
553
  export interface DescribeProjectRequest {
531
554
  Name: string | undefined;
532
555
  }
533
- export declare enum SessionStatus {
534
- ASSIGNED = "ASSIGNED",
535
- FAILED = "FAILED",
536
- INITIALIZING = "INITIALIZING",
537
- PROVISIONING = "PROVISIONING",
538
- READY = "READY",
539
- RECYCLING = "RECYCLING",
540
- ROTATING = "ROTATING",
541
- TERMINATED = "TERMINATED",
542
- TERMINATING = "TERMINATING",
543
- UPDATING = "UPDATING",
544
- }
556
+ export declare const SessionStatus: {
557
+ readonly ASSIGNED: "ASSIGNED";
558
+ readonly FAILED: "FAILED";
559
+ readonly INITIALIZING: "INITIALIZING";
560
+ readonly PROVISIONING: "PROVISIONING";
561
+ readonly READY: "READY";
562
+ readonly RECYCLING: "RECYCLING";
563
+ readonly ROTATING: "ROTATING";
564
+ readonly TERMINATED: "TERMINATED";
565
+ readonly TERMINATING: "TERMINATING";
566
+ readonly UPDATING: "UPDATING";
567
+ };
568
+ export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
545
569
  export interface DescribeProjectResponse {
546
570
  CreateDate?: Date;
547
571
  CreatedBy?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-databrew",
3
3
  "description": "AWS SDK for JavaScript Databrew Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.306.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",