cdk-docker-image-deployment 0.0.87 → 0.0.88

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 (60) hide show
  1. package/.jsii +3 -3
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/aws-sdk/CHANGELOG.md +23 -1
  6. package/node_modules/aws-sdk/README.md +29 -1
  7. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +441 -110
  8. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +12 -0
  9. package/node_modules/aws-sdk/apis/drs-2020-02-26.min.json +124 -45
  10. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +331 -215
  11. package/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json +6 -0
  12. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +252 -214
  13. package/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +26 -0
  14. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +686 -105
  15. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +43 -8
  16. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +97 -16
  17. package/node_modules/aws-sdk/apis/metadata.json +3 -0
  18. package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +931 -118
  19. package/node_modules/aws-sdk/apis/mgn-2020-02-26.paginators.json +24 -0
  20. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +23 -14
  21. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json +4 -1
  22. package/node_modules/aws-sdk/apis/oam-2022-06-10.examples.json +5 -0
  23. package/node_modules/aws-sdk/apis/oam-2022-06-10.min.json +482 -0
  24. package/node_modules/aws-sdk/apis/oam-2022-06-10.paginators.json +22 -0
  25. package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +62 -16
  26. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +379 -236
  27. package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +6 -0
  28. package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +310 -62
  29. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +98 -95
  30. package/node_modules/aws-sdk/clients/all.d.ts +1 -0
  31. package/node_modules/aws-sdk/clients/all.js +2 -1
  32. package/node_modules/aws-sdk/clients/backup.d.ts +405 -15
  33. package/node_modules/aws-sdk/clients/cloudwatch.d.ts +30 -16
  34. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +196 -65
  35. package/node_modules/aws-sdk/clients/drs.d.ts +104 -5
  36. package/node_modules/aws-sdk/clients/ecs.d.ts +159 -17
  37. package/node_modules/aws-sdk/clients/efs.d.ts +5 -5
  38. package/node_modules/aws-sdk/clients/iot.d.ts +76 -4
  39. package/node_modules/aws-sdk/clients/iotdata.d.ts +31 -1
  40. package/node_modules/aws-sdk/clients/iotwireless.d.ts +599 -14
  41. package/node_modules/aws-sdk/clients/kendra.d.ts +84 -39
  42. package/node_modules/aws-sdk/clients/mgn.d.ts +1046 -68
  43. package/node_modules/aws-sdk/clients/oam.d.ts +559 -0
  44. package/node_modules/aws-sdk/clients/oam.js +18 -0
  45. package/node_modules/aws-sdk/clients/organizations.d.ts +69 -8
  46. package/node_modules/aws-sdk/clients/rds.d.ts +199 -2
  47. package/node_modules/aws-sdk/clients/textract.d.ts +264 -0
  48. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +210 -191
  49. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +29 -10
  50. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +91 -33
  51. package/node_modules/aws-sdk/dist/aws-sdk.js +1167 -707
  52. package/node_modules/aws-sdk/dist/aws-sdk.min.js +59 -59
  53. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
  54. package/node_modules/aws-sdk/lib/core.js +1 -1
  55. package/node_modules/aws-sdk/lib/event_listeners.js +22 -5
  56. package/node_modules/aws-sdk/lib/region_config.js +3 -1
  57. package/node_modules/aws-sdk/lib/region_config_data.json +11 -1
  58. package/node_modules/aws-sdk/lib/signers/bearer.js +1 -1
  59. package/node_modules/aws-sdk/package.json +1 -1
  60. package/package.json +6 -5
@@ -324,6 +324,7 @@ export abstract class ConfigurationServicePlaceholders {
324
324
  chimesdkvoice?: AWS.ChimeSDKVoice.Types.ClientConfiguration;
325
325
  iotroborunner?: AWS.IoTRoboRunner.Types.ClientConfiguration;
326
326
  ssmsap?: AWS.SsmSap.Types.ClientConfiguration;
327
+ oam?: AWS.OAM.Types.ClientConfiguration;
327
328
  }
328
329
  export interface ConfigurationServiceApiVersions {
329
330
  acm?: AWS.ACM.Types.apiVersion;
@@ -650,4 +651,5 @@ export interface ConfigurationServiceApiVersions {
650
651
  chimesdkvoice?: AWS.ChimeSDKVoice.Types.apiVersion;
651
652
  iotroborunner?: AWS.IoTRoboRunner.Types.apiVersion;
652
653
  ssmsap?: AWS.SsmSap.Types.apiVersion;
654
+ oam?: AWS.OAM.Types.apiVersion;
653
655
  }
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1261.0',
23
+ VERSION: '2.1262.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -73,6 +73,23 @@ function getOperationAuthtype(req) {
73
73
  return operation ? operation.authtype : '';
74
74
  }
75
75
 
76
+ /**
77
+ * @api private
78
+ */
79
+ function getIdentityType(req) {
80
+ var service = req.service;
81
+
82
+ if (service.config.signatureVersion) {
83
+ return service.config.signatureVersion;
84
+ }
85
+
86
+ if (service.api.signatureVersion) {
87
+ return service.api.signatureVersion;
88
+ }
89
+
90
+ return getOperationAuthtype(req);
91
+ }
92
+
76
93
  AWS.EventListeners = {
77
94
  Core: new SequentialExecutor().addNamedListeners(function(add, addAsync) {
78
95
  addAsync('VALIDATE_CREDENTIALS', 'validate',
@@ -250,12 +267,10 @@ AWS.EventListeners = {
250
267
 
251
268
  addAsync('SIGN', 'sign', function SIGN(req, done) {
252
269
  var service = req.service;
253
- var operations = req.service.api.operations || {};
254
- var operation = operations[req.operation];
255
- var authtype = operation ? operation.authtype : '';
256
- if (!service.api.signatureVersion && !authtype && !service.config.signatureVersion) return done(); // none
270
+ var identityType = getIdentityType(req);
271
+ if (!identityType || identityType.length === 0) return done(); // none
257
272
 
258
- if (authtype === 'bearer' || service.config.signatureVersion === 'bearer') {
273
+ if (identityType === 'bearer') {
259
274
  service.config.getToken(function (err, token) {
260
275
  if (err) {
261
276
  req.response.error = err;
@@ -281,6 +296,8 @@ AWS.EventListeners = {
281
296
  try {
282
297
  var date = service.getSkewCorrectedDate();
283
298
  var SignerClass = service.getSignerClass(req);
299
+ var operations = req.service.api.operations || {};
300
+ var operation = operations[req.operation];
284
301
  var signer = new SignerClass(req.httpRequest,
285
302
  service.getSigningName(req),
286
303
  {
@@ -63,7 +63,9 @@ function configureEndpoint(service) {
63
63
  }
64
64
 
65
65
  // signature version
66
- if (!config.signatureVersion) config.signatureVersion = 'v4';
66
+ if (!config.signatureVersion) {
67
+ config.signatureVersion = (service.api && service.api.signatureVersion) || 'v4';
68
+ }
67
69
 
68
70
  // merge config
69
71
  applyConfig(service, config);
@@ -128,7 +128,8 @@
128
128
  "us-gov-west-1/organizations": "fipsWithServiceOnly",
129
129
  "us-gov-west-1/route53": {
130
130
  "endpoint": "route53.us-gov.amazonaws.com"
131
- }
131
+ },
132
+ "*/resource-explorer-2": "fipsDualstackByDefault"
132
133
  },
133
134
 
134
135
  "dualstackRules": {
@@ -227,6 +228,15 @@
227
228
  },
228
229
  "dualstackByDefault": {
229
230
  "endpoint": "{service}.{region}.api.aws"
231
+ },
232
+ "fipsDualstackByDefault": {
233
+ "endpoint": "{service}-fips.{region}.api.aws"
234
+ },
235
+ "globalDualstackByDefault": {
236
+ "endpoint": "{service}.global.api.aws"
237
+ },
238
+ "fipsGlobalDualstackByDefault": {
239
+ "endpoint": "{service}-fips.global.api.aws"
230
240
  }
231
241
  }
232
242
  }
@@ -9,6 +9,6 @@ AWS.Signers.Bearer = AWS.util.inherit(AWS.Signers.RequestSigner, {
9
9
  },
10
10
 
11
11
  addAuthorization: function addAuthorization(token) {
12
- this.request.httpRequest.headers['Authorization'] = 'Bearer ' + token.token;
12
+ this.request.headers['Authorization'] = 'Bearer ' + token.token;
13
13
  }
14
14
  });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.1261.0",
4
+ "version": "2.1262.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
package/package.json CHANGED
@@ -53,11 +53,11 @@
53
53
  "jest-junit": "^13",
54
54
  "jsii": "^1.71.0",
55
55
  "jsii-diff": "^1.71.0",
56
- "jsii-docgen": "^7.0.162",
56
+ "jsii-docgen": "^7.0.163",
57
57
  "jsii-pacmak": "^1.71.0",
58
58
  "json-schema": "^0.4.0",
59
59
  "npm-check-updates": "^16",
60
- "projen": "^0.65.36",
60
+ "projen": "^0.65.38",
61
61
  "standard-version": "^9",
62
62
  "ts-jest": "^27",
63
63
  "typescript": "^4.9.3"
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@types/aws-lambda": "^8.10.109",
71
- "aws-sdk": "^2.1261.0"
71
+ "aws-sdk": "^2.1262.0"
72
72
  },
73
73
  "bundledDependencies": [
74
74
  "@types/aws-lambda",
@@ -80,7 +80,7 @@
80
80
  "main": "lib/index.js",
81
81
  "license": "Apache-2.0",
82
82
  "homepage": "https://github.com/cdklabs/cdk-docker-image-deployment#readme",
83
- "version": "0.0.87",
83
+ "version": "0.0.88",
84
84
  "jest": {
85
85
  "testMatch": [
86
86
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
@@ -148,7 +148,8 @@
148
148
  }
149
149
  },
150
150
  "resolutions": {
151
- "@types/prettier": "2.6.0"
151
+ "@types/prettier": "2.6.0",
152
+ "@types/babel__traverse": "7.18.2"
152
153
  },
153
154
  "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
154
155
  }