mirror of
https://github.com/rclone/rclone.git
synced 2025-12-20 02:03:17 +00:00
vendor: update all dependencies
* Update all dependencies * Remove all `[[constraint]]` from Gopkg.toml * Add in the minimum number of `[[override]]` to build * Remove go get of github.com/inconshreveable/mousetrap as it is vendored * Update docs with new policy on constraints
This commit is contained in:
6
vendor/github.com/aws/aws-sdk-go/service/dynamodbstreams/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/dynamodbstreams/service.go
generated
vendored
@@ -45,14 +45,14 @@ const (
|
||||
// svc := dynamodbstreams.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *DynamoDBStreams {
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
if c.SigningNameDerived || len(c.SigningName) == 0 {
|
||||
c.SigningName = "dynamodb"
|
||||
}
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
// newClient creates, initializes and returns a new service client instance.
|
||||
func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *DynamoDBStreams {
|
||||
if len(signingName) == 0 {
|
||||
signingName = "dynamodb"
|
||||
}
|
||||
svc := &DynamoDBStreams{
|
||||
Client: client.New(
|
||||
cfg,
|
||||
|
||||
Reference in New Issue
Block a user