Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Cannot use session as type configProvider #1

Open
sinramyeon opened this issue Mar 26, 2019 · 0 comments
Open

Cannot use session as type configProvider #1

sinramyeon opened this issue Mar 26, 2019 · 0 comments

Comments

@sinramyeon
Copy link

in sessionConfig := &aws.Config{Region: aws.String(kinesisRegion)} s := session.New(sessionConfig) kinesis.New(s)

cannot use s (type session.Session) as type "github.com/aws/aws-sdk-go/aws/client".ConfigProvider in argument to kinesis.New:
session.Session does not implement "github.com/aws/aws-sdk-go/aws/client".ConfigProvider (wrong type for ClientConfig method)
have ClientConfig(string, ...
"gitlab.com/basking/graphql-api/vendor/github.com/aws/aws-sdk-go/aws".Config) "gitlab.com/basking/graphql-api/vendor/github.com/aws/aws-sdk-go/aws/client".Config
want ClientConfig(string, ...
"github.com/aws/aws-sdk-go/aws".Config) "github.com/aws/aws-sdk-go/aws/client".Config

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant