Returns a set of short term credentials you can use to perform privileged tasks on a member account in your organization.
See https://www.paws-r-sdk.com/docs/sts_assume_root/ for full documentation.
sts_assume_root(TargetPrincipal, TaskPolicyArn, DurationSeconds = NULL)
[required] The member account principal ARN or account ID.
[required] The identity based policy that scopes the session to the privileged tasks that can be performed. You can use one of following Amazon Web Services managed policies to scope root session actions.
The duration, in seconds, of the privileged session. The value can range from 0 seconds up to the maximum session duration of 900 seconds (15 minutes). If you specify a value higher than this setting, the operation fails.
By default, the value is set to 900
seconds.