@aws-sdk/client-databrew 3.987.0 → 3.988.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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultDataBrewHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2017-07-25",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.databrew",
30
+ errorTypeRegistries,
29
31
  version: "2017-07-25",
30
32
  serviceTarget: "AWSGlueDataBrew",
31
33
  },
@@ -19,10 +19,10 @@ const _CD = "CreateDate";
19
19
  const _CDR = "CreateDatasetRequest";
20
20
  const _CDRr = "CreateDatasetResponse";
21
21
  const _CDr = "CreateDataset";
22
- const _CE = "ConditionExpression";
22
+ const _CE = "ConflictException";
23
23
  const _CEL = "ConditionExpressionList";
24
24
  const _CEh = "CheckExpression";
25
- const _CEo = "ConflictException";
25
+ const _CEo = "ConditionExpression";
26
26
  const _CEon = "ConditionExpressions";
27
27
  const _CEr = "CronExpression";
28
28
  const _CF = "CompressionFormat";
@@ -354,21 +354,59 @@ const _n = "name";
354
354
  const _nT = "nextToken";
355
355
  const _pN = "projectName";
356
356
  const _rV = "recipeVersion";
357
- const _s = "server";
358
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.databrew";
357
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.databrew";
358
+ const _se = "server";
359
359
  const _tA = "targetArn";
360
360
  const _tK = "tagKeys";
361
361
  const n0 = "com.amazonaws.databrew";
362
362
  import { TypeRegistry } from "@smithy/core/schema";
363
363
  import { DataBrewServiceException } from "../models/DataBrewServiceException";
364
364
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
365
- var ClientSessionId = [0, n0, _CSI, 8, 0];
365
+ const _s_registry = TypeRegistry.for(_s);
366
+ export var DataBrewServiceException$ = [-3, _s, "DataBrewServiceException", 0, [], []];
367
+ _s_registry.registerError(DataBrewServiceException$, DataBrewServiceException);
368
+ const n0_registry = TypeRegistry.for(n0);
366
369
  export var AccessDeniedException$ = [-3, n0, _ADE,
367
370
  { [_e]: _c, [_hE]: 403 },
368
371
  [_M],
369
372
  [0]
370
373
  ];
371
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
374
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
375
+ export var ConflictException$ = [-3, n0, _CE,
376
+ { [_e]: _c, [_hE]: 409 },
377
+ [_M],
378
+ [0]
379
+ ];
380
+ n0_registry.registerError(ConflictException$, ConflictException);
381
+ export var InternalServerException$ = [-3, n0, _ISE,
382
+ { [_e]: _se, [_hE]: 500 },
383
+ [_M],
384
+ [0]
385
+ ];
386
+ n0_registry.registerError(InternalServerException$, InternalServerException);
387
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
388
+ { [_e]: _c, [_hE]: 404 },
389
+ [_M],
390
+ [0]
391
+ ];
392
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
393
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
394
+ { [_e]: _c, [_hE]: 402 },
395
+ [_M],
396
+ [0]
397
+ ];
398
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
399
+ export var ValidationException$ = [-3, n0, _VE,
400
+ { [_e]: _c, [_hE]: 400 },
401
+ [_M],
402
+ [0]
403
+ ];
404
+ n0_registry.registerError(ValidationException$, ValidationException);
405
+ export const errorTypeRegistries = [
406
+ _s_registry,
407
+ n0_registry,
408
+ ];
409
+ var ClientSessionId = [0, n0, _CSI, 8, 0];
372
410
  export var AllowedStatistics$ = [3, n0, _AS,
373
411
  0,
374
412
  [_S],
@@ -394,17 +432,11 @@ export var ColumnStatisticsConfiguration$ = [3, n0, _CSC,
394
432
  [_S, _Se],
395
433
  [() => StatisticsConfiguration$, () => ColumnSelectorList], 1
396
434
  ];
397
- export var ConditionExpression$ = [3, n0, _CE,
435
+ export var ConditionExpression$ = [3, n0, _CEo,
398
436
  0,
399
437
  [_C, _TC, _V],
400
438
  [0, 0, 0], 2
401
439
  ];
402
- export var ConflictException$ = [-3, n0, _CEo,
403
- { [_e]: _c, [_hE]: 409 },
404
- [_M],
405
- [0]
406
- ];
407
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
408
440
  export var CreateDatasetRequest$ = [3, n0, _CDR,
409
441
  0,
410
442
  [_N, _I, _F, _FO, _PO, _T],
@@ -685,12 +717,6 @@ export var Input$ = [3, n0, _I,
685
717
  [_SID, _DCID, _DID, _Me],
686
718
  [() => S3Location$, () => DataCatalogInputDefinition$, () => DatabaseInputDefinition$, () => Metadata$]
687
719
  ];
688
- export var InternalServerException$ = [-3, n0, _ISE,
689
- { [_e]: _s, [_hE]: 500 },
690
- [_M],
691
- [0]
692
- ];
693
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
694
720
  export var Job$ = [3, n0, _Jo,
695
721
  0,
696
722
  [_N, _AI, _CB, _CD, _DN, _EKA, _EM, _Ty, _LMB, _LMD, _LS, _MC, _MR, _O, _DCO, _DO, _PN, _RR, _RAe, _RA, _Ti, _T, _JS, _VC],
@@ -866,12 +892,6 @@ export var RecipeVersionErrorDetail$ = [3, n0, _RVED,
866
892
  [_EC, _EMr, _RVe],
867
893
  [0, 0, 0]
868
894
  ];
869
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
870
- { [_e]: _c, [_hE]: 404 },
871
- [_M],
872
- [0]
873
- ];
874
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
875
895
  export var Rule$ = [3, n0, _Rule,
876
896
  0,
877
897
  [_N, _CEh, _Di, _SM, _Th, _CSo],
@@ -912,12 +932,6 @@ export var SendProjectSessionActionResponse$ = [3, n0, _SPSARe,
912
932
  [_N, _Res, _AIc],
913
933
  [0, 0, 1], 1
914
934
  ];
915
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
916
- { [_e]: _c, [_hE]: 402 },
917
- [_M],
918
- [0]
919
- ];
920
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
921
935
  export var StartJobRunRequest$ = [3, n0, _SJRR,
922
936
  0,
923
937
  [_N],
@@ -1058,19 +1072,11 @@ export var ValidationConfiguration$ = [3, n0, _VCa,
1058
1072
  [_RAu, _VMa],
1059
1073
  [0, 0], 1
1060
1074
  ];
1061
- export var ValidationException$ = [-3, n0, _VE,
1062
- { [_e]: _c, [_hE]: 400 },
1063
- [_M],
1064
- [0]
1065
- ];
1066
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
1067
1075
  export var ViewFrame$ = [3, n0, _VF,
1068
1076
  0,
1069
1077
  [_SCI, _CR, _HC, _SRI, _RRo, _An],
1070
1078
  [1, 1, 64 | 0, 1, 1, 0], 1
1071
1079
  ];
1072
- export var DataBrewServiceException$ = [-3, _sm, "DataBrewServiceException", 0, [], []];
1073
- TypeRegistry.for(_sm).registerError(DataBrewServiceException$, DataBrewServiceException);
1074
1080
  var AllowedStatisticList = [1, n0, _ASL,
1075
1081
  0, () => AllowedStatistics$
1076
1082
  ];
@@ -1,12 +1,24 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var DataBrewServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
9
+ export declare var ValidationException$: StaticErrorSchema;
10
+ /**
11
+ * TypeRegistry instances containing modeled errors.
12
+ * @internal
13
+ *
14
+ */
15
+ export declare const errorTypeRegistries: TypeRegistry[];
3
16
  export declare var AllowedStatistics$: StaticStructureSchema;
4
17
  export declare var BatchDeleteRecipeVersionRequest$: StaticStructureSchema;
5
18
  export declare var BatchDeleteRecipeVersionResponse$: StaticStructureSchema;
6
19
  export declare var ColumnSelector$: StaticStructureSchema;
7
20
  export declare var ColumnStatisticsConfiguration$: StaticStructureSchema;
8
21
  export declare var ConditionExpression$: StaticStructureSchema;
9
- export declare var ConflictException$: StaticErrorSchema;
10
22
  export declare var CreateDatasetRequest$: StaticStructureSchema;
11
23
  export declare var CreateDatasetResponse$: StaticStructureSchema;
12
24
  export declare var CreateProfileJobRequest$: StaticStructureSchema;
@@ -63,7 +75,6 @@ export declare var FilesLimit$: StaticStructureSchema;
63
75
  export declare var FilterExpression$: StaticStructureSchema;
64
76
  export declare var FormatOptions$: StaticStructureSchema;
65
77
  export declare var Input$: StaticStructureSchema;
66
- export declare var InternalServerException$: StaticErrorSchema;
67
78
  export declare var Job$: StaticStructureSchema;
68
79
  export declare var JobRun$: StaticStructureSchema;
69
80
  export declare var JobSample$: StaticStructureSchema;
@@ -99,7 +110,6 @@ export declare var RecipeAction$: StaticStructureSchema;
99
110
  export declare var RecipeReference$: StaticStructureSchema;
100
111
  export declare var RecipeStep$: StaticStructureSchema;
101
112
  export declare var RecipeVersionErrorDetail$: StaticStructureSchema;
102
- export declare var ResourceNotFoundException$: StaticErrorSchema;
103
113
  export declare var Rule$: StaticStructureSchema;
104
114
  export declare var RulesetItem$: StaticStructureSchema;
105
115
  export declare var S3Location$: StaticStructureSchema;
@@ -108,7 +118,6 @@ export declare var Sample$: StaticStructureSchema;
108
118
  export declare var Schedule$: StaticStructureSchema;
109
119
  export declare var SendProjectSessionActionRequest$: StaticStructureSchema;
110
120
  export declare var SendProjectSessionActionResponse$: StaticStructureSchema;
111
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
112
121
  export declare var StartJobRunRequest$: StaticStructureSchema;
113
122
  export declare var StartJobRunResponse$: StaticStructureSchema;
114
123
  export declare var StartProjectSessionRequest$: StaticStructureSchema;
@@ -137,9 +146,7 @@ export declare var UpdateRulesetResponse$: StaticStructureSchema;
137
146
  export declare var UpdateScheduleRequest$: StaticStructureSchema;
138
147
  export declare var UpdateScheduleResponse$: StaticStructureSchema;
139
148
  export declare var ValidationConfiguration$: StaticStructureSchema;
140
- export declare var ValidationException$: StaticErrorSchema;
141
149
  export declare var ViewFrame$: StaticStructureSchema;
142
- export declare var DataBrewServiceException$: StaticErrorSchema;
143
150
  export declare var BatchDeleteRecipeVersion$: StaticOperationSchema;
144
151
  export declare var CreateDataset$: StaticOperationSchema;
145
152
  export declare var CreateProfileJob$: StaticOperationSchema;
@@ -1,16 +1,23 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var DataBrewServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
9
+ export declare var ConflictException$: StaticErrorSchema;
10
+ export declare var InternalServerException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
13
+ export declare var ValidationException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
7
15
  export declare var AllowedStatistics$: StaticStructureSchema;
8
16
  export declare var BatchDeleteRecipeVersionRequest$: StaticStructureSchema;
9
17
  export declare var BatchDeleteRecipeVersionResponse$: StaticStructureSchema;
10
18
  export declare var ColumnSelector$: StaticStructureSchema;
11
19
  export declare var ColumnStatisticsConfiguration$: StaticStructureSchema;
12
20
  export declare var ConditionExpression$: StaticStructureSchema;
13
- export declare var ConflictException$: StaticErrorSchema;
14
21
  export declare var CreateDatasetRequest$: StaticStructureSchema;
15
22
  export declare var CreateDatasetResponse$: StaticStructureSchema;
16
23
  export declare var CreateProfileJobRequest$: StaticStructureSchema;
@@ -67,7 +74,6 @@ export declare var FilesLimit$: StaticStructureSchema;
67
74
  export declare var FilterExpression$: StaticStructureSchema;
68
75
  export declare var FormatOptions$: StaticStructureSchema;
69
76
  export declare var Input$: StaticStructureSchema;
70
- export declare var InternalServerException$: StaticErrorSchema;
71
77
  export declare var Job$: StaticStructureSchema;
72
78
  export declare var JobRun$: StaticStructureSchema;
73
79
  export declare var JobSample$: StaticStructureSchema;
@@ -103,7 +109,6 @@ export declare var RecipeAction$: StaticStructureSchema;
103
109
  export declare var RecipeReference$: StaticStructureSchema;
104
110
  export declare var RecipeStep$: StaticStructureSchema;
105
111
  export declare var RecipeVersionErrorDetail$: StaticStructureSchema;
106
- export declare var ResourceNotFoundException$: StaticErrorSchema;
107
112
  export declare var Rule$: StaticStructureSchema;
108
113
  export declare var RulesetItem$: StaticStructureSchema;
109
114
  export declare var S3Location$: StaticStructureSchema;
@@ -112,7 +117,6 @@ export declare var Sample$: StaticStructureSchema;
112
117
  export declare var Schedule$: StaticStructureSchema;
113
118
  export declare var SendProjectSessionActionRequest$: StaticStructureSchema;
114
119
  export declare var SendProjectSessionActionResponse$: StaticStructureSchema;
115
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
116
120
  export declare var StartJobRunRequest$: StaticStructureSchema;
117
121
  export declare var StartJobRunResponse$: StaticStructureSchema;
118
122
  export declare var StartProjectSessionRequest$: StaticStructureSchema;
@@ -141,9 +145,7 @@ export declare var UpdateRulesetResponse$: StaticStructureSchema;
141
145
  export declare var UpdateScheduleRequest$: StaticStructureSchema;
142
146
  export declare var UpdateScheduleResponse$: StaticStructureSchema;
143
147
  export declare var ValidationConfiguration$: StaticStructureSchema;
144
- export declare var ValidationException$: StaticErrorSchema;
145
148
  export declare var ViewFrame$: StaticStructureSchema;
146
- export declare var DataBrewServiceException$: StaticErrorSchema;
147
149
  export declare var BatchDeleteRecipeVersion$: StaticOperationSchema;
148
150
  export declare var CreateDataset$: StaticOperationSchema;
149
151
  export declare var CreateProfileJob$: StaticOperationSchema;
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.987.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-databrew",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",