aws-sdk 2.992.0 → 2.996.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 (56) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/README.md +1 -1
  3. package/apis/appintegrations-2020-07-29.min.json +222 -8
  4. package/apis/appsync-2017-07-25.min.json +97 -77
  5. package/apis/connect-2017-08-08.min.json +25 -11
  6. package/apis/ec2-2016-11-15.min.json +25 -15
  7. package/apis/imagebuilder-2019-12-02.min.json +116 -82
  8. package/apis/license-manager-2018-08-01.min.json +186 -72
  9. package/apis/mediaconvert-2017-08-29.min.json +194 -83
  10. package/apis/mediapackage-vod-2018-11-07.min.json +3 -0
  11. package/apis/mediatailor-2018-04-23.min.json +198 -149
  12. package/apis/metadata.json +7 -0
  13. package/apis/models.lex.v2-2020-08-07.min.json +179 -22
  14. package/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
  15. package/apis/pinpoint-2016-12-01.min.json +226 -213
  16. package/apis/ssm-2014-11-06.min.json +105 -100
  17. package/apis/ssm-2014-11-06.waiters2.json +5 -0
  18. package/apis/voice-id-2021-09-27.examples.json +5 -0
  19. package/apis/voice-id-2021-09-27.min.json +903 -0
  20. package/apis/voice-id-2021-09-27.paginators.json +24 -0
  21. package/apis/wafv2-2019-07-29.min.json +114 -97
  22. package/apis/wisdom-2020-10-19.examples.json +5 -0
  23. package/apis/wisdom-2020-10-19.min.json +1525 -0
  24. package/apis/wisdom-2020-10-19.paginators.json +46 -0
  25. package/clients/all.d.ts +2 -0
  26. package/clients/all.js +3 -1
  27. package/clients/appintegrations.d.ts +273 -2
  28. package/clients/appsync.d.ts +35 -13
  29. package/clients/connect.d.ts +60 -32
  30. package/clients/ec2.d.ts +17 -5
  31. package/clients/elbv2.d.ts +7 -7
  32. package/clients/iam.d.ts +85 -85
  33. package/clients/imagebuilder.d.ts +73 -25
  34. package/clients/lexmodelsv2.d.ts +188 -0
  35. package/clients/licensemanager.d.ts +215 -42
  36. package/clients/mediaconvert.d.ts +154 -17
  37. package/clients/mediapackagevod.d.ts +4 -0
  38. package/clients/mediatailor.d.ts +47 -1
  39. package/clients/pinpoint.d.ts +24 -0
  40. package/clients/ssm.d.ts +40 -19
  41. package/clients/voiceid.d.ts +1133 -0
  42. package/clients/voiceid.js +18 -0
  43. package/clients/wafv2.d.ts +18 -0
  44. package/clients/wisdom.d.ts +1499 -0
  45. package/clients/wisdom.js +18 -0
  46. package/dist/aws-sdk-core-react-native.js +5 -5
  47. package/dist/aws-sdk-react-native.js +96 -22
  48. package/dist/aws-sdk.js +173 -132
  49. package/dist/aws-sdk.min.js +70 -70
  50. package/lib/config.js +1 -1
  51. package/lib/config_service_placeholders.d.ts +4 -0
  52. package/lib/core.js +1 -1
  53. package/lib/event_listeners.js +1 -1
  54. package/lib/http_request.d.ts +1 -1
  55. package/lib/signers/v4.js +1 -1
  56. package/package.json +1 -1
package/lib/config.js CHANGED
@@ -54,7 +54,7 @@ var PromisesDependency;
54
54
  *
55
55
  * @!attribute computeChecksums
56
56
  * @return [Boolean] whether to compute checksums for payload bodies when
57
- * the service accepts it (currently supported in S3 only).
57
+ * the service accepts it (currently supported in S3 and SQS only).
58
58
  *
59
59
  * @!attribute convertResponseTypes
60
60
  * @return [Boolean] whether types are converted when parsing response data.
@@ -280,6 +280,8 @@ export abstract class ConfigurationServicePlaceholders {
280
280
  memorydb?: AWS.MemoryDB.Types.ClientConfiguration;
281
281
  opensearch?: AWS.OpenSearch.Types.ClientConfiguration;
282
282
  kafkaconnect?: AWS.KafkaConnect.Types.ClientConfiguration;
283
+ voiceid?: AWS.VoiceID.Types.ClientConfiguration;
284
+ wisdom?: AWS.Wisdom.Types.ClientConfiguration;
283
285
  }
284
286
  export interface ConfigurationServiceApiVersions {
285
287
  acm?: AWS.ACM.Types.apiVersion;
@@ -562,4 +564,6 @@ export interface ConfigurationServiceApiVersions {
562
564
  memorydb?: AWS.MemoryDB.Types.apiVersion;
563
565
  opensearch?: AWS.OpenSearch.Types.apiVersion;
564
566
  kafkaconnect?: AWS.KafkaConnect.Types.apiVersion;
567
+ voiceid?: AWS.VoiceID.Types.apiVersion;
568
+ wisdom?: AWS.Wisdom.Types.apiVersion;
565
569
  }
package/lib/core.js CHANGED
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.992.0',
23
+ VERSION: '2.996.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -524,7 +524,7 @@ AWS.EventListeners = {
524
524
  ['EAI_NONAME', 'EAI_NODATA'].indexOf(AWS.util.getSystemErrorName(err.errno) >= 0);
525
525
  }
526
526
  if (err.code === 'NetworkingError' && isDNSError(err)) {
527
- var message = 'Inaccessible host: `' + err.hostname +
527
+ var message = 'Inaccessible host: `' + err.hostname + '\' at port `' + err.port +
528
528
  '\'. This service may not be available in the `' + err.region +
529
529
  '\' region.';
530
530
  this.response.error = AWS.util.error(new Error(message), {
@@ -18,7 +18,7 @@ export class HttpRequest {
18
18
  /**
19
19
  * The request body payload.
20
20
  */
21
- body: string;
21
+ body: string | Buffer;
22
22
  /**
23
23
  * The endpoint for the request.
24
24
  */
package/lib/signers/v4.js CHANGED
@@ -179,7 +179,7 @@ AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, {
179
179
 
180
180
  hexEncodedBodyHash: function hexEncodedBodyHash() {
181
181
  var request = this.request;
182
- if (this.isPresigned() && this.serviceName === 's3' && !request.body) {
182
+ if (this.isPresigned() && (['s3', 's3-object-lambda'].indexOf(this.serviceName) > -1) && !request.body) {
183
183
  return 'UNSIGNED-PAYLOAD';
184
184
  } else if (request.headers['X-Amz-Content-Sha256']) {
185
185
  return request.headers['X-Amz-Content-Sha256'];
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.992.0",
4
+ "version": "2.996.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",