cdk-lambda-subminute 2.0.470 → 2.0.471

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.
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1673.0',
23
+ VERSION: '2.1675.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -1263,7 +1263,11 @@ AWS.util.update(AWS.S3.prototype, {
1263
1263
  // mutate params object argument passed in by user
1264
1264
  var copiedParams = AWS.util.copy(params);
1265
1265
 
1266
- if (hostname !== this.api.globalEndpoint && !params.CreateBucketConfiguration) {
1266
+ if (
1267
+ this.config.region !== 'us-east-1'
1268
+ && hostname !== this.api.globalEndpoint
1269
+ && !params.CreateBucketConfiguration
1270
+ ) {
1267
1271
  copiedParams.CreateBucketConfiguration = { LocationConstraint: this.config.region };
1268
1272
  }
1269
1273
  return this.makeRequest('createBucket', copiedParams, callback);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.1673.0",
4
+ "version": "2.1675.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -50,7 +50,8 @@ var allowlist = {
50
50
  819,
51
51
  820,
52
52
  821,
53
- 826
53
+ 826,
54
+ 1266
54
55
  ],
55
56
  '/token/sso_token_provider.js': [
56
57
  60
package/package.json CHANGED
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "dependencies": {
69
69
  "aws-cdk-lib": "^2.95.0",
70
- "aws-sdk": "^2.1673.0",
70
+ "aws-sdk": "^2.1675.0",
71
71
  "constructs": "^10.0.5"
72
72
  },
73
73
  "bundledDependencies": [
@@ -90,7 +90,7 @@
90
90
  "publishConfig": {
91
91
  "access": "public"
92
92
  },
93
- "version": "2.0.470",
93
+ "version": "2.0.471",
94
94
  "jest": {
95
95
  "coverageProvider": "v8",
96
96
  "testMatch": [