The AWS STS API operation that an authorized caller signs with its existing AWS credentials, passing a RoleArn and Role…