cdk-comprehend-s3olap 2.0.7 → 2.0.10

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 (49) hide show
  1. package/.jsii +5 -5
  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 +17 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json +53 -53
  8. package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.min.json +278 -73
  9. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +325 -98
  10. package/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.min.json +105 -48
  11. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +146 -143
  12. package/node_modules/aws-sdk/apis/metadata.json +3 -0
  13. package/node_modules/aws-sdk/apis/redshift-data-2019-12-20.min.json +25 -16
  14. package/node_modules/aws-sdk/apis/redshiftserverless-2021-04-21.examples.json +5 -0
  15. package/node_modules/aws-sdk/apis/redshiftserverless-2021-04-21.min.json +1206 -0
  16. package/node_modules/aws-sdk/apis/redshiftserverless-2021-04-21.paginators.json +40 -0
  17. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +841 -300
  18. package/node_modules/aws-sdk/apis/servicecatalog-appregistry-2020-06-24.min.json +45 -0
  19. package/node_modules/aws-sdk/apis/servicecatalog-appregistry-2020-06-24.paginators.json +6 -0
  20. package/node_modules/aws-sdk/clients/all.d.ts +1 -0
  21. package/node_modules/aws-sdk/clients/all.js +2 -1
  22. package/node_modules/aws-sdk/clients/budgets.d.ts +2 -1
  23. package/node_modules/aws-sdk/clients/finspacedata.d.ts +201 -4
  24. package/node_modules/aws-sdk/clients/guardduty.d.ts +186 -4
  25. package/node_modules/aws-sdk/clients/lookoutmetrics.d.ts +69 -2
  26. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +6 -1
  27. package/node_modules/aws-sdk/clients/redshiftdata.d.ts +51 -14
  28. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +1525 -0
  29. package/node_modules/aws-sdk/clients/redshiftserverless.js +18 -0
  30. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +6 -6
  31. package/node_modules/aws-sdk/clients/securityhub.d.ts +1020 -19
  32. package/node_modules/aws-sdk/clients/servicecatalogappregistry.d.ts +49 -2
  33. package/node_modules/aws-sdk/clients/workspaces.d.ts +10 -10
  34. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +17 -9
  35. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +80 -27
  36. package/node_modules/aws-sdk/dist/aws-sdk.js +21 -10
  37. package/node_modules/aws-sdk/dist/aws-sdk.min.js +36 -36
  38. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
  39. package/node_modules/aws-sdk/lib/core.js +1 -1
  40. package/node_modules/aws-sdk/lib/util.js +15 -7
  41. package/node_modules/aws-sdk/package.json +1 -1
  42. package/node_modules/esbuild/bin/esbuild +1 -0
  43. package/node_modules/esbuild/install.js +5 -4
  44. package/node_modules/esbuild/lib/main.d.ts +3 -1
  45. package/node_modules/esbuild/lib/main.js +15 -10
  46. package/node_modules/esbuild/package.json +21 -21
  47. package/node_modules/esbuild-linux-64/bin/esbuild +0 -0
  48. package/node_modules/esbuild-linux-64/package.json +1 -1
  49. package/package.json +10 -10
@@ -308,6 +308,7 @@ export abstract class ConfigurationServicePlaceholders {
308
308
  chimesdkmediapipelines?: AWS.ChimeSDKMediaPipelines.Types.ClientConfiguration;
309
309
  emrserverless?: AWS.EMRServerless.Types.ClientConfiguration;
310
310
  m2?: AWS.M2.Types.ClientConfiguration;
311
+ redshiftserverless?: AWS.RedshiftServerless.Types.ClientConfiguration;
311
312
  }
312
313
  export interface ConfigurationServiceApiVersions {
313
314
  acm?: AWS.ACM.Types.apiVersion;
@@ -618,4 +619,5 @@ export interface ConfigurationServiceApiVersions {
618
619
  chimesdkmediapipelines?: AWS.ChimeSDKMediaPipelines.Types.apiVersion;
619
620
  emrserverless?: AWS.EMRServerless.Types.apiVersion;
620
621
  m2?: AWS.M2.Types.apiVersion;
622
+ redshiftserverless?: AWS.RedshiftServerless.Types.apiVersion;
621
623
  }
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1153.0',
23
+ VERSION: '2.1156.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -215,20 +215,28 @@ var util = {
215
215
  parse: function string(ini) {
216
216
  var currentSection, map = {};
217
217
  util.arrayEach(ini.split(/\r?\n/), function(line) {
218
- line = line.split(/(^|\s)[;#]/)[0]; // remove comments
219
- var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/);
220
- if (section) {
221
- currentSection = section[1];
218
+ line = line.split(/(^|\s)[;#]/)[0].trim(); // remove comments and trim
219
+ var isSection = line[0] === '[' && line[line.length - 1] === ']';
220
+ if (isSection) {
221
+ currentSection = line.substring(1, line.length - 1);
222
222
  if (currentSection === '__proto__' || currentSection.split(/\s/)[1] === '__proto__') {
223
223
  throw util.error(
224
224
  new Error('Cannot load profile name \'' + currentSection + '\' from shared ini file.')
225
225
  );
226
226
  }
227
227
  } else if (currentSection) {
228
- var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/);
229
- if (item) {
228
+ var indexOfEqualsSign = line.indexOf('=');
229
+ var start = 0;
230
+ var end = line.length - 1;
231
+ var isAssignment =
232
+ indexOfEqualsSign !== -1 && indexOfEqualsSign !== start && indexOfEqualsSign !== end;
233
+
234
+ if (isAssignment) {
235
+ var name = line.substring(0, indexOfEqualsSign).trim();
236
+ var value = line.substring(indexOfEqualsSign + 1).trim();
237
+
230
238
  map[currentSection] = map[currentSection] || {};
231
- map[currentSection][item[1]] = item[2];
239
+ map[currentSection][name] = value;
232
240
  }
233
241
  }
234
242
  });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.1153.0",
4
+ "version": "2.1156.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ "use strict";
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __defProps = Object.defineProperties;
@@ -101,8 +102,8 @@ function validateBinaryVersion(...command) {
101
102
  const stdout = child_process.execFileSync(command.shift(), command, {
102
103
  stdio: "pipe"
103
104
  }).toString().trim();
104
- if (stdout !== "0.14.43") {
105
- throw new Error(`Expected ${JSON.stringify("0.14.43")} but got ${JSON.stringify(stdout)}`);
105
+ if (stdout !== "0.14.45") {
106
+ throw new Error(`Expected ${JSON.stringify("0.14.45")} but got ${JSON.stringify(stdout)}`);
106
107
  }
107
108
  }
108
109
  function isYarn() {
@@ -153,7 +154,7 @@ function installUsingNPM(pkg, subpath, binPath) {
153
154
  fs2.mkdirSync(installDir);
154
155
  try {
155
156
  fs2.writeFileSync(path2.join(installDir, "package.json"), "{}");
156
- child_process.execSync(`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.14.43"}`, { cwd: installDir, stdio: "pipe", env });
157
+ child_process.execSync(`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.14.45"}`, { cwd: installDir, stdio: "pipe", env });
157
158
  const installedBinPath = path2.join(installDir, "node_modules", pkg, subpath);
158
159
  fs2.renameSync(installedBinPath, binPath);
159
160
  } finally {
@@ -202,7 +203,7 @@ function maybeOptimizePackage(binPath) {
202
203
  }
203
204
  }
204
205
  async function downloadDirectlyFromNPM(pkg, subpath, binPath) {
205
- const url = `https://registry.npmjs.org/${pkg}/-/${pkg}-${"0.14.43"}.tgz`;
206
+ const url = `https://registry.npmjs.org/${pkg}/-/${pkg}-${"0.14.45"}.tgz`;
206
207
  console.error(`[esbuild] Trying to download ${JSON.stringify(url)}`);
207
208
  try {
208
209
  fs2.writeFileSync(binPath, extractFileFromTarGzip(await fetch(url), subpath));
@@ -1,6 +1,6 @@
1
1
  export type Platform = 'browser' | 'node' | 'neutral';
2
2
  export type Format = 'iife' | 'cjs' | 'esm';
3
- export type Loader = 'js' | 'jsx' | 'ts' | 'tsx' | 'css' | 'json' | 'text' | 'base64' | 'file' | 'dataurl' | 'binary' | 'default';
3
+ export type Loader = 'js' | 'jsx' | 'ts' | 'tsx' | 'css' | 'json' | 'text' | 'base64' | 'file' | 'dataurl' | 'binary' | 'copy' | 'default';
4
4
  export type LogLevel = 'verbose' | 'debug' | 'info' | 'warning' | 'error' | 'silent';
5
5
  export type Charset = 'ascii' | 'utf8';
6
6
  export type Drop = 'console' | 'debugger';
@@ -148,6 +148,7 @@ export interface StdinOptions {
148
148
  }
149
149
 
150
150
  export interface Message {
151
+ id: string;
151
152
  pluginName: string;
152
153
  text: string;
153
154
  location: Location | null;
@@ -402,6 +403,7 @@ export interface OnLoadResult {
402
403
  }
403
404
 
404
405
  export interface PartialMessage {
406
+ id?: string;
405
407
  pluginName?: string;
406
408
  text?: string;
407
409
  location?: Partial<Location> | null;
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __defProps = Object.defineProperties;
@@ -754,8 +755,8 @@ function createChannel(streamIn) {
754
755
  if (isFirstPacket) {
755
756
  isFirstPacket = false;
756
757
  let binaryVersion = String.fromCharCode(...bytes);
757
- if (binaryVersion !== "0.14.43") {
758
- throw new Error(`Cannot start service: Host version "${"0.14.43"}" does not match binary version ${JSON.stringify(binaryVersion)}`);
758
+ if (binaryVersion !== "0.14.45") {
759
+ throw new Error(`Cannot start service: Host version "${"0.14.45"}" does not match binary version ${JSON.stringify(binaryVersion)}`);
759
760
  }
760
761
  return;
761
762
  }
@@ -1264,7 +1265,7 @@ function createChannel(streamIn) {
1264
1265
  throw new Error("Cannot rebuild");
1265
1266
  sendRequest(refs, { command: "rebuild", key }, (error2, response2) => {
1266
1267
  if (error2) {
1267
- const message = { pluginName: "", text: error2, location: null, notes: [], detail: void 0 };
1268
+ const message = { id: "", pluginName: "", text: error2, location: null, notes: [], detail: void 0 };
1268
1269
  return callback2(failureErrorWithLog("Build failed", [message], []), null);
1269
1270
  }
1270
1271
  buildResponseToResult(response2, (error3, result3) => {
@@ -1547,7 +1548,7 @@ function extractErrorMessageV8(e, streamIn, stash, note, pluginName) {
1547
1548
  location = parseStackLinesV8(streamIn, (e.stack + "").split("\n"), "");
1548
1549
  } catch {
1549
1550
  }
1550
- return { pluginName, text, location, notes: note ? [note] : [], detail: stash ? stash.store(e) : -1 };
1551
+ return { id: "", pluginName, text, location, notes: note ? [note] : [], detail: stash ? stash.store(e) : -1 };
1551
1552
  }
1552
1553
  function parseStackLinesV8(streamIn, lines, ident) {
1553
1554
  let at = " at ";
@@ -1646,6 +1647,7 @@ function sanitizeMessages(messages, property, stash, fallbackPluginName) {
1646
1647
  let index = 0;
1647
1648
  for (const message of messages) {
1648
1649
  let keys = {};
1650
+ let id = getFlag(message, keys, "id", mustBeString);
1649
1651
  let pluginName = getFlag(message, keys, "pluginName", mustBeString);
1650
1652
  let text = getFlag(message, keys, "text", mustBeString);
1651
1653
  let location = getFlag(message, keys, "location", mustBeObjectOrNull);
@@ -1667,6 +1669,7 @@ function sanitizeMessages(messages, property, stash, fallbackPluginName) {
1667
1669
  }
1668
1670
  }
1669
1671
  messagesClone.push({
1672
+ id: id || "",
1670
1673
  pluginName: pluginName || fallbackPluginName,
1671
1674
  text: text || "",
1672
1675
  location: sanitizeLocation(location, where),
@@ -1867,7 +1870,7 @@ if (process.env.ESBUILD_WORKER_THREADS !== "0") {
1867
1870
  }
1868
1871
  }
1869
1872
  var _a;
1870
- var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.14.43";
1873
+ var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.14.45";
1871
1874
  var esbuildCommandAndArgs = () => {
1872
1875
  if ((!ESBUILD_BINARY_PATH || false) && (path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib")) {
1873
1876
  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.
@@ -1931,7 +1934,7 @@ var fsAsync = {
1931
1934
  }
1932
1935
  }
1933
1936
  };
1934
- var version = "0.14.43";
1937
+ var version = "0.14.45";
1935
1938
  var build = (options) => ensureServiceIsRunning().build(options);
1936
1939
  var serve = (serveOptions, buildOptions) => ensureServiceIsRunning().serve(serveOptions, buildOptions);
1937
1940
  var transform = (input, options) => ensureServiceIsRunning().transform(input, options);
@@ -2026,6 +2029,8 @@ var initialize = (options) => {
2026
2029
  options = validateInitializeOptions(options || {});
2027
2030
  if (options.wasmURL)
2028
2031
  throw new Error(`The "wasmURL" option only works in the browser`);
2032
+ if (options.wasmModule)
2033
+ throw new Error(`The "wasmModule" option only works in the browser`);
2029
2034
  if (options.worker)
2030
2035
  throw new Error(`The "worker" option only works in the browser`);
2031
2036
  if (initializeWasCalled)
@@ -2040,7 +2045,7 @@ var ensureServiceIsRunning = () => {
2040
2045
  if (longLivedService)
2041
2046
  return longLivedService;
2042
2047
  let [command, args] = esbuildCommandAndArgs();
2043
- let child = child_process.spawn(command, args.concat(`--service=${"0.14.43"}`, "--ping"), {
2048
+ let child = child_process.spawn(command, args.concat(`--service=${"0.14.45"}`, "--ping"), {
2044
2049
  windowsHide: true,
2045
2050
  stdio: ["pipe", "pipe", "inherit"],
2046
2051
  cwd: defaultWD
@@ -2154,7 +2159,7 @@ var runServiceSync = (callback) => {
2154
2159
  esbuild: node_exports
2155
2160
  });
2156
2161
  callback(service);
2157
- let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.14.43"}`), {
2162
+ let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.14.45"}`), {
2158
2163
  cwd: defaultWD,
2159
2164
  windowsHide: true,
2160
2165
  input: stdin,
@@ -2170,7 +2175,7 @@ var workerThreadService = null;
2170
2175
  var startWorkerThreadService = (worker_threads2) => {
2171
2176
  let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel();
2172
2177
  let worker = new worker_threads2.Worker(__filename, {
2173
- workerData: { workerPort, defaultWD, esbuildVersion: "0.14.43" },
2178
+ workerData: { workerPort, defaultWD, esbuildVersion: "0.14.45" },
2174
2179
  transferList: [workerPort],
2175
2180
  execArgv: []
2176
2181
  });
@@ -2179,7 +2184,7 @@ var startWorkerThreadService = (worker_threads2) => {
2179
2184
  let fakeBuildError = (text) => {
2180
2185
  let error = new Error(`Build failed with 1 error:
2181
2186
  error: ${text}`);
2182
- let errors = [{ pluginName: "", text, location: null, notes: [], detail: void 0 }];
2187
+ let errors = [{ id: "", pluginName: "", text, location: null, notes: [], detail: void 0 }];
2183
2188
  error.errors = errors;
2184
2189
  error.warnings = [];
2185
2190
  return error;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esbuild",
3
- "version": "0.14.43",
3
+ "version": "0.14.45",
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.43",
19
- "esbuild-android-arm64": "0.14.43",
20
- "esbuild-darwin-64": "0.14.43",
21
- "esbuild-darwin-arm64": "0.14.43",
22
- "esbuild-freebsd-64": "0.14.43",
23
- "esbuild-freebsd-arm64": "0.14.43",
24
- "esbuild-linux-32": "0.14.43",
25
- "esbuild-linux-64": "0.14.43",
26
- "esbuild-linux-arm": "0.14.43",
27
- "esbuild-linux-arm64": "0.14.43",
28
- "esbuild-linux-mips64le": "0.14.43",
29
- "esbuild-linux-ppc64le": "0.14.43",
30
- "esbuild-linux-riscv64": "0.14.43",
31
- "esbuild-linux-s390x": "0.14.43",
32
- "esbuild-netbsd-64": "0.14.43",
33
- "esbuild-openbsd-64": "0.14.43",
34
- "esbuild-sunos-64": "0.14.43",
35
- "esbuild-windows-32": "0.14.43",
36
- "esbuild-windows-64": "0.14.43",
37
- "esbuild-windows-arm64": "0.14.43"
18
+ "esbuild-android-64": "0.14.45",
19
+ "esbuild-android-arm64": "0.14.45",
20
+ "esbuild-darwin-64": "0.14.45",
21
+ "esbuild-darwin-arm64": "0.14.45",
22
+ "esbuild-freebsd-64": "0.14.45",
23
+ "esbuild-freebsd-arm64": "0.14.45",
24
+ "esbuild-linux-32": "0.14.45",
25
+ "esbuild-linux-64": "0.14.45",
26
+ "esbuild-linux-arm": "0.14.45",
27
+ "esbuild-linux-arm64": "0.14.45",
28
+ "esbuild-linux-mips64le": "0.14.45",
29
+ "esbuild-linux-ppc64le": "0.14.45",
30
+ "esbuild-linux-riscv64": "0.14.45",
31
+ "esbuild-linux-s390x": "0.14.45",
32
+ "esbuild-netbsd-64": "0.14.45",
33
+ "esbuild-openbsd-64": "0.14.45",
34
+ "esbuild-sunos-64": "0.14.45",
35
+ "esbuild-windows-32": "0.14.45",
36
+ "esbuild-windows-64": "0.14.45",
37
+ "esbuild-windows-arm64": "0.14.45"
38
38
  },
39
39
  "license": "MIT"
40
40
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esbuild-linux-64",
3
- "version": "0.14.43",
3
+ "version": "0.14.45",
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
@@ -44,22 +44,22 @@
44
44
  "@types/node": "^14",
45
45
  "@typescript-eslint/eslint-plugin": "^5",
46
46
  "@typescript-eslint/parser": "^5",
47
- "aws-cdk-lib": "^2.27.0",
47
+ "aws-cdk-lib": "^2.28.1",
48
48
  "constructs": "^10.0.5",
49
- "esbuild": "^0.14.43",
49
+ "esbuild": "^0.14.45",
50
50
  "eslint": "^8",
51
51
  "eslint-import-resolver-node": "^0.3.6",
52
52
  "eslint-import-resolver-typescript": "^2.7.1",
53
53
  "eslint-plugin-import": "^2.26.0",
54
54
  "jest": "^27",
55
55
  "jest-junit": "^13",
56
- "jsii": "^1.60.1",
57
- "jsii-diff": "^1.60.1",
56
+ "jsii": "^1.61.0",
57
+ "jsii-diff": "^1.61.0",
58
58
  "jsii-docgen": "^1.8.110",
59
- "jsii-pacmak": "^1.60.1",
59
+ "jsii-pacmak": "^1.61.0",
60
60
  "json-schema": "^0.4.0",
61
61
  "npm-check-updates": "^12",
62
- "projen": "^0.58.12",
62
+ "projen": "^0.58.15",
63
63
  "standard-version": "^9",
64
64
  "ts-jest": "^27",
65
65
  "typescript": "^4.7.3"
@@ -69,10 +69,10 @@
69
69
  "constructs": "^10.0.5"
70
70
  },
71
71
  "dependencies": {
72
- "aws-cdk-lib": "^2.27.0",
73
- "aws-sdk": "^2.1153.0",
72
+ "aws-cdk-lib": "^2.28.1",
73
+ "aws-sdk": "^2.1156.0",
74
74
  "constructs": "^10.0.5",
75
- "esbuild": "^0.14.43"
75
+ "esbuild": "^0.14.45"
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.7",
95
+ "version": "2.0.10",
96
96
  "jest": {
97
97
  "testMatch": [
98
98
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",