aws-sdk 2.774.0 → 2.778.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 +21 -1
- package/README.md +1 -1
- package/apis/appflow-2020-08-23.min.json +63 -40
- package/apis/batch-2016-08-10.min.json +64 -49
- package/apis/cloudfront-2020-05-31.min.json +495 -147
- package/apis/ec2-2016-11-15.min.json +150 -147
- package/apis/globalaccelerator-2018-08-08.min.json +40 -17
- package/apis/glue-2017-03-31.min.json +299 -284
- package/apis/kendra-2019-02-03.min.json +14 -7
- package/apis/mediatailor-2018-04-23.min.json +32 -7
- package/apis/quicksight-2018-04-01.min.json +112 -105
- package/apis/sns-2010-03-31.min.json +5 -2
- package/clients/accessanalyzer.d.ts +4 -4
- package/clients/appflow.d.ts +48 -9
- package/clients/appsync.d.ts +7 -7
- package/clients/batch.d.ts +25 -1
- package/clients/cloudfront.d.ts +329 -51
- package/clients/ec2.d.ts +19 -14
- package/clients/elasticbeanstalk.d.ts +1 -1
- package/clients/globalaccelerator.d.ts +40 -17
- package/clients/glue.d.ts +19 -0
- package/clients/kendra.d.ts +21 -9
- package/clients/macie2.d.ts +15 -15
- package/clients/mediatailor.d.ts +26 -0
- package/clients/organizations.d.ts +100 -100
- package/clients/quicksight.d.ts +19 -4
- package/clients/servicecatalog.d.ts +1 -1
- package/clients/sns.d.ts +18 -6
- package/dist/aws-sdk-core-react-native.js +11 -5
- package/dist/aws-sdk-react-native.js +31 -19
- package/dist/aws-sdk.js +663 -303
- package/dist/aws-sdk.min.js +72 -71
- package/lib/core.js +1 -1
- package/lib/util.js +10 -4
- package/package.json +1 -1
package/lib/core.js
CHANGED
package/lib/util.js
CHANGED
|
@@ -966,10 +966,16 @@ var util = {
|
|
|
966
966
|
filename: process.env[util.sharedConfigFileEnv]
|
|
967
967
|
});
|
|
968
968
|
}
|
|
969
|
-
var profilesFromCreds
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
969
|
+
var profilesFromCreds= {};
|
|
970
|
+
try {
|
|
971
|
+
var profilesFromCreds = iniLoader.loadFrom({
|
|
972
|
+
filename: filename ||
|
|
973
|
+
(process.env[util.configOptInEnv] && process.env[util.sharedCredentialsFileEnv])
|
|
974
|
+
});
|
|
975
|
+
} catch (error) {
|
|
976
|
+
// if using config, assume it is fully descriptive without a credentials file:
|
|
977
|
+
if (!process.env[util.configOptInEnv]) throw error;
|
|
978
|
+
}
|
|
973
979
|
for (var i = 0, profileNames = Object.keys(profilesFromConfig); i < profileNames.length; i++) {
|
|
974
980
|
profiles[profileNames[i]] = objectAssign(profiles[profileNames[i]] || {}, profilesFromConfig[profileNames[i]]);
|
|
975
981
|
}
|