(cloudwatch) update aws-sdk-go to v1.5.8 (#6658)

* (cloudwatch) upgrade aws-sdk-go v1.5.8

* (cloudwatch) remove non-required aws-sdk-go part

* add go-ini
This commit is contained in:
Mitsuhiro Tanda
2016-11-22 13:38:11 +01:00
committed by Torkel Ödegaard
parent 50811c80ea
commit 51f80affe3
1008 changed files with 32404 additions and 766084 deletions
@@ -1,3 +1,5 @@
// +build codegen
package main
import (
+10 -2
View File
@@ -1,3 +1,5 @@
// +build codegen
// Command aws-gen-gocli parses a JSON description of an AWS API and generates a
// Go file containing a client for the API.
//
@@ -220,10 +222,16 @@ func writeServiceFile(g *generateInfo) error {
// writeInterfaceFile writes out the service interface file.
func writeInterfaceFile(g *generateInfo) error {
const pkgDoc = `
// Package %s provides an interface to enable mocking the %s service client
// for testing your code.
//
// It is important to note that this interface will have breaking changes
// when the service model is updated and adds new API operations, paginators,
// and waiters.`
return writeGoFile(filepath.Join(g.PackageDir, g.API.InterfacePackageName(), "interface.go"),
codeLayout,
fmt.Sprintf("\n// Package %s provides an interface for the %s.",
g.API.InterfacePackageName(), g.API.Metadata.ServiceFullName),
fmt.Sprintf(pkgDoc, g.API.InterfacePackageName(), g.API.Metadata.ServiceFullName),
g.API.InterfacePackageName(),
g.API.InterfaceGoCode(),
)
@@ -1,3 +1,5 @@
// +build codegen
// Command aws-gen-goendpoints parses a JSON description of the AWS endpoint
// discovery logic and generates a Go file which returns an endpoint.
//