aws-sdk 2.849.0 → 2.853.0

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 (48) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/README.md +1 -1
  3. package/apis/appflow-2020-08-23.min.json +123 -66
  4. package/apis/autoscaling-2011-01-01.min.json +20 -15
  5. package/apis/databrew-2017-07-25.min.json +87 -77
  6. package/apis/detective-2018-10-26.min.json +26 -19
  7. package/apis/ecr-public-2020-10-30.min.json +82 -11
  8. package/apis/eks-2017-11-01.min.json +154 -122
  9. package/apis/elasticmapreduce-2009-03-31.min.json +19 -1
  10. package/apis/es-2015-01-01.min.json +192 -57
  11. package/apis/es-2015-01-01.paginators.json +5 -0
  12. package/apis/glue-2017-03-31.min.json +72 -69
  13. package/apis/imagebuilder-2019-12-02.min.json +96 -56
  14. package/apis/imagebuilder-2019-12-02.paginators.json +6 -0
  15. package/apis/iotevents-2018-07-27.min.json +102 -3
  16. package/apis/mediapackage-vod-2018-11-07.min.json +153 -76
  17. package/apis/pinpoint-2016-12-01.min.json +9 -3
  18. package/apis/redshift-data-2019-12-20.min.json +5 -1
  19. package/apis/s3-2006-03-01.examples.json +109 -109
  20. package/apis/s3-2006-03-01.min.json +8 -0
  21. package/clients/appflow.d.ts +33 -1
  22. package/clients/autoscaling.d.ts +16 -2
  23. package/clients/computeoptimizer.d.ts +5 -5
  24. package/clients/databrew.d.ts +26 -0
  25. package/clients/detective.d.ts +20 -11
  26. package/clients/ecrpublic.d.ts +78 -0
  27. package/clients/eks.d.ts +29 -4
  28. package/clients/emr.d.ts +80 -50
  29. package/clients/es.d.ts +186 -0
  30. package/clients/glue.d.ts +6 -4
  31. package/clients/imagebuilder.d.ts +63 -2
  32. package/clients/iotevents.d.ts +130 -28
  33. package/clients/lightsail.d.ts +2 -2
  34. package/clients/mediapackagevod.d.ts +43 -0
  35. package/clients/pinpoint.d.ts +24 -0
  36. package/clients/quicksight.d.ts +5 -5
  37. package/clients/redshiftdata.d.ts +16 -4
  38. package/clients/s3.d.ts +40 -38
  39. package/clients/s3control.d.ts +4 -4
  40. package/dist/aws-sdk-core-react-native.js +1 -1
  41. package/dist/aws-sdk-react-native.js +35 -21
  42. package/dist/aws-sdk.js +67 -22
  43. package/dist/aws-sdk.min.js +82 -82
  44. package/lib/core.js +1 -1
  45. package/lib/services/s3.js +13 -1
  46. package/lib/services/s3util.js +4 -2
  47. package/package.json +1 -1
  48. package/scripts/region-checker/allowlist.js +6 -6
package/dist/aws-sdk.js CHANGED
@@ -1,4 +1,4 @@
1
- // AWS SDK for JavaScript v2.849.0
1
+ // AWS SDK for JavaScript v2.853.0
2
2
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
4
4
  (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
@@ -6592,6 +6592,9 @@ module.exports={
6592
6592
  "member": {}
6593
6593
  },
6594
6594
  "AutoScalingGroupName": {},
6595
+ "IncludeDeletedGroups": {
6596
+ "type": "boolean"
6597
+ },
6595
6598
  "MaxRecords": {
6596
6599
  "type": "integer"
6597
6600
  },
@@ -6606,7 +6609,7 @@ module.exports={
6606
6609
  ],
6607
6610
  "members": {
6608
6611
  "Activities": {
6609
- "shape": "S5i"
6612
+ "shape": "S5j"
6610
6613
  },
6611
6614
  "NextToken": {}
6612
6615
  }
@@ -6757,7 +6760,7 @@ module.exports={
6757
6760
  "type": "structure",
6758
6761
  "members": {
6759
6762
  "Activities": {
6760
- "shape": "S5i"
6763
+ "shape": "S5j"
6761
6764
  }
6762
6765
  }
6763
6766
  }
@@ -6811,7 +6814,7 @@ module.exports={
6811
6814
  "members": {
6812
6815
  "AutoScalingGroupName": {},
6813
6816
  "Metrics": {
6814
- "shape": "S67"
6817
+ "shape": "S69"
6815
6818
  }
6816
6819
  }
6817
6820
  }
@@ -6826,7 +6829,7 @@ module.exports={
6826
6829
  "members": {
6827
6830
  "AutoScalingGroupName": {},
6828
6831
  "Metrics": {
6829
- "shape": "S67"
6832
+ "shape": "S69"
6830
6833
  },
6831
6834
  "Granularity": {}
6832
6835
  }
@@ -6854,7 +6857,7 @@ module.exports={
6854
6857
  "type": "structure",
6855
6858
  "members": {
6856
6859
  "Activities": {
6857
- "shape": "S5i"
6860
+ "shape": "S5j"
6858
6861
  }
6859
6862
  }
6860
6863
  }
@@ -6898,7 +6901,7 @@ module.exports={
6898
6901
  "type": "structure",
6899
6902
  "members": {
6900
6903
  "Activities": {
6901
- "shape": "S5i"
6904
+ "shape": "S5j"
6902
6905
  }
6903
6906
  }
6904
6907
  }
@@ -7050,7 +7053,7 @@ module.exports={
7050
7053
  },
7051
7054
  "ResumeProcesses": {
7052
7055
  "input": {
7053
- "shape": "S6n"
7056
+ "shape": "S6p"
7054
7057
  }
7055
7058
  },
7056
7059
  "SetDesiredCapacity": {
@@ -7143,7 +7146,7 @@ module.exports={
7143
7146
  },
7144
7147
  "SuspendProcesses": {
7145
7148
  "input": {
7146
- "shape": "S6n"
7149
+ "shape": "S6p"
7147
7150
  }
7148
7151
  },
7149
7152
  "TerminateInstanceInAutoScalingGroup": {
@@ -7165,7 +7168,7 @@ module.exports={
7165
7168
  "type": "structure",
7166
7169
  "members": {
7167
7170
  "Activity": {
7168
- "shape": "S5j"
7171
+ "shape": "S5k"
7169
7172
  }
7170
7173
  }
7171
7174
  }
@@ -7501,13 +7504,13 @@ module.exports={
7501
7504
  }
7502
7505
  }
7503
7506
  },
7504
- "S5i": {
7507
+ "S5j": {
7505
7508
  "type": "list",
7506
7509
  "member": {
7507
- "shape": "S5j"
7510
+ "shape": "S5k"
7508
7511
  }
7509
7512
  },
7510
- "S5j": {
7513
+ "S5k": {
7511
7514
  "type": "structure",
7512
7515
  "required": [
7513
7516
  "ActivityId",
@@ -7532,14 +7535,16 @@ module.exports={
7532
7535
  "Progress": {
7533
7536
  "type": "integer"
7534
7537
  },
7535
- "Details": {}
7538
+ "Details": {},
7539
+ "AutoScalingGroupState": {},
7540
+ "AutoScalingGroupARN": {}
7536
7541
  }
7537
7542
  },
7538
- "S67": {
7543
+ "S69": {
7539
7544
  "type": "list",
7540
7545
  "member": {}
7541
7546
  },
7542
- "S6n": {
7547
+ "S6p": {
7543
7548
  "type": "structure",
7544
7549
  "required": [
7545
7550
  "AutoScalingGroupName"
@@ -104684,7 +104689,8 @@ module.exports={
104684
104689
  "ServiceRole",
104685
104690
  "UserRole",
104686
104691
  "WorkspaceSecurityGroupId",
104687
- "EngineSecurityGroupId"
104692
+ "EngineSecurityGroupId",
104693
+ "DefaultS3Location"
104688
104694
  ],
104689
104695
  "members": {
104690
104696
  "Name": {},
@@ -106213,6 +106219,23 @@ module.exports={
106213
106219
  }
106214
106220
  }
106215
106221
  },
106222
+ "UpdateStudio": {
106223
+ "input": {
106224
+ "type": "structure",
106225
+ "required": [
106226
+ "StudioId"
106227
+ ],
106228
+ "members": {
106229
+ "StudioId": {},
106230
+ "Name": {},
106231
+ "Description": {},
106232
+ "SubnetIds": {
106233
+ "shape": "S26"
106234
+ },
106235
+ "DefaultS3Location": {}
106236
+ }
106237
+ }
106238
+ },
106216
106239
  "UpdateStudioSessionMapping": {
106217
106240
  "input": {
106218
106241
  "type": "structure",
@@ -183992,6 +184015,10 @@ module.exports={
183992
184015
  "ExpectedBucketOwner": {
183993
184016
  "location": "header",
183994
184017
  "locationName": "x-amz-expected-bucket-owner"
184018
+ },
184019
+ "RequestPayer": {
184020
+ "location": "header",
184021
+ "locationName": "x-amz-request-payer"
183995
184022
  }
183996
184023
  }
183997
184024
  },
@@ -186270,6 +186297,10 @@ module.exports={
186270
186297
  "ExpectedBucketOwner": {
186271
186298
  "location": "header",
186272
186299
  "locationName": "x-amz-expected-bucket-owner"
186300
+ },
186301
+ "RequestPayer": {
186302
+ "location": "header",
186303
+ "locationName": "x-amz-request-payer"
186273
186304
  }
186274
186305
  },
186275
186306
  "payload": "Tagging"
@@ -213412,7 +213443,7 @@ AWS.util.update(AWS, {
213412
213443
  /**
213413
213444
  * @constant
213414
213445
  */
213415
- VERSION: '2.849.0',
213446
+ VERSION: '2.853.0',
213416
213447
 
213417
213448
  /**
213418
213449
  * @api private
@@ -223966,6 +223997,7 @@ AWS.util.update(AWS.S3.prototype, {
223966
223997
  var accessPointArn = req.service._parsedArn;
223967
223998
 
223968
223999
  var isOutpostArn = accessPointArn.service === 's3-outposts';
224000
+ var isObjectLambdaArn = accessPointArn.service === 's3-object-lambda';
223969
224001
 
223970
224002
  var outpostsSuffix = isOutpostArn ? '.' + accessPointArn.outpostId: '';
223971
224003
  var serviceName = isOutpostArn ? 's3-outposts': 's3-accesspoint';
@@ -223981,8 +224013,19 @@ AWS.util.update(AWS.S3.prototype, {
223981
224013
  useArnRegion ? accessPointArn.region : req.service.config.region,
223982
224014
  dnsSuffix
223983
224015
  ].join('.');
223984
- endpoint.host = endpoint.hostname;
223985
224016
 
224017
+ if (isObjectLambdaArn) {
224018
+ // should be in the format: "accesspoint/${accesspointName}"
224019
+ var serviceName = 's3-object-lambda';
224020
+ var accesspointName = accessPointArn.resource.split('/')[1];
224021
+ endpoint.hostname = [
224022
+ accesspointName + '-' + accessPointArn.accountId,
224023
+ serviceName,
224024
+ useArnRegion ? accessPointArn.region : req.service.config.region,
224025
+ dnsSuffix
224026
+ ].join('.');
224027
+ }
224028
+ endpoint.host = endpoint.hostname;
223986
224029
  var encodedArn = AWS.util.uriEscape(req.params.Bucket);
223987
224030
  var path = req.httpRequest.path;
223988
224031
  //remove the Bucket value from path
@@ -224922,10 +224965,12 @@ var s3util = {
224922
224965
  validateArnService: function validateArnService(req) {
224923
224966
  var parsedArn = req.service._parsedArn;
224924
224967
 
224925
- if (parsedArn.service !== 's3' && parsedArn.service !== 's3-outposts') {
224968
+ if (parsedArn.service !== 's3'
224969
+ && parsedArn.service !== 's3-outposts'
224970
+ && parsedArn.service !== 's3-object-lambda') {
224926
224971
  throw AWS.util.error(new Error(), {
224927
224972
  code: 'InvalidARN',
224928
- message: 'expect \'s3\' or \'s3-outposts\' in ARN service component'
224973
+ message: 'expect \'s3\' or \'s3-outposts\' or \'s3-object-lambda\' in ARN service component'
224929
224974
  });
224930
224975
  }
224931
224976
  },
@@ -234588,7 +234633,7 @@ var LRUCache = /** @class */ (function () {
234588
234633
  }());
234589
234634
  exports.LRUCache = LRUCache;
234590
234635
  },{}],441:[function(require,module,exports){
234591
- // AWS SDK for JavaScript v2.849.0
234636
+ // AWS SDK for JavaScript v2.853.0
234592
234637
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
234593
234638
  // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
234594
234639
  require('./browser_loader');