aws iotsitewise describe-portal --portal-id does not include edgeConfig/edgeAccess values within the AWS response. #9182
Labels
bug
This issue is a bug.
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
iotsitewise
p2
This is a standard priority issue
Describe the bug
aws iotsitewise describe-portal --portal-id [idnumber] does not display the information related to the edgeConfig enablement that is returned within the response from AWS.
I you run the command with --debug the MainThread - botocore.parsers - DEBUG - Response body: {} includes the "edgeConfig": { "edgeAccess": "ENABLED" }, but the cli output does not.
Regression Issue
Expected Behavior
I'd expect the cli to display the information in the MainThread - botocore.parsers - DEBUG - Response body: {}
Current Behavior
The cli of
aws iotsitewise describe-portal --portal-id _____
fails to include the "edgeConfig": { "edgeAccess": "ENABLED" } or "edgeConfig": nullReproduction Steps
Create a sitewise edge portal and use the id to query
aws iotsitewise describe-portal --portal-id _____ --debug
. A review of the MainThread - botocore.parsers - DEBUG - Response body should have "edgeConfig": null. Then using the console navigate to the portal and enable the edge (see. ___ ). Wait a few minutes and rerun the commandaws iotsitewise describe-portal --portal-id _____ --debug
the debug content will include "edgeConfig": { "edgeAccess": "ENABLED"} , but the cli output will not.Possible Solution
No response
Additional Information/Context
Update the Create and Update Portal functions of the cli to allow setting the edgeAccess to ENABLED. Cloudtrail captures the following when the setting is altered in the console.
CLI version used
aws-cli/2.22.26 Python/3.12.6
Environment details (OS name and version, etc.)
Linux/6.1.0-27-amd64 exe/x86_64.debian.12
The text was updated successfully, but these errors were encountered: