-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws iotsitewise describe-portal --portal-id does not include edgeConfig/edgeAccess values within the AWS response. #9182
Comments
Hi @bobneuman, thanks for reaching out. I was able to reproduce this behavior; the unparsed response contains several unmodeled fields, including Ticket # for internal use : P186030809 |
RyanFitzSimmonsAK the requirements should align to the published service. The ability to set the edgeConfig": { "edgeAccess": "ENABLED" } for SiteWise via the console has been present for months. The CLI and SDKs should implement those items. Backloged somewhere? |
Hi @bobneuman, To provide a little more clarity, you can check the official API Reference for AWS IoT Sitewise. They don't currently publish Once they confirm their intent and officially flag this as part of their public API, it should be available in all of our public tooling. @RyanFitzSimmonsAK will follow up once we get clearer guidance from the service team. |
Hey, thanks for your patience, the service team got back to me. This value is not intended to be part of the response, and won't be added to the public model. Because this behavior is subject to change, customers should not rely on it. Unfortunately, there isn't an intended way to interact with this setting programatically. You'll have to use the console for a supported way to use this feature. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
@RyanFitzSimmonsAK interesting response from the service team. Although the API docs are not updated with the 'edgeConfig' it does set the value via a direct API call by a lambda. I'll use that until something is published or they deprecate the capability. |
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: