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

unknown field StreamARN in struct literal of type kinesis.PutRecordsInput #4996

Closed
slavitch opened this issue Sep 21, 2023 · 5 comments
Closed
Assignees
Labels
guidance Question that needs advice or information.

Comments

@slavitch
Copy link

Describe the bug

I now get compilation errors when building using the kinesis library.

unknown field StreamARN in struct literal of type kinesis.PutRecordsInput

Expected Behavior

field StreamARN existed as a string in kinesis.PutRecordsInput.

Current Behavior

Compilation error with go build:

unknown field StreamARN in struct literal of type kinesis.PutRecordsInput

package main

import (

        "github.com/aws/aws-sdk-go/service/kinesis"
        }


::

        input := &kinesis.PutRecordsInput{
                Records:    entries,
                StreamName: aws.String(w.streamName),
                StreamARN:  aws.String(w.streamARN),
}
::

go build
./foo.go:#:10: unknown field StreamARN in struct literal of type kinesis.PutRecordsInput

Reproduction Steps

        input := &kinesis.PutRecordsInput{
                Records:    entries,
                StreamName: aws.String(w.streamName),
                StreamARN:  aws.String(w.streamARN),
}

Possible Solution

? It's in master.

Additional Information/Context

It should work field is still in repo.

SDK version used

master

Environment details (Version of Go (go version)? OS name and version, etc.)

go version go1.19.8 linux/amd64

@slavitch slavitch added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Sep 21, 2023
@rittneje
Copy link
Contributor

rittneje commented Sep 23, 2023

@slavitch What version of this library are you using? That field was introduced in v1.44.161. What does your go.mod say? Also you can print out aws.SDKVersion to double check.

You say you are using "master", but that branch does not exist. It was renamed to "main" at some point. So perhaps you have some old copy as a result. (But also you should probably stick to proper release versions.)

@lucix-aws lucix-aws added guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Sep 25, 2023
@RanVaknin RanVaknin self-assigned this Sep 25, 2023
@github-actions
Copy link

This issue has not received a response in 1 week. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Sep 26, 2023
@rittneje
Copy link
Contributor

@RanVaknin @lucix-aws Is the bot malfunctioning?

@github-actions github-actions bot removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Sep 27, 2023
@lucix-aws
Copy link
Contributor

Seems that way based on the churn w/ the labels, that said, closing this for now due to inactivity.

@github-actions
Copy link

github-actions bot commented Oct 2, 2023

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

4 participants