cdk-comprehend-s3olap 2.0.23 → 2.0.24

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 (38) hide show
  1. package/.jsii +4 -4
  2. package/lib/cdk-comprehend-s3olap.js +2 -2
  3. package/lib/comprehend-lambdas.js +2 -2
  4. package/lib/iam-roles.js +4 -4
  5. package/node_modules/aws-sdk/CHANGELOG.md +13 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +110 -59
  8. package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +75 -69
  9. package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +4 -2
  10. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +3 -0
  11. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +106 -61
  12. package/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json +24 -21
  13. package/node_modules/aws-sdk/apis/wellarchitected-2020-03-31.min.json +27 -5
  14. package/node_modules/aws-sdk/apis/workmail-2017-10-01.min.json +228 -61
  15. package/node_modules/aws-sdk/apis/workmail-2017-10-01.paginators.json +6 -0
  16. package/node_modules/aws-sdk/clients/athena.d.ts +57 -2
  17. package/node_modules/aws-sdk/clients/customerprofiles.d.ts +12 -3
  18. package/node_modules/aws-sdk/clients/emr.d.ts +8 -0
  19. package/node_modules/aws-sdk/clients/glue.d.ts +16 -3
  20. package/node_modules/aws-sdk/clients/kendra.d.ts +109 -41
  21. package/node_modules/aws-sdk/clients/mwaa.d.ts +9 -12
  22. package/node_modules/aws-sdk/clients/pricing.d.ts +3 -3
  23. package/node_modules/aws-sdk/clients/wellarchitected.d.ts +27 -1
  24. package/node_modules/aws-sdk/clients/workmail.d.ts +203 -0
  25. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +12 -1
  26. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +21 -10
  27. package/node_modules/aws-sdk/dist/aws-sdk.js +128 -64
  28. package/node_modules/aws-sdk/dist/aws-sdk.min.js +92 -92
  29. package/node_modules/aws-sdk/lib/core.js +1 -1
  30. package/node_modules/aws-sdk/lib/event_listeners.js +10 -0
  31. package/node_modules/aws-sdk/lib/model/api.js +1 -0
  32. package/node_modules/aws-sdk/package.json +1 -1
  33. package/node_modules/esbuild/install.js +4 -4
  34. package/node_modules/esbuild/lib/main.js +12 -12
  35. package/node_modules/esbuild/package.json +21 -21
  36. package/node_modules/esbuild-linux-64/bin/esbuild +0 -0
  37. package/node_modules/esbuild-linux-64/package.json +1 -1
  38. package/package.json +4 -4
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1165.0',
23
+ VERSION: '2.1166.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -299,6 +299,16 @@ AWS.EventListeners = {
299
299
  }
300
300
  });
301
301
 
302
+ add('ERROR', 'error', function ERROR(err, resp) {
303
+ var errorCodeMapping = resp.request.service.api.errorCodeMapping;
304
+ if (errorCodeMapping && err && err.code) {
305
+ var mapping = errorCodeMapping[err.code];
306
+ if (mapping) {
307
+ resp.error.code = mapping.code;
308
+ }
309
+ }
310
+ }, true);
311
+
302
312
  addAsync('SEND', 'send', function SEND(resp, done) {
303
313
  resp.httpResponse._abortCallback = done;
304
314
  resp.error = null;
@@ -80,6 +80,7 @@ function Api(api, options) {
80
80
  property(this, 'documentation', api.documentation);
81
81
  property(this, 'documentationUrl', api.documentationUrl);
82
82
  }
83
+ property(this, 'errorCodeMapping', api.awsQueryCompatible);
83
84
  }
84
85
 
85
86
  /**
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.1165.0",
4
+ "version": "2.1166.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -85,8 +85,8 @@ function validateBinaryVersion(...command) {
85
85
  const stdout = child_process.execFileSync(command.shift(), command, {
86
86
  stdio: "pipe"
87
87
  }).toString().trim();
88
- if (stdout !== "0.14.47") {
89
- throw new Error(`Expected ${JSON.stringify("0.14.47")} but got ${JSON.stringify(stdout)}`);
88
+ if (stdout !== "0.14.48") {
89
+ throw new Error(`Expected ${JSON.stringify("0.14.48")} but got ${JSON.stringify(stdout)}`);
90
90
  }
91
91
  }
92
92
  function isYarn() {
@@ -137,7 +137,7 @@ function installUsingNPM(pkg, subpath, binPath) {
137
137
  fs2.mkdirSync(installDir);
138
138
  try {
139
139
  fs2.writeFileSync(path2.join(installDir, "package.json"), "{}");
140
- child_process.execSync(`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.14.47"}`, { cwd: installDir, stdio: "pipe", env });
140
+ child_process.execSync(`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.14.48"}`, { cwd: installDir, stdio: "pipe", env });
141
141
  const installedBinPath = path2.join(installDir, "node_modules", pkg, subpath);
142
142
  fs2.renameSync(installedBinPath, binPath);
143
143
  } finally {
@@ -186,7 +186,7 @@ function maybeOptimizePackage(binPath) {
186
186
  }
187
187
  }
188
188
  async function downloadDirectlyFromNPM(pkg, subpath, binPath) {
189
- const url = `https://registry.npmjs.org/${pkg}/-/${pkg}-${"0.14.47"}.tgz`;
189
+ const url = `https://registry.npmjs.org/${pkg}/-/${pkg}-${"0.14.48"}.tgz`;
190
190
  console.error(`[esbuild] Trying to download ${JSON.stringify(url)}`);
191
191
  try {
192
192
  fs2.writeFileSync(binPath, extractFileFromTarGzip(await fetch(url), subpath));
@@ -746,8 +746,8 @@ function createChannel(streamIn) {
746
746
  if (isFirstPacket) {
747
747
  isFirstPacket = false;
748
748
  let binaryVersion = String.fromCharCode(...bytes);
749
- if (binaryVersion !== "0.14.47") {
750
- throw new Error(`Cannot start service: Host version "${"0.14.47"}" does not match binary version ${JSON.stringify(binaryVersion)}`);
749
+ if (binaryVersion !== "0.14.48") {
750
+ throw new Error(`Cannot start service: Host version "${"0.14.48"}" does not match binary version ${JSON.stringify(binaryVersion)}`);
751
751
  }
752
752
  return;
753
753
  }
@@ -1198,7 +1198,7 @@ function createChannel(streamIn) {
1198
1198
  callerRefs.unref();
1199
1199
  }
1200
1200
  };
1201
- let writeDefault = !streamIn.isBrowser;
1201
+ let writeDefault = !streamIn.isWriteUnavailable;
1202
1202
  let {
1203
1203
  entries,
1204
1204
  flags,
@@ -1326,8 +1326,8 @@ function createChannel(streamIn) {
1326
1326
  callback2(null, result);
1327
1327
  });
1328
1328
  };
1329
- if (write && streamIn.isBrowser)
1330
- throw new Error(`Cannot enable "write" in the browser`);
1329
+ if (write && streamIn.isWriteUnavailable)
1330
+ throw new Error(`The "write" option is unavailable in this environment`);
1331
1331
  if (incremental && streamIn.isSync)
1332
1332
  throw new Error(`Cannot use "incremental" with a synchronous build`);
1333
1333
  if (watch && streamIn.isSync)
@@ -1863,7 +1863,7 @@ if (process.env.ESBUILD_WORKER_THREADS !== "0") {
1863
1863
  }
1864
1864
  }
1865
1865
  var _a;
1866
- var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.14.47";
1866
+ var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.14.48";
1867
1867
  var esbuildCommandAndArgs = () => {
1868
1868
  if ((!ESBUILD_BINARY_PATH || false) && (path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib")) {
1869
1869
  throw new Error(`The esbuild JavaScript API cannot be bundled. Please mark the "esbuild" package as external so it's not included in the bundle.
@@ -1927,7 +1927,7 @@ var fsAsync = {
1927
1927
  }
1928
1928
  }
1929
1929
  };
1930
- var version = "0.14.47";
1930
+ var version = "0.14.48";
1931
1931
  var build = (options) => ensureServiceIsRunning().build(options);
1932
1932
  var serve = (serveOptions, buildOptions) => ensureServiceIsRunning().serve(serveOptions, buildOptions);
1933
1933
  var transform = (input, options) => ensureServiceIsRunning().transform(input, options);
@@ -2038,7 +2038,7 @@ var ensureServiceIsRunning = () => {
2038
2038
  if (longLivedService)
2039
2039
  return longLivedService;
2040
2040
  let [command, args] = esbuildCommandAndArgs();
2041
- let child = child_process.spawn(command, args.concat(`--service=${"0.14.47"}`, "--ping"), {
2041
+ let child = child_process.spawn(command, args.concat(`--service=${"0.14.48"}`, "--ping"), {
2042
2042
  windowsHide: true,
2043
2043
  stdio: ["pipe", "pipe", "inherit"],
2044
2044
  cwd: defaultWD
@@ -2052,7 +2052,7 @@ var ensureServiceIsRunning = () => {
2052
2052
  },
2053
2053
  readFileSync: fs2.readFileSync,
2054
2054
  isSync: false,
2055
- isBrowser: false,
2055
+ isWriteUnavailable: false,
2056
2056
  esbuild: node_exports
2057
2057
  });
2058
2058
  child.stdin.on("error", afterClose);
@@ -2148,11 +2148,11 @@ var runServiceSync = (callback) => {
2148
2148
  stdin = bytes;
2149
2149
  },
2150
2150
  isSync: true,
2151
- isBrowser: false,
2151
+ isWriteUnavailable: false,
2152
2152
  esbuild: node_exports
2153
2153
  });
2154
2154
  callback(service);
2155
- let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.14.47"}`), {
2155
+ let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.14.48"}`), {
2156
2156
  cwd: defaultWD,
2157
2157
  windowsHide: true,
2158
2158
  input: stdin,
@@ -2168,7 +2168,7 @@ var workerThreadService = null;
2168
2168
  var startWorkerThreadService = (worker_threads2) => {
2169
2169
  let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel();
2170
2170
  let worker = new worker_threads2.Worker(__filename, {
2171
- workerData: { workerPort, defaultWD, esbuildVersion: "0.14.47" },
2171
+ workerData: { workerPort, defaultWD, esbuildVersion: "0.14.48" },
2172
2172
  transferList: [workerPort],
2173
2173
  execArgv: []
2174
2174
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esbuild",
3
- "version": "0.14.47",
3
+ "version": "0.14.48",
4
4
  "description": "An extremely fast JavaScript and CSS bundler and minifier.",
5
5
  "repository": "https://github.com/evanw/esbuild",
6
6
  "scripts": {
@@ -15,26 +15,26 @@
15
15
  "esbuild": "bin/esbuild"
16
16
  },
17
17
  "optionalDependencies": {
18
- "esbuild-android-64": "0.14.47",
19
- "esbuild-android-arm64": "0.14.47",
20
- "esbuild-darwin-64": "0.14.47",
21
- "esbuild-darwin-arm64": "0.14.47",
22
- "esbuild-freebsd-64": "0.14.47",
23
- "esbuild-freebsd-arm64": "0.14.47",
24
- "esbuild-linux-32": "0.14.47",
25
- "esbuild-linux-64": "0.14.47",
26
- "esbuild-linux-arm": "0.14.47",
27
- "esbuild-linux-arm64": "0.14.47",
28
- "esbuild-linux-mips64le": "0.14.47",
29
- "esbuild-linux-ppc64le": "0.14.47",
30
- "esbuild-linux-riscv64": "0.14.47",
31
- "esbuild-linux-s390x": "0.14.47",
32
- "esbuild-netbsd-64": "0.14.47",
33
- "esbuild-openbsd-64": "0.14.47",
34
- "esbuild-sunos-64": "0.14.47",
35
- "esbuild-windows-32": "0.14.47",
36
- "esbuild-windows-64": "0.14.47",
37
- "esbuild-windows-arm64": "0.14.47"
18
+ "esbuild-android-64": "0.14.48",
19
+ "esbuild-android-arm64": "0.14.48",
20
+ "esbuild-darwin-64": "0.14.48",
21
+ "esbuild-darwin-arm64": "0.14.48",
22
+ "esbuild-freebsd-64": "0.14.48",
23
+ "esbuild-freebsd-arm64": "0.14.48",
24
+ "esbuild-linux-32": "0.14.48",
25
+ "esbuild-linux-64": "0.14.48",
26
+ "esbuild-linux-arm": "0.14.48",
27
+ "esbuild-linux-arm64": "0.14.48",
28
+ "esbuild-linux-mips64le": "0.14.48",
29
+ "esbuild-linux-ppc64le": "0.14.48",
30
+ "esbuild-linux-riscv64": "0.14.48",
31
+ "esbuild-linux-s390x": "0.14.48",
32
+ "esbuild-netbsd-64": "0.14.48",
33
+ "esbuild-openbsd-64": "0.14.48",
34
+ "esbuild-sunos-64": "0.14.48",
35
+ "esbuild-windows-32": "0.14.48",
36
+ "esbuild-windows-64": "0.14.48",
37
+ "esbuild-windows-arm64": "0.14.48"
38
38
  },
39
39
  "license": "MIT"
40
40
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esbuild-linux-64",
3
- "version": "0.14.47",
3
+ "version": "0.14.48",
4
4
  "description": "The Linux 64-bit binary for esbuild, a JavaScript bundler.",
5
5
  "repository": "https://github.com/evanw/esbuild",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -46,7 +46,7 @@
46
46
  "@typescript-eslint/parser": "^5",
47
47
  "aws-cdk-lib": "^2.29.1",
48
48
  "constructs": "^10.0.5",
49
- "esbuild": "^0.14.47",
49
+ "esbuild": "^0.14.48",
50
50
  "eslint": "^8",
51
51
  "eslint-import-resolver-node": "^0.3.6",
52
52
  "eslint-import-resolver-typescript": "^2.7.1",
@@ -70,9 +70,9 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "aws-cdk-lib": "^2.29.1",
73
- "aws-sdk": "^2.1165.0",
73
+ "aws-sdk": "^2.1166.0",
74
74
  "constructs": "^10.0.5",
75
- "esbuild": "^0.14.47"
75
+ "esbuild": "^0.14.48"
76
76
  },
77
77
  "bundledDependencies": [
78
78
  "aws-sdk",
@@ -92,7 +92,7 @@
92
92
  ],
93
93
  "main": "lib/index.js",
94
94
  "license": "Apache-2.0",
95
- "version": "2.0.23",
95
+ "version": "2.0.24",
96
96
  "jest": {
97
97
  "testMatch": [
98
98
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",