aws-sdk 2.1368.0 → 2.1370.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 +13 -1
- package/README.md +1 -1
- package/apis/appflow-2020-08-23.min.json +178 -149
- package/apis/compute-optimizer-2019-11-01.min.json +60 -21
- package/apis/kendra-2019-02-03.min.json +137 -65
- package/apis/kms-2014-11-01.examples.json +197 -15
- package/apis/kms-2014-11-01.min.json +52 -19
- package/apis/resiliencehub-2020-04-30.min.json +71 -70
- package/apis/sagemaker-2017-07-24.min.json +893 -892
- package/clients/appflow.d.ts +26 -1
- package/clients/computeoptimizer.d.ts +58 -14
- package/clients/connect.d.ts +1 -1
- package/clients/ecs.d.ts +2 -2
- package/clients/kendra.d.ts +92 -5
- package/clients/kms.d.ts +76 -32
- package/clients/resiliencehub.d.ts +12 -3
- package/clients/sagemaker.d.ts +6 -1
- package/dist/aws-sdk-core-react-native.js +10 -1
- package/dist/aws-sdk-react-native.js +18 -10
- package/dist/aws-sdk.js +66 -25
- package/dist/aws-sdk.min.js +43 -43
- 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/dist/aws-sdk.js
    CHANGED
    
    | @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            // AWS SDK for JavaScript v2. | 
| 1 | 
            +
            // AWS SDK for JavaScript v2.1370.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){
         | 
| @@ -167194,7 +167194,10 @@ module.exports={ | |
| 167194 167194 | 
             
                        "shape": "Sv"
         | 
| 167195 167195 | 
             
                      },
         | 
| 167196 167196 | 
             
                      "KeyId": {},
         | 
| 167197 | 
            -
                      "EncryptionAlgorithm": {}
         | 
| 167197 | 
            +
                      "EncryptionAlgorithm": {},
         | 
| 167198 | 
            +
                      "Recipient": {
         | 
| 167199 | 
            +
                        "shape": "S21"
         | 
| 167200 | 
            +
                      }
         | 
| 167198 167201 | 
             
                    }
         | 
| 167199 167202 | 
             
                  },
         | 
| 167200 167203 | 
             
                  "output": {
         | 
| @@ -167202,9 +167205,12 @@ module.exports={ | |
| 167202 167205 | 
             
                    "members": {
         | 
| 167203 167206 | 
             
                      "KeyId": {},
         | 
| 167204 167207 | 
             
                      "Plaintext": {
         | 
| 167205 | 
            -
                        "shape": " | 
| 167208 | 
            +
                        "shape": "S25"
         | 
| 167206 167209 | 
             
                      },
         | 
| 167207 | 
            -
                      "EncryptionAlgorithm": {}
         | 
| 167210 | 
            +
                      "EncryptionAlgorithm": {},
         | 
| 167211 | 
            +
                      "CiphertextForRecipient": {
         | 
| 167212 | 
            +
                        "type": "blob"
         | 
| 167213 | 
            +
                      }
         | 
| 167208 167214 | 
             
                    }
         | 
| 167209 167215 | 
             
                  }
         | 
| 167210 167216 | 
             
                },
         | 
| @@ -167388,7 +167394,7 @@ module.exports={ | |
| 167388 167394 | 
             
                    "members": {
         | 
| 167389 167395 | 
             
                      "KeyId": {},
         | 
| 167390 167396 | 
             
                      "Plaintext": {
         | 
| 167391 | 
            -
                        "shape": " | 
| 167397 | 
            +
                        "shape": "S25"
         | 
| 167392 167398 | 
             
                      },
         | 
| 167393 167399 | 
             
                      "EncryptionContext": {
         | 
| 167394 167400 | 
             
                        "shape": "Ss"
         | 
| @@ -167427,6 +167433,9 @@ module.exports={ | |
| 167427 167433 | 
             
                      "KeySpec": {},
         | 
| 167428 167434 | 
             
                      "GrantTokens": {
         | 
| 167429 167435 | 
             
                        "shape": "Sv"
         | 
| 167436 | 
            +
                      },
         | 
| 167437 | 
            +
                      "Recipient": {
         | 
| 167438 | 
            +
                        "shape": "S21"
         | 
| 167430 167439 | 
             
                      }
         | 
| 167431 167440 | 
             
                    }
         | 
| 167432 167441 | 
             
                  },
         | 
| @@ -167437,9 +167446,12 @@ module.exports={ | |
| 167437 167446 | 
             
                        "type": "blob"
         | 
| 167438 167447 | 
             
                      },
         | 
| 167439 167448 | 
             
                      "Plaintext": {
         | 
| 167440 | 
            -
                        "shape": " | 
| 167449 | 
            +
                        "shape": "S25"
         | 
| 167441 167450 | 
             
                      },
         | 
| 167442 | 
            -
                      "KeyId": {}
         | 
| 167451 | 
            +
                      "KeyId": {},
         | 
| 167452 | 
            +
                      "CiphertextForRecipient": {
         | 
| 167453 | 
            +
                        "type": "blob"
         | 
| 167454 | 
            +
                      }
         | 
| 167443 167455 | 
             
                    }
         | 
| 167444 167456 | 
             
                  }
         | 
| 167445 167457 | 
             
                },
         | 
| @@ -167458,6 +167470,9 @@ module.exports={ | |
| 167458 167470 | 
             
                      "KeyPairSpec": {},
         | 
| 167459 167471 | 
             
                      "GrantTokens": {
         | 
| 167460 167472 | 
             
                        "shape": "Sv"
         | 
| 167473 | 
            +
                      },
         | 
| 167474 | 
            +
                      "Recipient": {
         | 
| 167475 | 
            +
                        "shape": "S21"
         | 
| 167461 167476 | 
             
                      }
         | 
| 167462 167477 | 
             
                    }
         | 
| 167463 167478 | 
             
                  },
         | 
| @@ -167468,13 +167483,16 @@ module.exports={ | |
| 167468 167483 | 
             
                        "type": "blob"
         | 
| 167469 167484 | 
             
                      },
         | 
| 167470 167485 | 
             
                      "PrivateKeyPlaintext": {
         | 
| 167471 | 
            -
                        "shape": " | 
| 167486 | 
            +
                        "shape": "S25"
         | 
| 167472 167487 | 
             
                      },
         | 
| 167473 167488 | 
             
                      "PublicKey": {
         | 
| 167474 167489 | 
             
                        "type": "blob"
         | 
| 167475 167490 | 
             
                      },
         | 
| 167476 167491 | 
             
                      "KeyId": {},
         | 
| 167477 | 
            -
                      "KeyPairSpec": {}
         | 
| 167492 | 
            +
                      "KeyPairSpec": {},
         | 
| 167493 | 
            +
                      "CiphertextForRecipient": {
         | 
| 167494 | 
            +
                        "type": "blob"
         | 
| 167495 | 
            +
                      }
         | 
| 167478 167496 | 
             
                    }
         | 
| 167479 167497 | 
             
                  }
         | 
| 167480 167498 | 
             
                },
         | 
| @@ -167550,7 +167568,7 @@ module.exports={ | |
| 167550 167568 | 
             
                    ],
         | 
| 167551 167569 | 
             
                    "members": {
         | 
| 167552 167570 | 
             
                      "Message": {
         | 
| 167553 | 
            -
                        "shape": " | 
| 167571 | 
            +
                        "shape": "S25"
         | 
| 167554 167572 | 
             
                      },
         | 
| 167555 167573 | 
             
                      "KeyId": {},
         | 
| 167556 167574 | 
             
                      "MacAlgorithm": {},
         | 
| @@ -167577,14 +167595,20 @@ module.exports={ | |
| 167577 167595 | 
             
                      "NumberOfBytes": {
         | 
| 167578 167596 | 
             
                        "type": "integer"
         | 
| 167579 167597 | 
             
                      },
         | 
| 167580 | 
            -
                      "CustomKeyStoreId": {}
         | 
| 167598 | 
            +
                      "CustomKeyStoreId": {},
         | 
| 167599 | 
            +
                      "Recipient": {
         | 
| 167600 | 
            +
                        "shape": "S21"
         | 
| 167601 | 
            +
                      }
         | 
| 167581 167602 | 
             
                    }
         | 
| 167582 167603 | 
             
                  },
         | 
| 167583 167604 | 
             
                  "output": {
         | 
| 167584 167605 | 
             
                    "type": "structure",
         | 
| 167585 167606 | 
             
                    "members": {
         | 
| 167586 167607 | 
             
                      "Plaintext": {
         | 
| 167587 | 
            -
                        "shape": " | 
| 167608 | 
            +
                        "shape": "S25"
         | 
| 167609 | 
            +
                      },
         | 
| 167610 | 
            +
                      "CiphertextForRecipient": {
         | 
| 167611 | 
            +
                        "type": "blob"
         | 
| 167588 167612 | 
             
                      }
         | 
| 167589 167613 | 
             
                    }
         | 
| 167590 167614 | 
             
                  }
         | 
| @@ -167649,7 +167673,7 @@ module.exports={ | |
| 167649 167673 | 
             
                        "type": "blob"
         | 
| 167650 167674 | 
             
                      },
         | 
| 167651 167675 | 
             
                      "PublicKey": {
         | 
| 167652 | 
            -
                        "shape": " | 
| 167676 | 
            +
                        "shape": "S25"
         | 
| 167653 167677 | 
             
                      },
         | 
| 167654 167678 | 
             
                      "ParametersValidTo": {
         | 
| 167655 167679 | 
             
                        "type": "timestamp"
         | 
| @@ -167775,7 +167799,7 @@ module.exports={ | |
| 167775 167799 | 
             
                    }
         | 
| 167776 167800 | 
             
                  },
         | 
| 167777 167801 | 
             
                  "output": {
         | 
| 167778 | 
            -
                    "shape": " | 
| 167802 | 
            +
                    "shape": "S3r"
         | 
| 167779 167803 | 
             
                  }
         | 
| 167780 167804 | 
             
                },
         | 
| 167781 167805 | 
             
                "ListKeyPolicies": {
         | 
| @@ -167878,7 +167902,7 @@ module.exports={ | |
| 167878 167902 | 
             
                    }
         | 
| 167879 167903 | 
             
                  },
         | 
| 167880 167904 | 
             
                  "output": {
         | 
| 167881 | 
            -
                    "shape": " | 
| 167905 | 
            +
                    "shape": "S3r"
         | 
| 167882 167906 | 
             
                  }
         | 
| 167883 167907 | 
             
                },
         | 
| 167884 167908 | 
             
                "PutKeyPolicy": {
         | 
| @@ -168032,7 +168056,7 @@ module.exports={ | |
| 168032 168056 | 
             
                    "members": {
         | 
| 168033 168057 | 
             
                      "KeyId": {},
         | 
| 168034 168058 | 
             
                      "Message": {
         | 
| 168035 | 
            -
                        "shape": " | 
| 168059 | 
            +
                        "shape": "S25"
         | 
| 168036 168060 | 
             
                      },
         | 
| 168037 168061 | 
             
                      "MessageType": {},
         | 
| 168038 168062 | 
             
                      "GrantTokens": {
         | 
| @@ -168161,7 +168185,7 @@ module.exports={ | |
| 168161 168185 | 
             
                    "members": {
         | 
| 168162 168186 | 
             
                      "KeyId": {},
         | 
| 168163 168187 | 
             
                      "Message": {
         | 
| 168164 | 
            -
                        "shape": " | 
| 168188 | 
            +
                        "shape": "S25"
         | 
| 168165 168189 | 
             
                      },
         | 
| 168166 168190 | 
             
                      "MessageType": {},
         | 
| 168167 168191 | 
             
                      "Signature": {
         | 
| @@ -168195,7 +168219,7 @@ module.exports={ | |
| 168195 168219 | 
             
                    ],
         | 
| 168196 168220 | 
             
                    "members": {
         | 
| 168197 168221 | 
             
                      "Message": {
         | 
| 168198 | 
            -
                        "shape": " | 
| 168222 | 
            +
                        "shape": "S25"
         | 
| 168199 168223 | 
             
                      },
         | 
| 168200 168224 | 
             
                      "KeyId": {},
         | 
| 168201 168225 | 
             
                      "MacAlgorithm": {},
         | 
| @@ -168376,11 +168400,20 @@ module.exports={ | |
| 168376 168400 | 
             
                    "Region": {}
         | 
| 168377 168401 | 
             
                  }
         | 
| 168378 168402 | 
             
                },
         | 
| 168379 | 
            -
                " | 
| 168403 | 
            +
                "S21": {
         | 
| 168404 | 
            +
                  "type": "structure",
         | 
| 168405 | 
            +
                  "members": {
         | 
| 168406 | 
            +
                    "KeyEncryptionAlgorithm": {},
         | 
| 168407 | 
            +
                    "AttestationDocument": {
         | 
| 168408 | 
            +
                      "type": "blob"
         | 
| 168409 | 
            +
                    }
         | 
| 168410 | 
            +
                  }
         | 
| 168411 | 
            +
                },
         | 
| 168412 | 
            +
                "S25": {
         | 
| 168380 168413 | 
             
                  "type": "blob",
         | 
| 168381 168414 | 
             
                  "sensitive": true
         | 
| 168382 168415 | 
             
                },
         | 
| 168383 | 
            -
                " | 
| 168416 | 
            +
                "S3r": {
         | 
| 168384 168417 | 
             
                  "type": "structure",
         | 
| 168385 168418 | 
             
                  "members": {
         | 
| 168386 168419 | 
             
                    "Grants": {
         | 
| @@ -256567,7 +256600,7 @@ AWS.util.update(AWS, { | |
| 256567 256600 | 
             
              /**
         | 
| 256568 256601 | 
             
               * @constant
         | 
| 256569 256602 | 
             
               */
         | 
| 256570 | 
            -
              VERSION: '2. | 
| 256603 | 
            +
              VERSION: '2.1370.0',
         | 
| 256571 256604 |  | 
| 256572 256605 | 
             
              /**
         | 
| 256573 256606 | 
             
               * @api private
         | 
| @@ -262459,6 +262492,15 @@ function buildRequest(req) { | |
| 262459 262492 | 
             
              var builder = new JsonBuilder();
         | 
| 262460 262493 |  | 
| 262461 262494 | 
             
              if (version === 1) version = '1.0';
         | 
| 262495 | 
            +
             | 
| 262496 | 
            +
              if (api.awsQueryCompatible) {
         | 
| 262497 | 
            +
                if (!httpRequest.params) {
         | 
| 262498 | 
            +
                  httpRequest.params = {};
         | 
| 262499 | 
            +
                }
         | 
| 262500 | 
            +
                // because Query protocol does this.
         | 
| 262501 | 
            +
                Object.assign(httpRequest.params, req.params);
         | 
| 262502 | 
            +
              }
         | 
| 262503 | 
            +
             | 
| 262462 262504 | 
             
              httpRequest.body = builder.build(req.params || {}, input);
         | 
| 262463 262505 | 
             
              httpRequest.headers['Content-Type'] = 'application/x-amz-json-' + version;
         | 
| 262464 262506 | 
             
              httpRequest.headers['X-Amz-Target'] = target;
         | 
| @@ -268785,7 +268827,7 @@ AWS.util.update(AWS.SQS.prototype, { | |
| 268785 268827 | 
             
               * @api private
         | 
| 268786 268828 | 
             
               */
         | 
| 268787 268829 | 
             
              setupRequestListeners: function setupRequestListeners(request) {
         | 
| 268788 | 
            -
                request.addListener('build', this.buildEndpoint | 
| 268830 | 
            +
                request.addListener('build', this.buildEndpoint);
         | 
| 268789 268831 |  | 
| 268790 268832 | 
             
                if (request.service.config.computeChecksums) {
         | 
| 268791 268833 | 
             
                  if (request.operation === 'sendMessage') {
         | 
| @@ -268898,8 +268940,7 @@ AWS.util.update(AWS.SQS.prototype, { | |
| 268898 268940 | 
             
               * @api private
         | 
| 268899 268941 | 
             
               */
         | 
| 268900 268942 | 
             
              buildEndpoint: function buildEndpoint(request) {
         | 
| 268901 | 
            -
                var  | 
| 268902 | 
            -
                var url = params.QueueUrl;
         | 
| 268943 | 
            +
                var url = request.httpRequest.params.QueueUrl;
         | 
| 268903 268944 | 
             
                if (url) {
         | 
| 268904 268945 | 
             
                  request.httpRequest.endpoint = new AWS.Endpoint(url);
         | 
| 268905 268946 |  | 
| @@ -278685,7 +278726,7 @@ var LRUCache = /** @class */ (function () { | |
| 278685 278726 | 
             
            }());
         | 
| 278686 278727 | 
             
            exports.LRUCache = LRUCache;
         | 
| 278687 278728 | 
             
            },{}],462:[function(require,module,exports){
         | 
| 278688 | 
            -
            // AWS SDK for JavaScript v2. | 
| 278729 | 
            +
            // AWS SDK for JavaScript v2.1370.0
         | 
| 278689 278730 | 
             
            // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
         | 
| 278690 278731 | 
             
            // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
         | 
| 278691 278732 | 
             
            require('./browser_loader');
         |