Upgrade AWS SDK to the latest version

This commit is contained in:
Andrey Smirnov
2017-09-28 17:57:05 +03:00
parent 9a767b7631
commit 182c21e38c
1096 changed files with 309697 additions and 132612 deletions
+8 -3
View File
@@ -1,4 +1,4 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package elastictranscoder
@@ -11,7 +11,7 @@ import (
// WaitUntilJobComplete uses the Amazon Elastic Transcoder API operation
// ReadJob to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// If the condition is not met within the max attempt window, an error will
// be returned.
func (c *ElasticTranscoder) WaitUntilJobComplete(input *ReadJobInput) error {
return c.WaitUntilJobCompleteWithContext(aws.BackgroundContext(), input)
@@ -49,7 +49,12 @@ func (c *ElasticTranscoder) WaitUntilJobCompleteWithContext(ctx aws.Context, inp
},
Logger: c.Config.Logger,
NewRequest: func(opts []request.Option) (*request.Request, error) {
req, _ := c.ReadJobRequest(input)
var inCpy *ReadJobInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ReadJobRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil