aws-sdk 2.1410.0 → 2.1412.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 +12 -1
- package/README.md +1 -1
- package/apis/ec2-2016-11-15.min.json +281 -278
- package/apis/kms-2014-11-01.min.json +57 -15
- package/apis/location-2020-11-19.min.json +79 -40
- package/apis/mgn-2020-02-26.min.json +274 -130
- package/apis/mgn-2020-02-26.paginators.json +6 -0
- package/apis/outposts-2019-12-03.paginators.json +12 -6
- package/apis/quicksight-2018-04-01.min.json +561 -528
- package/clients/comprehendmedical.d.ts +46 -46
- package/clients/connect.d.ts +11 -11
- package/clients/ec2.d.ts +10 -5
- package/clients/kms.d.ts +58 -2
- package/clients/location.d.ts +50 -14
- package/clients/mgn.d.ts +275 -7
- package/clients/outposts.d.ts +4 -4
- package/clients/quicksight.d.ts +53 -7
- package/clients/rds.d.ts +35 -35
- package/clients/securityhub.d.ts +19 -19
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +8 -8
- package/dist/aws-sdk.js +420 -336
- package/dist/aws-sdk.min.js +70 -70
- package/lib/core.js +1 -1
- package/lib/credentials/shared_ini_file_credentials.js +2 -0
- package/package.json +1 -1
package/lib/core.js
CHANGED
@@ -192,6 +192,7 @@ AWS.SharedIniFileCredentials = AWS.util.inherit(AWS.Credentials, {
|
|
192
192
|
var externalId = roleProfile['external_id'];
|
193
193
|
var mfaSerial = roleProfile['mfa_serial'];
|
194
194
|
var sourceProfileName = roleProfile['source_profile'];
|
195
|
+
var durationSeconds = parseInt(roleProfile['duration_seconds'], 10) || undefined;
|
195
196
|
|
196
197
|
// From experimentation, the following behavior mimics the AWS CLI:
|
197
198
|
//
|
@@ -246,6 +247,7 @@ AWS.SharedIniFileCredentials = AWS.util.inherit(AWS.Credentials, {
|
|
246
247
|
});
|
247
248
|
|
248
249
|
var roleParams = {
|
250
|
+
DurationSeconds: durationSeconds,
|
249
251
|
RoleArn: roleArn,
|
250
252
|
RoleSessionName: roleSessionName || 'aws-sdk-js-' + Date.now()
|
251
253
|
};
|