aws-sdk 2.1367.0 → 2.1369.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.
- package/CHANGELOG.md +16 -1
- package/README.md +1 -1
- package/apis/appflow-2020-08-23.min.json +104 -93
- package/apis/athena-2017-05-18.min.json +259 -50
- package/apis/athena-2017-05-18.paginators.json +5 -0
- package/apis/compute-optimizer-2019-11-01.min.json +60 -21
- package/apis/grafana-2020-08-18.min.json +1 -0
- package/apis/iot-2015-05-28.min.json +289 -274
- package/apis/kms-2014-11-01.examples.json +197 -15
- package/apis/kms-2014-11-01.min.json +52 -19
- package/apis/rekognition-2016-06-27.min.json +112 -48
- package/apis/simspaceweaver-2022-10-28.min.json +52 -16
- package/clients/appflow.d.ts +14 -1
- package/clients/athena.d.ts +228 -10
- package/clients/computeoptimizer.d.ts +58 -14
- package/clients/directconnect.d.ts +2 -2
- package/clients/efs.d.ts +1 -1
- package/clients/grafana.d.ts +4 -0
- package/clients/iot.d.ts +21 -2
- package/clients/kms.d.ts +76 -32
- package/clients/rekognition.d.ts +117 -0
- package/clients/simspaceweaver.d.ts +62 -21
- package/clients/wafv2.d.ts +57 -57
- package/clients/workspaces.d.ts +3 -3
- package/dist/aws-sdk-core-react-native.js +10 -1
- package/dist/aws-sdk-react-native.js +21 -13
- package/dist/aws-sdk.js +731 -397
- package/dist/aws-sdk.min.js +98 -98
- package/lib/core.js +1 -1
- package/lib/protocol/json.js +9 -0
- package/lib/services/sqs.js +2 -3
- package/package.json +1 -1
    
        package/lib/core.js
    CHANGED
    
    
    
        package/lib/protocol/json.js
    CHANGED
    
    | @@ -12,6 +12,15 @@ function buildRequest(req) { | |
| 12 12 | 
             
              var builder = new JsonBuilder();
         | 
| 13 13 |  | 
| 14 14 | 
             
              if (version === 1) version = '1.0';
         | 
| 15 | 
            +
             | 
| 16 | 
            +
              if (api.awsQueryCompatible) {
         | 
| 17 | 
            +
                if (!httpRequest.params) {
         | 
| 18 | 
            +
                  httpRequest.params = {};
         | 
| 19 | 
            +
                }
         | 
| 20 | 
            +
                // because Query protocol does this.
         | 
| 21 | 
            +
                Object.assign(httpRequest.params, req.params);
         | 
| 22 | 
            +
              }
         | 
| 23 | 
            +
             | 
| 15 24 | 
             
              httpRequest.body = builder.build(req.params || {}, input);
         | 
| 16 25 | 
             
              httpRequest.headers['Content-Type'] = 'application/x-amz-json-' + version;
         | 
| 17 26 | 
             
              httpRequest.headers['X-Amz-Target'] = target;
         | 
    
        package/lib/services/sqs.js
    CHANGED
    
    | @@ -5,7 +5,7 @@ AWS.util.update(AWS.SQS.prototype, { | |
| 5 5 | 
             
               * @api private
         | 
| 6 6 | 
             
               */
         | 
| 7 7 | 
             
              setupRequestListeners: function setupRequestListeners(request) {
         | 
| 8 | 
            -
                request.addListener('build', this.buildEndpoint | 
| 8 | 
            +
                request.addListener('build', this.buildEndpoint);
         | 
| 9 9 |  | 
| 10 10 | 
             
                if (request.service.config.computeChecksums) {
         | 
| 11 11 | 
             
                  if (request.operation === 'sendMessage') {
         | 
| @@ -118,8 +118,7 @@ AWS.util.update(AWS.SQS.prototype, { | |
| 118 118 | 
             
               * @api private
         | 
| 119 119 | 
             
               */
         | 
| 120 120 | 
             
              buildEndpoint: function buildEndpoint(request) {
         | 
| 121 | 
            -
                var  | 
| 122 | 
            -
                var url = params.QueueUrl;
         | 
| 121 | 
            +
                var url = request.httpRequest.params.QueueUrl;
         | 
| 123 122 | 
             
                if (url) {
         | 
| 124 123 | 
             
                  request.httpRequest.endpoint = new AWS.Endpoint(url);
         | 
| 125 124 |  |