~ubuntu-branches/debian/stretch/golang-github-aws-aws-sdk-go/stretch

« back to all changes in this revision

Viewing changes to service/cognitoidentity/customizations.go

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2015-09-29 12:34:07 UTC
  • Revision ID: package-import@ubuntu.com-20150929123407-7xmll3gdhvb9zh2l
Tags: upstream-0.9.9+dfsg
ImportĀ upstreamĀ versionĀ 0.9.9+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package cognitoidentity
 
2
 
 
3
import "github.com/aws/aws-sdk-go/aws/request"
 
4
 
 
5
func init() {
 
6
        initRequest = func(r *request.Request) {
 
7
                switch r.Operation.Name {
 
8
                case opGetOpenIdToken, opGetId, opGetCredentialsForIdentity:
 
9
                        r.Handlers.Sign.Clear() // these operations are unsigned
 
10
                }
 
11
        }
 
12
}