Skip to content

TrustnGO/deprecated_01_aws_connect Microchip_manifest_handler.py import_certificate doesn't work #9

Description

When I run
TrustnGO/deprecated_01_aws_connect/notebook/TNGTLS_aws_connect.ipynb
I get an Unknown service error and cannot complete the certificate registration.

In the import_certificate() function, "client2 = boto3.client('iot2')" seemed to cause an error,
so I changed it to "client2 = boto3.client('iot')" and it worked!

I think there is no service name for 'iot2' and it is a bug caused by a simple description error.

I read the boto3 documentation and there is no mention of 'iot2', so 'iot' seems to be correct.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/iot.html#client

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions