Skip to content

feat(sdk): add availableInNonAwsProviders to V1AwsDataConnection model#34

Merged
owbone merged 2 commits into
mainfrom
pwgardipee/aws-available-in-non-aws-providers
Jul 22, 2026
Merged

feat(sdk): add availableInNonAwsProviders to V1AwsDataConnection model#34
owbone merged 2 commits into
mainfrom
pwgardipee/aws-available-in-non-aws-providers

Conversation

@pwgardipee

@pwgardipee pwgardipee commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds the availableInNonAwsProviders field to the V1AwsDataConnection model in both the Python and Go SDKs.

Without the field on the model, the generated deserializer silently drops availableInNonAwsProviders from API responses, so downstream consumers (e.g. litData) always see it as unset and can't route those S3 connections through the temporary project-role credential path used for non-AWS providers.

This syncs the SDK's vendored copies with the field already present in the grid-generated clients.

Changes

  • Python (python/.../v1_aws_data_connection.py): field added to swagger_types, attribute_map, __init__, and getter/setter (swagger-codegen style).
  • Go (go/internal/lightningcloud/openapi/generated/models/v1_aws_data_connection.go): AvailableInNonAwsProviders bool added to the struct (go-swagger style), matching the grid go-client ordering/comment.

Notes

@pwgardipee pwgardipee changed the title feat: add availableInNonAwsProviders to V1AwsDataConnection model feat(sdk): add availableInNonAwsProviders to V1AwsDataConnection model Jul 22, 2026

@k223kim k223kim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should we also update the go sdk side as well?

Mirror the Python model change so the Go SDK deserializer preserves
availableInNonAwsProviders from API responses instead of dropping it.

Co-authored-by: Cursor <cursoragent@cursor.com>
@pwgardipee
pwgardipee requested a review from owbone as a code owner July 22, 2026 16:04
@pwgardipee

Copy link
Copy Markdown
Contributor Author

Should we also update the go sdk side as well?

good call @k223kim! just added

@owbone
owbone merged commit b2825e0 into main Jul 22, 2026
24 checks passed
@owbone
owbone deleted the pwgardipee/aws-available-in-non-aws-providers branch July 22, 2026 16:16
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.

4 participants