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:
parent
21383877df
commit
6427029c4e
4902 changed files with 1443417 additions and 227283 deletions
6
vendor/github.com/aws/aws-sdk-go/service/iot/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/iot/service.go
generated
vendored
|
@ -45,14 +45,14 @@ const (
|
|||
// svc := iot.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoT {
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
if c.SigningNameDerived || len(c.SigningName) == 0 {
|
||||
c.SigningName = "execute-api"
|
||||
}
|
||||
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) *IoT {
|
||||
if len(signingName) == 0 {
|
||||
signingName = "execute-api"
|
||||
}
|
||||
svc := &IoT{
|
||||
Client: client.New(
|
||||
cfg,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue