aws-sdk 2.1119.0 → 2.1122.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 (43) hide show
  1. package/CHANGELOG.md +20 -1
  2. package/README.md +1 -1
  3. package/apis/cloudfront-2020-05-31.min.json +42 -28
  4. package/apis/connect-2017-08-08.min.json +133 -9
  5. package/apis/connect-2017-08-08.paginators.json +9 -0
  6. package/apis/ec2-2016-11-15.min.json +14 -11
  7. package/apis/ec2-2016-11-15.waiters2.json +18 -0
  8. package/apis/ivschat-2020-07-14.examples.json +5 -0
  9. package/apis/ivschat-2020-07-14.min.json +443 -0
  10. package/apis/ivschat-2020-07-14.paginators.json +9 -0
  11. package/apis/lightsail-2016-11-28.min.json +55 -17
  12. package/apis/metadata.json +3 -0
  13. package/apis/mq-2017-11-27.min.json +22 -7
  14. package/apis/network-firewall-2020-11-12.min.json +107 -52
  15. package/apis/rds-data-2018-08-01.min.json +4 -1
  16. package/apis/sagemaker-2017-07-24.min.json +447 -434
  17. package/apis/securityhub-2018-10-26.min.json +20 -18
  18. package/clients/all.d.ts +1 -0
  19. package/clients/all.js +2 -1
  20. package/clients/cloudfront.d.ts +15 -0
  21. package/clients/connect.d.ts +176 -9
  22. package/clients/ec2.d.ts +23 -14
  23. package/clients/eventbridge.js +1 -0
  24. package/clients/gamelift.d.ts +67 -67
  25. package/clients/glue.d.ts +79 -10
  26. package/clients/ivschat.d.ts +523 -0
  27. package/clients/ivschat.js +18 -0
  28. package/clients/lightsail.d.ts +113 -42
  29. package/clients/mq.d.ts +16 -1
  30. package/clients/networkfirewall.d.ts +103 -21
  31. package/clients/pricing.d.ts +3 -3
  32. package/clients/rdsdataservice.d.ts +22 -7
  33. package/clients/sagemaker.d.ts +24 -0
  34. package/clients/securityhub.d.ts +13 -4
  35. package/dist/aws-sdk-core-react-native.js +2 -2
  36. package/dist/aws-sdk-react-native.js +822 -754
  37. package/dist/aws-sdk.js +228 -52
  38. package/dist/aws-sdk.min.js +83 -83
  39. package/lib/config_service_placeholders.d.ts +2 -0
  40. package/lib/core.js +1 -1
  41. package/lib/services/eventbridge.js +19 -0
  42. package/lib/services/s3util.js +6 -1
  43. package/package.json +1 -1
@@ -304,6 +304,7 @@ export abstract class ConfigurationServicePlaceholders {
304
304
  billingconductor?: AWS.Billingconductor.Types.ClientConfiguration;
305
305
  gamesparks?: AWS.GameSparks.Types.ClientConfiguration;
306
306
  pinpointsmsvoicev2?: AWS.PinpointSMSVoiceV2.Types.ClientConfiguration;
307
+ ivschat?: AWS.Ivschat.Types.ClientConfiguration;
307
308
  }
308
309
  export interface ConfigurationServiceApiVersions {
309
310
  acm?: AWS.ACM.Types.apiVersion;
@@ -610,4 +611,5 @@ export interface ConfigurationServiceApiVersions {
610
611
  billingconductor?: AWS.Billingconductor.Types.apiVersion;
611
612
  gamesparks?: AWS.GameSparks.Types.apiVersion;
612
613
  pinpointsmsvoicev2?: AWS.PinpointSMSVoiceV2.Types.apiVersion;
614
+ ivschat?: AWS.Ivschat.Types.apiVersion;
613
615
  }
package/lib/core.js CHANGED
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1119.0',
23
+ VERSION: '2.1122.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -0,0 +1,19 @@
1
+ var AWS = require('../core');
2
+
3
+ AWS.util.update(AWS.EventBridge.prototype, {
4
+ /**
5
+ * @api private
6
+ */
7
+ setupRequestListeners: function setupRequestListeners(request) {
8
+ if (request.operation === 'putEvents') {
9
+ var params = request.params || {};
10
+ if (params.EndpointId !== undefined) {
11
+ throw new AWS.util.error(new Error(), {
12
+ code: 'InvalidParameter',
13
+ message: 'EndpointId is not supported in current SDK.\n' +
14
+ 'You should consider switching to V3(https://github.com/aws/aws-sdk-js-v3).'
15
+ });
16
+ }
17
+ }
18
+ },
19
+ });
@@ -144,9 +144,14 @@ var s3util = {
144
144
  var allowFipsEndpoint = options.allowFipsEndpoint || false;
145
145
 
146
146
  if (!regionFromArn) {
147
+ var message = 'ARN region is empty';
148
+ if (req._parsedArn.service === 's3') {
149
+ message = message + '\nYou may want to use multi-regional ARN. The feature is not supported in current SDK. ' +
150
+ 'You should consider switching to V3(https://github.com/aws/aws-sdk-js-v3).';
151
+ }
147
152
  throw AWS.util.error(new Error(), {
148
153
  code: 'InvalidARN',
149
- message: 'ARN region is empty'
154
+ message: message
150
155
  });
151
156
  }
152
157
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.1119.0",
4
+ "version": "2.1122.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",