久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <tfoot id='AWhxA'></tfoot>

      <small id='AWhxA'></small><noframes id='AWhxA'>

    1. <legend id='AWhxA'><style id='AWhxA'><dir id='AWhxA'><q id='AWhxA'></q></dir></style></legend>

          <bdo id='AWhxA'></bdo><ul id='AWhxA'></ul>
        <i id='AWhxA'><tr id='AWhxA'><dt id='AWhxA'><q id='AWhxA'><span id='AWhxA'><b id='AWhxA'><form id='AWhxA'><ins id='AWhxA'></ins><ul id='AWhxA'></ul><sub id='AWhxA'></sub></form><legend id='AWhxA'></legend><bdo id='AWhxA'><pre id='AWhxA'><center id='AWhxA'></center></pre></bdo></b><th id='AWhxA'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='AWhxA'><tfoot id='AWhxA'></tfoot><dl id='AWhxA'><fieldset id='AWhxA'></fieldset></dl></div>

        AmazonServiceException:用戶無權執行:dynamodb:DescribeTa

        AmazonServiceException: User is not authorized to perform: dynamodb:DescribeTable Status Code: 400; Error Code: AccessDeniedException(AmazonServiceException:用戶無權執行:dynamodb:DescribeTable 狀態碼:400;錯誤代碼:AccessDeniedE
        • <i id='bXeRc'><tr id='bXeRc'><dt id='bXeRc'><q id='bXeRc'><span id='bXeRc'><b id='bXeRc'><form id='bXeRc'><ins id='bXeRc'></ins><ul id='bXeRc'></ul><sub id='bXeRc'></sub></form><legend id='bXeRc'></legend><bdo id='bXeRc'><pre id='bXeRc'><center id='bXeRc'></center></pre></bdo></b><th id='bXeRc'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='bXeRc'><tfoot id='bXeRc'></tfoot><dl id='bXeRc'><fieldset id='bXeRc'></fieldset></dl></div>

            <small id='bXeRc'></small><noframes id='bXeRc'>

            • <bdo id='bXeRc'></bdo><ul id='bXeRc'></ul>
                <tbody id='bXeRc'></tbody>
            • <legend id='bXeRc'><style id='bXeRc'><dir id='bXeRc'><q id='bXeRc'></q></dir></style></legend>

              <tfoot id='bXeRc'></tfoot>
                • 本文介紹了AmazonServiceException:用戶無權執行:dynamodb:DescribeTable 狀態碼:400;錯誤代碼:AccessDeniedException的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我原本以為這個問題是由于區域不匹配造成的,但是在更改區域后,我在嘗試此處找到的 Amazon AWS 示例時仍然遇到以下錯誤:

                  I had originally thought that this issue was due to mismatching regions, but after changing the region, I'm still coming across the following error when trying out an Amazon AWS sample found here:

                  DynamoDBMapper

                   AmazonServiceException: User: arn:aws:sts::[My Account
                   ARN]:assumed-role/Cognito_AndroidAppUnauth_DefaultRole/ProviderSession
                   is not authorized to perform: dynamodb:DescribeTable on resource:
                   arn:aws:dynamodb:us-east-1:[My Account ARN]:table/test_table (Service:
                   AmazonDynamoDBv2; Status Code: 400; Error Code: AccessDeniedException;
                   Request ID: BBFTS0Q8UHTMG120IORC2KSASVVV4KQNSO5AEMVJF66Q9ASUAAJG)
                  

                  一切都或多或少相同,我唯一更改的是將 DBclient 區域更改為 US_EAST_1,我的測試表在其中托管并修改使用Amazon Cognito 入門代碼"頁面中的信息生成的常量文件,該頁面是按照 Cognito 入門文檔生成的.

                  Everything is more or less the same, the only things I've changed have been changing the DBclient region to US_EAST_1, where my test table is hosted and modifying the Constants file using the info from the 'Amazon Cognito Starter Code' page that is generated through following the Cognito get started documentation.

                  sdkforandroid-cognito-auth

                  對于我的 Cognito_AndroidAppUnauth_DefaultRole 角色策略,我修改了默認的移動分析和同步服務權限,使其還包括對所有表(無論是否存在)的所有操作的訪問:

                  For my Cognito_AndroidAppUnauth_DefaultRole role policy I modified the default mobile analytics and sync service permission to also include access of all actions on all tables, existing or not:

                  {
                      "Version": "2012-10-17",
                      "Statement": [
                          {
                              "Sid": "CognitoPolicy",
                              "Action": [
                                  "mobileanalytics:PutEvents",
                                  "cognito-sync:*"
                              ],
                              "Effect": "Allow",
                              "Resource": [
                                  "*"
                              ]
                          },
                          {
                              "Sid": "DynamoDBPolicy",
                              "Effect": "Allow",
                              "Action": [
                                  "dynamodb: *"
                              ],
                              "Resource": "*"
                          }
                      ]
                  }
                  

                  那么為什么它聲稱在使用正確的區域時它沒有權限并且 Unauth 策略應該允許表訪問?

                  So why is it claiming that it doesn't have permission when the correct region is used and the Unauth policy should allow for table access?

                  調用 DynamoDB 資源(創建表)上的方法時的 Stacktrace,它是否有用

                  Stacktrace when calling a method on the DynamoDB resource (create table), should it prove useful

                     com.amazonaws.AmazonServiceException: User: arn:aws:sts::[My Account ARN]:assumed-role/Cognito_AndroidAppUnauth_DefaultRole/ProviderSession is not authorized to perform: dynamodb:CreateTable on resource: arn:aws:dynamodb:us-east-1:[My Account ARN]:table/test_table (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: AccessDeniedException; Request ID: SDELNSMLO10EV7CM2STC1R9RU3VV4KQNSO5AEMVJF66Q9ASUAAJG)
                              at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(Unknown Source)
                              at com.amazonaws.http.AmazonHttpClient.executeHelper(Unknown Source)
                              at com.amazonaws.http.AmazonHttpClient.execute(Unknown Source)
                              at com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient.invoke(Unknown Source)
                              at com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient.createTable(Unknown Source)
                              at com.amazonaws.demo.userpreferencesom.DynamoDBManager.createTable(DynamoDBManager.java:72)
                              at com.amazonaws.demo.userpreferencesom.UserPreferenceDemoActivity$DynamoDBManagerTask.doInBackground(UserPreferenceDemoActivity.java:99)
                              at com.amazonaws.demo.userpreferencesom.UserPreferenceDemoActivity$DynamoDBManagerTask.doInBackground(UserPreferenceDemoActivity.java:85)
                              at android.os.AsyncTask$2.call(AsyncTask.java:288)
                              at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                              at java.lang.Thread.run(Thread.java:841)
                  

                  推薦答案

                  與亞馬遜工程師合作,發現問題出在策略配置中:

                  Worked with an Amazon engineer and it turns out the problem was in the policy configuration:

                  "dynamodb: *"
                  

                  應該是

                  "dynamodb:*"
                  

                  一個空間能做什么真是太神奇了.

                  It's amazing what a space can do.

                  這篇關于AmazonServiceException:用戶無權執行:dynamodb:DescribeTable 狀態碼:400;錯誤代碼:AccessDeniedException的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當前位置)
                  IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                  How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                  How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網絡提供商)
                  Get current location during app launch(在應用啟動期間獲取當前位置)
                  locationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)

                • <small id='woTSu'></small><noframes id='woTSu'>

                  1. <tfoot id='woTSu'></tfoot><legend id='woTSu'><style id='woTSu'><dir id='woTSu'><q id='woTSu'></q></dir></style></legend>
                      • <bdo id='woTSu'></bdo><ul id='woTSu'></ul>
                          <i id='woTSu'><tr id='woTSu'><dt id='woTSu'><q id='woTSu'><span id='woTSu'><b id='woTSu'><form id='woTSu'><ins id='woTSu'></ins><ul id='woTSu'></ul><sub id='woTSu'></sub></form><legend id='woTSu'></legend><bdo id='woTSu'><pre id='woTSu'><center id='woTSu'></center></pre></bdo></b><th id='woTSu'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='woTSu'><tfoot id='woTSu'></tfoot><dl id='woTSu'><fieldset id='woTSu'></fieldset></dl></div>

                              <tbody id='woTSu'></tbody>

                            主站蜘蛛池模板: 天堂亚洲 | 澳门永久av免费网站 | 欧美寡妇偷汉性猛交 | 无码一区二区三区视频 | 91久久国产综合久久 | 色综合久久久 | 亚洲国产精品久久 | 精品国产91 | 国产亚洲一区二区三区在线 | 精品一区二区三区视频在线观看 | 欧美成人精品激情在线观看 | 国产精品亚洲综合 | 国产精品日日摸夜夜添夜夜av | 国产视频精品区 | 欧美亚洲第一区 | 久久久久www| 亚洲国产一区二区三区 | 欧美精品a∨在线观看不卡 国产精品久久国产精品 | 久久69精品久久久久久久电影好 | 亚洲在线电影 | 欧美性成人 | 综合精品在线 | 欧美亚洲国产一区 | 成人久久久久 | 三a毛片 | 手机在线不卡av | 成年人免费网站 | 国产成人精品免费视频大全最热 | 狠狠干在线 | 91久久国产综合久久 | 亚洲成人一区二区 | 日韩免费高清视频 | 国产一区二区自拍 | 成人在线一区二区 | 日本不卡一区二区三区在线观看 | 成人免费看 | 无码国模国产在线观看 | 91大神在线资源观看无广告 | 在线看无码的免费网站 | 激情视频中文字幕 | 国产黄色在线观看 |