Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 00:43
    skotambkar review_requested #391
  • 00:32
    skotambkar opened #391
  • Sep 17 23:00
    skotambkar review_requested #390
  • Sep 17 22:52
    skotambkar synchronize #390
  • Sep 17 22:52
    skotambkar edited #390
  • Sep 17 22:46
    skotambkar opened #390
  • Sep 17 21:59

    skotambkar on v0.12.0

    (compare)

  • Sep 17 21:58

    skotambkar on master

    Release v0.12.0 (2019-09-17) (#… (compare)

  • Sep 17 21:58
    skotambkar closed #389
  • Sep 17 21:47
    skotambkar opened #389
  • Sep 17 21:25
    jasdel labeled #388
  • Sep 17 21:25
    jasdel opened #388
  • Sep 17 21:15
    jasdel closed #387
  • Sep 17 21:15
    jasdel closed #327
  • Sep 17 20:53
    skotambkar review_requested #387
  • Sep 17 20:51
    skotambkar synchronize #387
  • Sep 17 20:48
    skotambkar synchronize #387
  • Sep 17 20:47
    skotambkar opened #387
  • Sep 17 18:24

    skotambkar on master

    aws: Refactors request retry be… (compare)

  • Sep 17 18:24
    skotambkar closed #384
Kai Hendry
@kaihendry
Wonder if this getwidgetimage API Jeff mentions is available ? https://youtu.be/k85zzSRZLoc?t=117 @jasdel
Kai Hendry
@kaihendry
@jasdel MetricWidget needs better examples / documentation
or rather it needs modelling / typing
Kai Hendry
@kaihendry
Kai Hendry
@kaihendry
fifarafa
@fifarafa
Hi, is v2 safe to use in production? When the Preview stage will finish?
Alwin Doss
@alwindoss
If I understand the time line correctly v1 of the SDK was in developer preview for just a couple of months. V2 has been in developer preview for almost a year now. It would help if we know the timeline when this would be production ready.
Pawel Lekki
@lekki
Hello guys, is it possible that v2 is significantly slower than v1. After upgrading to v2 calling dynamodb.GetItem by PK is no longer single digit ms. We're seeing at least 20ms performance degradation.
George Bolo
@gbolo
hey all
given an Instance struct, how do i determine the amount of memory it has? Do i need to maintain my own mapping of instanceType and memorySize?
I am able to determine core count with the CpuOptions attribute in this struct. But seems like there nothing for memory
golangengineer
@golangengineer
hey all, glad to discover the room
newbie question here: is there a main 'Go' or 'Golang' room, I can join for non-AWS-sdk questions?
Kai Hendry
@kaihendry
@jasdel wrt to the S3 API, should we be using s3manager to upload files as a rule?
Jason Del Ponte
@jasdel
@kaihendry correct, in general the S3manager will provide a better experience and retry capability that the S3 API's directly.
Kai Hendry
@kaihendry
@jasdel thanks, I'll try use pointer receivers more then aws/aws-sdk-go-v2#263
Andrew Huang
@kahuang
Anyone having issues with connection churn when talking to AWS services (even though the various http client KA parameters are set correctly, including MaxConnsPerHost)? We're doing 1000s of requests per second, and churning connections, eventually leading to ephemeral port exhaustion. Digging into why the stdlib httpclient is closing the connection is because the connection never got an EOF, even though we got a full response and no error back from the API call.
FLavalliere
@FLavalliere
Hello, I am doing an AppSync project and I wanted to access the Context.Identity ... is there a defined Struct ? or should i simply map it to a map[string] interface{} ?
crdil
@crdil
anyone know if can use aws lambda to create a proxy (without the apigateway, just a lambda function)?
bee-keeper
@bee-keeper
Hello, could anyone kindly point me to the v2 api reference for the aws sdk, ie v2 of this - https://docs.aws.amazon.com/sdk-for-go/api/
Kai Hendry
@kaihendry
@bee-keeper something like https://godoc.org/github.com/aws/aws-sdk-go-v2 ?
vdharmap
@vdharmap
hi I am using elbv2 and trying to list classic elbs and its not working. Is there a way to list elbs with elbv2 using aws-sdk-go-v2 ?. Please let me know
Kai Hendry
@kaihendry
@jasdel how best to allow users to toggle AWS_PROFILE? https://github.com/unee-t/5xx
Topher Sterling
@pearsontophergopher
Could we get a link to the Go docs (https://godoc.org/github.com/aws/aws-sdk-go-v2 ) added to the GitHub README for aws-sdk-v2?
Topher Sterling
@pearsontophergopher
The search results from google don't bring it up
And you can only find the v1 docs on the AWS website
pete911
@pete911
Hi, I'd like to create PR regarding issue 227 - aws/aws-sdk-go-v2#227
but all of the services are autogenerated (it says do not edit)
ok, looks like it is models/apis/...
pete911
@pete911
are you guys planning on changing this codegen style? it doesn't seem to be very flexible ...
Nick Brandaleone
@nbrandaleone
Question. Is there an idiomatic way in the Go v2 SDK, to enumerate all regions? I wish to iterate through various resources in all regions, and I am curious if things have changed between v1/v2 in terms of process.
Kai Hendry
@kaihendry
@nbrandaleone i go through the regions here: https://github.com/kaihendry/goserverless.sg/blob/master/main.go
Robert Christ
@delbaeth
Hello. I am getting a "ThrottlingException" when doing a dynamodb PutItemRequest.Send(). I believe this is because my pay per request table is being resized automatically. My problem is I don't see a ThrottlingException defined in the service/dynamodb/errors.go file. I see it defined for many other services. I could just use one of the constants defined for another service since it is just a string but I am wondering if I am "doing it wrong" somehow.
Jason Del Ponte
@jasdel
@delbaeth you're correct. The model for the DynamoDB API does not include references to the ThrottlingException. I can forward this to the DynamoDB team, to see if they can update the model
udhos
@udhos
guys, how can i encode a configservice.ConfigurationItem into a map[string]interface{} while using the tag locationName: to assign correct keys
Søren Dalby Larsen
@sdlarsen
Hi. Do I need to do anything in the config to make use of an s3 endpoint in a VPC. And if so, what?
Thomas Symborski
@zsiec
apologies if I'm missing something obvious, I've just started using the new SDK to manage MediaConvert. The first request I'm making (ListJobs) seems result in a nil deref exception because the HTTPResponse has not been set, further investigation shows the list of handlers for the Send action is empty, is this a misconfiguration on my part?
Thomas Symborski
@zsiec
example code for the above:
    ctx := context.Background()

    client := mediaconvert.New(aws.Config{
        Region: "filtered",
        Credentials: &aws.SafeCredentialsProvider{
            RetrieveFn: func() (aws.Credentials, error) {
                return aws.Credentials{
                    AccessKeyID:     "filtered",
                    SecretAccessKey: "filtered",
                }, nil
            },
        },
        EndpointResolver: &aws.ResolveWithEndpoint{
            URL: "filtered",
        },
    })

    resp, err := client.ListJobsRequest(nil).Send(ctx)
    spew.Dump(resp, err)
Thomas Symborski
@zsiec
after some more exploration, if I set the config using cfg, err := external.LoadDefaultAWSConfig() and then change the bits that I don't want pulled from the env, things seem to work
another anecdotal thing, if you have a trailing slash in your endpoint, the APIs fail with a non-obvious 403 error
newbage
@zyin
Is there any schedule about V2 release?
I mean when it will be production ready.
Erik Swanson
@eriksw
Anyone have any ideas re this? (Affects the README.md example, aws cli and v1 sdk are OK), the completely empty "caused by" is confusing:
panic: failed to describe table, EC2RoleRequestError: no EC2 instance role found
caused by: EC2MetadataError: failed to make Client request
caused by:

goroutine 1 [running]:
What is really making no sense is that I get no output even from adding cfg.LogLevel = aws.LogDebugWithHTTPBodybefore the dynamo stuff.
Erik Swanson
@eriksw
Roberto Guerra
@uris77
How do you mock the Send function for kinesis in v2? I'm experimenting with using kinesisiface as recommended here https://github.com/aws/aws-sdk-go-v2/blob/master/service/kinesis/kinesisiface/interface.go ; but one thing that isn't provided in that interface is the Send function for a PutRequestRecord.
Roberto Guerra
@uris77
How does one create a Config? I thought that a CredentialsProvider would be automatically created based on the AWS_PROFILE and the credentials file….. but that isn’t happening for me. It panics because the CredentialsProvider is nil.
Bobby R. Ward
@bobbyrward
Does aws-sdk-go-v2 support credentials through the AWS_ROLE_ARN/AWS_WEB_IDENTITY_TOKEN_FILE env vars? It doesn't look like it but I'm new to go and want to verify.