aws-sdk 2.566.0 → 2.570.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 (44) hide show
  1. package/CHANGELOG.md +20 -1
  2. package/README.md +1 -1
  3. package/apis/ce-2017-10-25.min.json +110 -71
  4. package/apis/cloudformation-2010-05-15.min.json +68 -29
  5. package/apis/cloudformation-2010-05-15.waiters2.json +56 -1
  6. package/apis/codepipeline-2015-07-09.min.json +58 -40
  7. package/apis/cognito-identity-2014-06-30.min.json +50 -42
  8. package/apis/dynamodb-2012-08-10.min.json +66 -40
  9. package/apis/marketplace-catalog-2018-09-17.examples.json +5 -0
  10. package/apis/marketplace-catalog-2018-09-17.min.json +305 -0
  11. package/apis/marketplace-catalog-2018-09-17.paginators.json +14 -0
  12. package/apis/metadata.json +11 -0
  13. package/apis/sso-2019-06-10.examples.json +5 -0
  14. package/apis/sso-2019-06-10.min.json +190 -0
  15. package/apis/sso-2019-06-10.paginators.json +16 -0
  16. package/apis/sso-oidc-2019-06-10.examples.json +5 -0
  17. package/apis/sso-oidc-2019-06-10.min.json +131 -0
  18. package/apis/sso-oidc-2019-06-10.paginators.json +4 -0
  19. package/clients/all.d.ts +3 -0
  20. package/clients/all.js +4 -1
  21. package/clients/cloudformation.d.ts +65 -15
  22. package/clients/codepipeline.d.ts +26 -0
  23. package/clients/cognitoidentity.d.ts +14 -5
  24. package/clients/comprehend.d.ts +2 -2
  25. package/clients/costexplorer.d.ts +66 -18
  26. package/clients/dynamodb.d.ts +85 -53
  27. package/clients/ecr.d.ts +4 -4
  28. package/clients/elbv2.d.ts +14 -14
  29. package/clients/marketplacecatalog.d.ts +421 -0
  30. package/clients/marketplacecatalog.js +18 -0
  31. package/clients/sso.d.ts +197 -0
  32. package/clients/sso.js +18 -0
  33. package/clients/ssooidc.d.ts +210 -0
  34. package/clients/ssooidc.js +18 -0
  35. package/clients/transcribeservice.d.ts +8 -5
  36. package/dist/aws-sdk-core-react-native.js +2 -2
  37. package/dist/aws-sdk-react-native.js +239 -76
  38. package/dist/aws-sdk.js +423 -227
  39. package/dist/aws-sdk.min.js +69 -69
  40. package/dist/xml2js.js +117 -65
  41. package/lib/config_service_placeholders.d.ts +6 -0
  42. package/lib/core.js +1 -1
  43. package/lib/dynamodb/document_client.d.ts +81 -49
  44. package/package.json +1 -1
package/dist/xml2js.js CHANGED
@@ -6525,7 +6525,7 @@ module.exports =
6525
6525
  /* WEBPACK VAR INJECTION */(function(global) {/*!
6526
6526
  * The buffer module from node.js, for the browser.
6527
6527
  *
6528
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
6528
+ * @author Feross Aboukhadijeh <http://feross.org>
6529
6529
  * @license MIT
6530
6530
  */
6531
6531
  /* eslint-disable no-proto */
@@ -15578,6 +15578,8 @@ module.exports =
15578
15578
  /* 91 */
15579
15579
  /***/ (function(module, exports) {
15580
15580
 
15581
+ 'use strict';
15582
+
15581
15583
  module.exports = function isPrimitive(value) {
15582
15584
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
15583
15585
  };
@@ -15773,15 +15775,20 @@ module.exports =
15773
15775
  var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
15774
15776
  var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
15775
15777
  var setForEach = hasSet && Set.prototype.forEach;
15778
+ var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
15779
+ var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
15780
+ var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
15781
+ var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
15776
15782
  var booleanValueOf = Boolean.prototype.valueOf;
15777
15783
  var objectToString = Object.prototype.toString;
15784
+ var match = String.prototype.match;
15778
15785
  var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
15779
15786
 
15780
15787
  var inspectCustom = __webpack_require__(98).custom;
15781
- var inspectSymbol = (inspectCustom && isSymbol(inspectCustom)) ? inspectCustom : null;
15788
+ var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
15782
15789
 
15783
- module.exports = function inspect_ (obj, opts, depth, seen) {
15784
- if (!opts) opts = {};
15790
+ module.exports = function inspect_(obj, options, depth, seen) {
15791
+ var opts = options || {};
15785
15792
 
15786
15793
  if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
15787
15794
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
@@ -15801,27 +15808,28 @@ module.exports =
15801
15808
  return inspectString(obj, opts);
15802
15809
  }
15803
15810
  if (typeof obj === 'number') {
15804
- if (obj === 0) {
15805
- return Infinity / obj > 0 ? '0' : '-0';
15806
- }
15807
- return String(obj);
15811
+ if (obj === 0) {
15812
+ return Infinity / obj > 0 ? '0' : '-0';
15813
+ }
15814
+ return String(obj);
15808
15815
  }
15809
- if (typeof obj === 'bigint') {
15810
- return String(obj) + 'n';
15816
+ if (typeof obj === 'bigint') { // eslint-disable-line valid-typeof
15817
+ return String(obj) + 'n';
15811
15818
  }
15812
15819
 
15813
15820
  var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
15814
- if (typeof depth === 'undefined') depth = 0;
15821
+ if (typeof depth === 'undefined') { depth = 0; }
15815
15822
  if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
15816
15823
  return '[Object]';
15817
15824
  }
15818
15825
 
15819
- if (typeof seen === 'undefined') seen = [];
15820
- else if (indexOf(seen, obj) >= 0) {
15826
+ if (typeof seen === 'undefined') {
15827
+ seen = [];
15828
+ } else if (indexOf(seen, obj) >= 0) {
15821
15829
  return '[Circular]';
15822
15830
  }
15823
15831
 
15824
- function inspect (value, from) {
15832
+ function inspect(value, from) {
15825
15833
  if (from) {
15826
15834
  seen = seen.slice();
15827
15835
  seen.push(from);
@@ -15844,17 +15852,17 @@ module.exports =
15844
15852
  s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
15845
15853
  }
15846
15854
  s += '>';
15847
- if (obj.childNodes && obj.childNodes.length) s += '...';
15855
+ if (obj.childNodes && obj.childNodes.length) { s += '...'; }
15848
15856
  s += '</' + String(obj.nodeName).toLowerCase() + '>';
15849
15857
  return s;
15850
15858
  }
15851
15859
  if (isArray(obj)) {
15852
- if (obj.length === 0) return '[]';
15860
+ if (obj.length === 0) { return '[]'; }
15853
15861
  return '[ ' + arrObjKeys(obj, inspect).join(', ') + ' ]';
15854
15862
  }
15855
15863
  if (isError(obj)) {
15856
15864
  var parts = arrObjKeys(obj, inspect);
15857
- if (parts.length === 0) return '[' + String(obj) + ']';
15865
+ if (parts.length === 0) { return '[' + String(obj) + ']'; }
15858
15866
  return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }';
15859
15867
  }
15860
15868
  if (typeof obj === 'object') {
@@ -15865,18 +15873,24 @@ module.exports =
15865
15873
  }
15866
15874
  }
15867
15875
  if (isMap(obj)) {
15868
- var parts = [];
15876
+ var mapParts = [];
15869
15877
  mapForEach.call(obj, function (value, key) {
15870
- parts.push(inspect(key, obj) + ' => ' + inspect(value, obj));
15878
+ mapParts.push(inspect(key, obj) + ' => ' + inspect(value, obj));
15871
15879
  });
15872
- return collectionOf('Map', mapSize.call(obj), parts);
15880
+ return collectionOf('Map', mapSize.call(obj), mapParts);
15873
15881
  }
15874
15882
  if (isSet(obj)) {
15875
- var parts = [];
15876
- setForEach.call(obj, function (value ) {
15877
- parts.push(inspect(value, obj));
15883
+ var setParts = [];
15884
+ setForEach.call(obj, function (value) {
15885
+ setParts.push(inspect(value, obj));
15878
15886
  });
15879
- return collectionOf('Set', setSize.call(obj), parts);
15887
+ return collectionOf('Set', setSize.call(obj), setParts);
15888
+ }
15889
+ if (isWeakMap(obj)) {
15890
+ return weakCollectionOf('WeakMap');
15891
+ }
15892
+ if (isWeakSet(obj)) {
15893
+ return weakCollectionOf('WeakSet');
15880
15894
  }
15881
15895
  if (isNumber(obj)) {
15882
15896
  return markBoxed(inspect(Number(obj)));
@@ -15892,56 +15906,57 @@ module.exports =
15892
15906
  }
15893
15907
  if (!isDate(obj) && !isRegExp(obj)) {
15894
15908
  var xs = arrObjKeys(obj, inspect);
15895
- if (xs.length === 0) return '{}';
15909
+ if (xs.length === 0) { return '{}'; }
15896
15910
  return '{ ' + xs.join(', ') + ' }';
15897
15911
  }
15898
15912
  return String(obj);
15899
15913
  };
15900
15914
 
15901
- function wrapQuotes (s, defaultStyle, opts) {
15915
+ function wrapQuotes(s, defaultStyle, opts) {
15902
15916
  var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
15903
15917
  return quoteChar + s + quoteChar;
15904
15918
  }
15905
15919
 
15906
- function quote (s) {
15920
+ function quote(s) {
15907
15921
  return String(s).replace(/"/g, '&quot;');
15908
15922
  }
15909
15923
 
15910
- function isArray (obj) { return toStr(obj) === '[object Array]'; }
15911
- function isDate (obj) { return toStr(obj) === '[object Date]'; }
15912
- function isRegExp (obj) { return toStr(obj) === '[object RegExp]'; }
15913
- function isError (obj) { return toStr(obj) === '[object Error]'; }
15914
- function isSymbol (obj) { return toStr(obj) === '[object Symbol]'; }
15915
- function isString (obj) { return toStr(obj) === '[object String]'; }
15916
- function isNumber (obj) { return toStr(obj) === '[object Number]'; }
15917
- function isBigInt (obj) { return toStr(obj) === '[object BigInt]'; }
15918
- function isBoolean (obj) { return toStr(obj) === '[object Boolean]'; }
15924
+ function isArray(obj) { return toStr(obj) === '[object Array]'; }
15925
+ function isDate(obj) { return toStr(obj) === '[object Date]'; }
15926
+ function isRegExp(obj) { return toStr(obj) === '[object RegExp]'; }
15927
+ function isError(obj) { return toStr(obj) === '[object Error]'; }
15928
+ function isSymbol(obj) { return toStr(obj) === '[object Symbol]'; }
15929
+ function isString(obj) { return toStr(obj) === '[object String]'; }
15930
+ function isNumber(obj) { return toStr(obj) === '[object Number]'; }
15931
+ function isBigInt(obj) { return toStr(obj) === '[object BigInt]'; }
15932
+ function isBoolean(obj) { return toStr(obj) === '[object Boolean]'; }
15919
15933
 
15920
15934
  var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
15921
- function has (obj, key) {
15935
+ function has(obj, key) {
15922
15936
  return hasOwn.call(obj, key);
15923
15937
  }
15924
15938
 
15925
- function toStr (obj) {
15939
+ function toStr(obj) {
15926
15940
  return objectToString.call(obj);
15927
15941
  }
15928
15942
 
15929
- function nameOf (f) {
15930
- if (f.name) return f.name;
15931
- var m = String(f).match(/^function\s*([\w$]+)/);
15932
- if (m) return m[1];
15943
+ function nameOf(f) {
15944
+ if (f.name) { return f.name; }
15945
+ var m = match.call(f, /^function\s*([\w$]+)/);
15946
+ if (m) { return m[1]; }
15947
+ return null;
15933
15948
  }
15934
15949
 
15935
- function indexOf (xs, x) {
15936
- if (xs.indexOf) return xs.indexOf(x);
15950
+ function indexOf(xs, x) {
15951
+ if (xs.indexOf) { return xs.indexOf(x); }
15937
15952
  for (var i = 0, l = xs.length; i < l; i++) {
15938
- if (xs[i] === x) return i;
15953
+ if (xs[i] === x) { return i; }
15939
15954
  }
15940
15955
  return -1;
15941
15956
  }
15942
15957
 
15943
- function isMap (x) {
15944
- if (!mapSize) {
15958
+ function isMap(x) {
15959
+ if (!mapSize || !x || typeof x !== 'object') {
15945
15960
  return false;
15946
15961
  }
15947
15962
  try {
@@ -15956,8 +15971,24 @@ module.exports =
15956
15971
  return false;
15957
15972
  }
15958
15973
 
15959
- function isSet (x) {
15960
- if (!setSize) {
15974
+ function isWeakMap(x) {
15975
+ if (!weakMapHas || !x || typeof x !== 'object') {
15976
+ return false;
15977
+ }
15978
+ try {
15979
+ weakMapHas.call(x, weakMapHas);
15980
+ try {
15981
+ weakSetHas.call(x, weakSetHas);
15982
+ } catch (s) {
15983
+ return true;
15984
+ }
15985
+ return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
15986
+ } catch (e) {}
15987
+ return false;
15988
+ }
15989
+
15990
+ function isSet(x) {
15991
+ if (!setSize || !x || typeof x !== 'object') {
15961
15992
  return false;
15962
15993
  }
15963
15994
  try {
@@ -15972,37 +16003,58 @@ module.exports =
15972
16003
  return false;
15973
16004
  }
15974
16005
 
15975
- function isElement (x) {
15976
- if (!x || typeof x !== 'object') return false;
16006
+ function isWeakSet(x) {
16007
+ if (!weakSetHas || !x || typeof x !== 'object') {
16008
+ return false;
16009
+ }
16010
+ try {
16011
+ weakSetHas.call(x, weakSetHas);
16012
+ try {
16013
+ weakMapHas.call(x, weakMapHas);
16014
+ } catch (s) {
16015
+ return true;
16016
+ }
16017
+ return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
16018
+ } catch (e) {}
16019
+ return false;
16020
+ }
16021
+
16022
+ function isElement(x) {
16023
+ if (!x || typeof x !== 'object') { return false; }
15977
16024
  if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
15978
16025
  return true;
15979
16026
  }
15980
- return typeof x.nodeName === 'string'
15981
- && typeof x.getAttribute === 'function'
15982
- ;
16027
+ return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
15983
16028
  }
15984
16029
 
15985
- function inspectString (str, opts) {
16030
+ function inspectString(str, opts) {
16031
+ // eslint-disable-next-line no-control-regex
15986
16032
  var s = str.replace(/(['\\])/g, '\\$1').replace(/[\x00-\x1f]/g, lowbyte);
15987
16033
  return wrapQuotes(s, 'single', opts);
15988
16034
  }
15989
16035
 
15990
- function lowbyte (c) {
16036
+ function lowbyte(c) {
15991
16037
  var n = c.charCodeAt(0);
15992
- var x = { 8: 'b', 9: 't', 10: 'n', 12: 'f', 13: 'r' }[n];
15993
- if (x) return '\\' + x;
16038
+ var x = {
16039
+ 8: 'b', 9: 't', 10: 'n', 12: 'f', 13: 'r'
16040
+ }[n];
16041
+ if (x) { return '\\' + x; }
15994
16042
  return '\\x' + (n < 0x10 ? '0' : '') + n.toString(16);
15995
16043
  }
15996
16044
 
15997
- function markBoxed (str) {
16045
+ function markBoxed(str) {
15998
16046
  return 'Object(' + str + ')';
15999
16047
  }
16000
16048
 
16001
- function collectionOf (type, size, entries) {
16049
+ function weakCollectionOf(type) {
16050
+ return type + ' { ? }';
16051
+ }
16052
+
16053
+ function collectionOf(type, size, entries) {
16002
16054
  return type + ' (' + size + ') {' + entries.join(', ') + '}';
16003
16055
  }
16004
16056
 
16005
- function arrObjKeys (obj, inspect) {
16057
+ function arrObjKeys(obj, inspect) {
16006
16058
  var isArr = isArray(obj);
16007
16059
  var xs = [];
16008
16060
  if (isArr) {
@@ -16011,10 +16063,10 @@ module.exports =
16011
16063
  xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
16012
16064
  }
16013
16065
  }
16014
- for (var key in obj) {
16015
- if (!has(obj, key)) continue;
16016
- if (isArr && String(Number(key)) === key && key < obj.length) continue;
16017
- if (/[^\w$]/.test(key)) {
16066
+ for (var key in obj) { // eslint-disable-line no-restricted-syntax
16067
+ if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
16068
+ if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
16069
+ if ((/[^\w$]/).test(key)) {
16018
16070
  xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
16019
16071
  } else {
16020
16072
  xs.push(key + ': ' + inspect(obj[key], obj));
@@ -194,6 +194,9 @@ export abstract class ConfigurationServicePlaceholders {
194
194
  workmailmessageflow?: AWS.WorkMailMessageFlow.Types.ClientConfiguration;
195
195
  codestarnotifications?: AWS.CodeStarNotifications.Types.ClientConfiguration;
196
196
  savingsplans?: AWS.SavingsPlans.Types.ClientConfiguration;
197
+ sso?: AWS.SSO.Types.ClientConfiguration;
198
+ ssooidc?: AWS.SSOOIDC.Types.ClientConfiguration;
199
+ marketplacecatalog?: AWS.MarketplaceCatalog.Types.ClientConfiguration;
197
200
  }
198
201
  export interface ConfigurationServiceApiVersions {
199
202
  acm?: AWS.ACM.Types.apiVersion;
@@ -390,4 +393,7 @@ export interface ConfigurationServiceApiVersions {
390
393
  workmailmessageflow?: AWS.WorkMailMessageFlow.Types.apiVersion;
391
394
  codestarnotifications?: AWS.CodeStarNotifications.Types.apiVersion;
392
395
  savingsplans?: AWS.SavingsPlans.Types.apiVersion;
396
+ sso?: AWS.SSO.Types.apiVersion;
397
+ ssooidc?: AWS.SSOOIDC.Types.apiVersion;
398
+ marketplacecatalog?: AWS.MarketplaceCatalog.Types.apiVersion;
393
399
  }
package/lib/core.js CHANGED
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.566.0',
23
+ VERSION: '2.570.0',
24
24
 
25
25
  /**
26
26
  * @api private