AccessDeniedException: An error occurred (AccessDeniedException) when calling the ListTables operation: Team is not associated to an AWS Account

0

AWS Honeycode API service call from AWS Glue python code using boto3 is giving issue.

Sharing the code snippet below:

import boto3

honeycode_client = boto3.client('honeycode')
response = honeycode_client.list_tables(workbookId = 'eb59751e-ef06-4de0-a4a9-c355e49308ab')

NOTE: workbook and tables are already created in Honeycode. Role applied to glue job is having below policies:

AmazonS3FullAccess

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "s3:*",
                "s3-object-lambda:*"
            ],
            "Resource": "*"
        }
    ]
}

AmazonHoneycodeFullAccess

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "honeycode:*"
            ],
            "Resource": "*",
            "Effect": "Allow"
        }
    ]
}

Above code snippet is giving below error:

AccessDeniedException: An error occurred (AccessDeniedException) when calling the ListTables operation: Team is not associated to an AWS Account

what extra access is required for above mentioned access issue?

No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas