aws-sdk 2.1235.0 → 2.1237.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 +19 -1
- package/README.md +1 -1
- package/apis/cloudtrail-2013-11-01.min.json +30 -27
- package/apis/connect-2017-08-08.min.json +377 -134
- package/apis/connect-2017-08-08.paginators.json +6 -0
- package/apis/devops-guru-2020-12-01.min.json +140 -125
- package/apis/eventbridge-2015-10-07.min.json +5 -1
- package/apis/globalaccelerator-2018-08-08.min.json +163 -109
- package/apis/managedblockchain-2018-09-24.min.json +173 -49
- package/apis/managedblockchain-2018-09-24.paginators.json +6 -0
- package/apis/resiliencehub-2020-04-30.min.json +2 -1
- package/apis/rum-2018-05-10.min.json +360 -12
- package/apis/rum-2018-05-10.paginators.json +12 -0
- package/apis/s3-2006-03-01.examples.json +132 -132
- package/apis/s3-2006-03-01.min.json +311 -1
- package/apis/s3control-2018-08-20.min.json +533 -12
- package/apis/support-app-2021-08-20.min.json +28 -1
- package/apis/workspaces-web-2020-07-08.min.json +290 -63
- package/apis/workspaces-web-2020-07-08.paginators.json +5 -0
- package/clients/chimesdkmessaging.d.ts +3 -3
- package/clients/cloudtrail.d.ts +54 -40
- package/clients/configservice.d.ts +24 -24
- package/clients/connect.d.ts +327 -55
- package/clients/devopsguru.d.ts +26 -4
- package/clients/globalaccelerator.d.ts +60 -3
- package/clients/managedblockchain.d.ts +191 -46
- package/clients/resiliencehub.d.ts +7 -3
- package/clients/rum.d.ts +340 -5
- package/clients/s3.d.ts +1 -1
- package/clients/supportapp.d.ts +48 -10
- package/clients/workspacesweb.d.ts +199 -1
- package/dist/aws-sdk-core-react-native.js +9 -5
- package/dist/aws-sdk-react-native.js +25 -21
- package/dist/aws-sdk.js +735 -169
- package/dist/aws-sdk.min.js +83 -83
- package/lib/core.js +1 -1
- package/lib/event_listeners.js +7 -4
- package/lib/model/api.js +1 -0
- package/package.json +1 -1
package/lib/core.js
CHANGED
package/lib/event_listeners.js
CHANGED
|
@@ -319,10 +319,13 @@ AWS.EventListeners = {
|
|
|
319
319
|
});
|
|
320
320
|
|
|
321
321
|
add('ERROR', 'error', function ERROR(err, resp) {
|
|
322
|
-
var
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
322
|
+
var awsQueryCompatible = resp.request.service.api.awsQueryCompatible;
|
|
323
|
+
if (awsQueryCompatible) {
|
|
324
|
+
var headers = resp.httpResponse.headers;
|
|
325
|
+
var queryErrorCode = headers ? headers['x-amzn-query-error'] : undefined;
|
|
326
|
+
if (queryErrorCode && queryErrorCode.includes(';')) {
|
|
327
|
+
resp.error.code = queryErrorCode.split(';')[0];
|
|
328
|
+
}
|
|
326
329
|
}
|
|
327
330
|
}, true);
|
|
328
331
|
|
package/lib/model/api.js
CHANGED