aws-sdk 2.804.0 → 2.805.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 +6 -1
- package/README.md +1 -1
- package/apis/dms-2016-01-01.min.json +9 -1
- package/apis/servicecatalog-appregistry-2020-06-24.min.json +80 -0
- package/clients/dms.d.ts +16 -0
- package/clients/servicecatalogappregistry.d.ts +61 -0
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +9 -5
- package/dist/aws-sdk.js +9 -5
- package/dist/aws-sdk.min.js +6 -6
- package/lib/core.js +1 -1
- package/lib/services/s3.js +6 -2
- package/package.json +1 -1
package/lib/core.js
CHANGED
package/lib/services/s3.js
CHANGED
|
@@ -1079,9 +1079,13 @@ AWS.util.update(AWS.S3.prototype, {
|
|
|
1079
1079
|
config.getCredentials(function (err) {
|
|
1080
1080
|
if (err) {
|
|
1081
1081
|
callback(err);
|
|
1082
|
+
} else {
|
|
1083
|
+
try {
|
|
1084
|
+
callback(null, finalizePost());
|
|
1085
|
+
} catch (err) {
|
|
1086
|
+
callback(err);
|
|
1087
|
+
}
|
|
1082
1088
|
}
|
|
1083
|
-
|
|
1084
|
-
callback(null, finalizePost());
|
|
1085
1089
|
});
|
|
1086
1090
|
} else {
|
|
1087
1091
|
return finalizePost();
|