问题描述
我试图将quicksight dashbaord嵌入到我的Django应用程序中,但是它认为此错误 调用GetDashboardEmbedUrl操作时发生错误(AccessDeniedException)
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
import botocore.session
def index(request):
session = botocore.session.get_session()
client = session.create_client("quicksight",region_name='us-east-1')
context = client.get_dashboard_embed_url(AwsAccountId=124124241"",DashboardId="123321*****",IdentityType="IAM",SessionLifetimeInMinutes=100,Resetdisabled=True,UndoRedodisabled=True)
return render(request,'index.html',context)
预先感谢
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)