cdk-comprehend-s3olap 2.0.158 → 2.0.159

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 (31) hide show
  1. package/.jsii +3 -3
  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 +0 -3
  8. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +17 -10
  9. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +371 -214
  10. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +347 -336
  11. package/node_modules/aws-sdk/apis/sagemaker-geospatial-2020-05-27.min.json +67 -89
  12. package/node_modules/aws-sdk/apis/sts-2011-06-15.min.json +12 -3
  13. package/node_modules/aws-sdk/clients/athena.d.ts +0 -4
  14. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +11 -11
  15. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +17 -1
  16. package/node_modules/aws-sdk/clients/connect.d.ts +171 -0
  17. package/node_modules/aws-sdk/clients/ec2.d.ts +7 -6
  18. package/node_modules/aws-sdk/clients/ecs.d.ts +2 -2
  19. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +9 -9
  20. package/node_modules/aws-sdk/clients/rds.d.ts +1 -1
  21. package/node_modules/aws-sdk/clients/sagemakergeospatial.d.ts +2 -31
  22. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +40 -3
  23. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +66 -11
  24. package/node_modules/aws-sdk/dist/aws-sdk.js +777 -561
  25. package/node_modules/aws-sdk/dist/aws-sdk.min.js +83 -83
  26. package/node_modules/aws-sdk/lib/core.js +1 -1
  27. package/node_modules/aws-sdk/lib/protocol/json.js +19 -0
  28. package/node_modules/aws-sdk/lib/region_config_data.json +6 -1
  29. package/node_modules/aws-sdk/lib/util.js +19 -1
  30. package/node_modules/aws-sdk/package.json +1 -1
  31. package/package.json +3 -3
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1379.0',
23
+ VERSION: '2.1380.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -40,6 +40,7 @@ function extractError(resp) {
40
40
  if (httpResponse.body.length > 0) {
41
41
  try {
42
42
  var e = JSON.parse(httpResponse.body.toString());
43
+
43
44
  var code = e.__type || e.code || e.Code;
44
45
  if (code) {
45
46
  error.code = code.split('#').pop();
@@ -49,6 +50,24 @@ function extractError(resp) {
49
50
  } else {
50
51
  error.message = (e.message || e.Message || null);
51
52
  }
53
+
54
+ // The minimized models do not have error shapes, so
55
+ // without expanding the model size, it's not possible
56
+ // to validate the response shape (members) or
57
+ // check if any are sensitive to logging.
58
+
59
+ // Assign the fields as non-enumerable, allowing specific access only.
60
+ for (var key in e || {}) {
61
+ if (key === 'code' || key === 'message') {
62
+ continue;
63
+ }
64
+ error['[' + key + ']'] = 'See error.' + key + ' for details.';
65
+ Object.defineProperty(error, key, {
66
+ value: e[key],
67
+ enumerable: false,
68
+ writable: true
69
+ });
70
+ }
52
71
  } catch (e) {
53
72
  error.statusCode = httpResponse.statusCode;
54
73
  error.message = httpResponse.statusMessage;
@@ -43,8 +43,13 @@
43
43
  "globalEndpoint": true,
44
44
  "signingRegion": "cn-north-1"
45
45
  },
46
- "us-gov-*/iam": "globalGovCloud",
46
+ "us-iso-*/iam": {
47
+ "endpoint": "{service}.us-iso-east-1.c2s.ic.gov",
48
+ "globalEndpoint": true,
49
+ "signingRegion": "us-iso-east-1"
50
+ },
47
51
 
52
+ "us-gov-*/iam": "globalGovCloud",
48
53
  "us-gov-*/sts": {
49
54
  "endpoint": "{service}.{region}.amazonaws.com"
50
55
  },
@@ -610,7 +610,25 @@ var util = {
610
610
  err.name = String(options && options.name || err.name || err.code || 'Error');
611
611
  err.time = new Date();
612
612
 
613
- if (originalError) err.originalError = originalError;
613
+ if (originalError) {
614
+ err.originalError = originalError;
615
+ }
616
+
617
+
618
+ for (var key in options || {}) {
619
+ if (key[0] === '[' && key[key.length - 1] === ']') {
620
+ key = key.slice(1, -1);
621
+ if (key === 'code' || key === 'message') {
622
+ continue;
623
+ }
624
+ err['[' + key + ']'] = 'See error.' + key + ' for details.';
625
+ Object.defineProperty(err, key, {
626
+ value: err[key] || (options && options[key]) || (originalError && originalError[key]),
627
+ enumerable: false,
628
+ writable: true
629
+ });
630
+ }
631
+ }
614
632
 
615
633
  return err;
616
634
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.1379.0",
4
+ "version": "2.1380.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
package/package.json CHANGED
@@ -57,7 +57,7 @@
57
57
  "jsii-docgen": "^1.8.110",
58
58
  "jsii-pacmak": "^1.81.0",
59
59
  "npm-check-updates": "^16",
60
- "projen": "^0.71.60",
60
+ "projen": "^0.71.62",
61
61
  "standard-version": "^9",
62
62
  "ts-jest": "^27",
63
63
  "typescript": "^4.9.5"
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "aws-cdk-lib": "^2.79.1",
71
- "aws-sdk": "^2.1379.0",
71
+ "aws-sdk": "^2.1380.0",
72
72
  "constructs": "^10.0.5",
73
73
  "esbuild": "^0.17.19"
74
74
  },
@@ -95,7 +95,7 @@
95
95
  ],
96
96
  "main": "lib/index.js",
97
97
  "license": "Apache-2.0",
98
- "version": "2.0.158",
98
+ "version": "2.0.159",
99
99
  "jest": {
100
100
  "testMatch": [
101
101
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",