Vendor aws-sdk-go (dep ensure) (#178)
This commit is contained in:
22
vendor/github.com/aws/aws-sdk-go/service/kinesis/customizations.go
generated
vendored
Normal file
22
vendor/github.com/aws/aws-sdk-go/service/kinesis/customizations.go
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
package kinesis
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
)
|
||||
|
||||
var readDuration = 5 * time.Second
|
||||
|
||||
func init() {
|
||||
ops := []string{
|
||||
opGetRecords,
|
||||
}
|
||||
initRequest = func(r *request.Request) {
|
||||
for _, operation := range ops {
|
||||
if r.Operation.Name == operation {
|
||||
r.ApplyOptions(request.WithResponseReadTimeout(readDuration))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user