Skip to content
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

Add table aws_iot_greengrass_* Closes #1994 #2002

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

ParthaI
Copy link
Contributor

@ParthaI ParthaI commented Dec 6, 2023

Integration test logs

Logs
N/A

Example query results

Results
> select * from aws_iot_greengrass_deployment
+-----------------------+--------------------------------------+-------------------+----------------------+---------------------------+-------------------+-------------+------------------------------------------------------+----------------------------------------------->
| deployment_name       | deployment_id                        | deployment_status | is_latest_for_target | creation_timestamp        | parent_target_arn | revision_id | target_arn                                           | iot_job_arn                                   >
+-----------------------+--------------------------------------+-------------------+----------------------+---------------------------+-------------------+-------------+------------------------------------------------------+----------------------------------------------->
| Deployment for test12 | 40c2d4b5-1bcd-43da-b5ef-7199d1ade409 | ACTIVE            | true                 | 2023-12-06T18:21:35+05:30 | <null>            | 1           | arn:aws:iot:us-east-1:333333333333:thinggroup/test12 | arn:aws:iot:us-east-1:333333333333:job/8167384>
+-----------------------+--------------------------------------+-------------------+----------------------+---------------------------+-------------------+-------------+------------------------------------------------------+----------------------------------------------

@ParthaI ParthaI self-assigned this Dec 6, 2023
@ParthaI ParthaI linked an issue Dec 6, 2023 that may be closed by this pull request
@madhushreeray30
Copy link
Contributor

@ParthaI Please also resolve the merge conflicts, thanks!

Copy link

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale No recent activity has been detected on this issue/PR and it will be closed label Mar 30, 2024
Copy link
Contributor

@khushboo9024 khushboo9024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ParthaI I am getting below error for table aws_iot_greengrass_component

> select * FROM aws_iot_greengrass_component
Error: aws: operation error GreengrassV2: GetComponent, https response error StatusCode: 400, RequestID: 5d4d4b3c-9b35-4d38-96b3-7d6a8888844a, ValidationException: Invalid Input: Request component version is blank (SQLSTATE HV000)
> 

Note: Also GetConfig is missing for this table, could you please take a look?

@ParthaI
Copy link
Contributor Author

ParthaI commented Apr 1, 2024

Note: Also GetConfig is missing for this table, could you please take a look?

@khushboo9024 The get config is not included here for several reasons:

  1. The API only returns the recipe and recipeOutputFormat, without any additional information.
  2. A specific version is required to make the API call, but we obtain the latest version through the list call.
  3. Utilizing the GetComponent API as a hydrated call is a more effective approach.
  4. We can add a separate table table aws_iot_greengrass_component_version . We have a list/get API available for it.

@github-actions github-actions bot removed the stale No recent activity has been detected on this issue/PR and it will be closed label Apr 1, 2024
Copy link

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale No recent activity has been detected on this issue/PR and it will be closed label May 31, 2024
@github-actions github-actions bot removed the stale No recent activity has been detected on this issue/PR and it will be closed label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add table aws_iot_*
3 participants